How to start to script a clicker / arm wrestling like simulator?

Hey Devfourm community!

I was wanting to make a game similar to Pull a Sword which is a similar game to Arm Wrestling Simulator But I was having a hard time starting it, such as how to create the multiplier system for calculating the amount of ‘Strength’ to give a player on click and displaying it to the player in a GUI like this:

image

I don’t necessary need scripts to make the whole game although I wouldn’t mind :grin:

But, I would love some help creating a road map to explain what I need to script, such as how I should approach scripting it. (just the bare necessities mechanics of the game)

TL;DR: I would like some help approaching how to make a game similar to Pull a Sword (If you could take a look at that game and provide me with a roadmap on how to create scripts similar to those in the game (just the bare necessities mechanics), I would really appreciate it.)

7 Likes
  1. Have a button
  2. Detect when the user clicks the button or when the user clicks their screen
  3. Add the value of strength they gain by setting the strength value to itself plus the added strength
  4. Play a punch animation
  5. Set the text above their head to their new strength
  6. Save the value of the strength when the leave the game
  7. Load the value of their strength when they rejoin

this would look something like this:

local punches = 0

button.MouseButton1Down:Connect(function()) 
   punches = punches + 1
end)

This game is too much for you if you need help with this information.

I suggest trying to practice on more simple projects such as a basic decision making game first. The goal of this isnt to make a full game but rather experiment what you can and cant do and learn to overcome more simple problems. it can give you a sense of motivation to see smaller projects be completed and give you valueable skills

4 Likes

Haha, thanks! Not really what I needed. Sorry, I see now that “bare necessities mechanics” was a bit too broad. What I mean is how to set up the progression of the game, like upgrades (pets, click upgrades, rebirths), and how to script them to all add up into the click multiplier.

3 Likes

How do you expect the forum to tell you how to code a whole game

3 Likes

We can only give you guidance on specific code issues like bugs. This category is not meant for us to teach you fundamentals of scriptings.

1 Like

They aren’t expecting the forum to create a whole game. It just says they wanna know how to START creating the game.

That’s pretty damn unreasonable of someone to request for. Especially for someone (the OP) who has been on the forum for 2-3 years.

2 Likes

I’ve been trying to make a simple simulator for a while but really don’t know how to start.

1 Like

Please reread my original post, I would like help approaching how to start the progression of the game

1 Like

I recommend that you go back to the basics and try for more simple projects. Simulators are not “simple” to make. Simulators are quite complex games for beginner scripters. I recommend games such as a basic button clicker game (that spawns random buttons you click for points)

You can start off such a game by

  1. Spawning buttons around
  2. Detecting when they are clicked by the player
  3. Give the player +1 cash

once you have that you should have learned some essential fundamentals. Please note that if you just create more posts asking how to make entire script systems is called spoon feeding and you wont learn from that.

1 Like

Thank you, but I already know how to do this; it’s mainly the progression aspect of a simulator that I’m having trouble with.

1 Like

Scripting is a lot simplier than you think. There is no “progression coding.” All you are coding is creating shops and currencies. The progression is a result of those shops and currencies

2 Likes

First of all you need a currency, that’s what you’ll be basing this all off.

Next, think about other types of aspects you want your game to have like pets, items, potions, etc. Try to keep it balanced, especially if you’re gonna have paid ones.

Now you need a way to get the currency, remember to have the items and pets and stuff all (or most) contribute towards getting the currency.


NOT NEEDED
Maybe you could create a tutorial system that is entertaining and engaging for the player and actually helps them learn the mechanics of your game


You mentioned that you wanted a rebirth system, make sure to have many great perks (obviously)

Add stuff to make the player wanna come back like leaderboards, daily rewards, and a whole bunch of other stuff.

There’s already so many simulators out there (most are cash grabs), so try to be really unique and fun!

1 Like

Thanks this is exactly what I needed!

2 Likes

Wish I could add more and assist you with the “Pull a Sword” game. But I’m ngl I’m not good with all the math and multipliers and stuff.

Good luck and hope to see your game on the front page soon!!

2 Likes

Yeah that’s going to be the trick part fs! but thanks for the basics. :grinning:
Have a good night mate!!

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.