#clicker upgrade
39 messages · Page 1 of 1 (latest)
The easiest way of doing this would be to save the number of times you have bought the upgrade and use that in the calculation like X(times bought) X+1*100 would be it going up by 100 every time you buy it.
I do not understand those scary words
How much does it go up by?
I have no idea . Just like an amount
Multiply it or add?
I think a low amount of multiplication
Create a variable variable>multiply{value you want}>variable
Could you explain like you are talking to someone with 4 braincells?
Just place a variable and multiply chip
Then make a "loop"
Variable>multiply
Multiply>variable
What kind of variable
Float
Like this ?
Yes
I just started putting stuff in random places and now it goes up when I press the button 👍
@safe shuttle I'm now having trouble that whenever a new person joins the room their upgrade price will be 0
Use an event receiver set to when a player joins, and if their float Var is equal to 0 set it to whatever the base price is.
Alright I will try figure that out
Configure home value
You can configure the variable
It is a cloud variable though it doesn't let me change the value
How do I check if it is set to 0
an equals chip
I thought that might be involved but I don't understand what to do with it
wire the blue output of the Float Variable to the first input of the equals, then wire the output of the equals to an if chip
I have done it
How do I make it so that it adds the price if it equals 0 I never use int variables or anything cloud data and stuff so sorry if I'm stupid
wire the orange output of the if (the one that says "then") to the orange input of the Float Variable
and the orange output of an event receiver set to player joined to the input of the if
I've got thus
Do I configure the blue input on the variable to what I want the default price to be ?
yeah
Alright I'm gonna see if it works thanks lots for the help
If you want a full shop system here you go, this is kind of messy cuz I made it in two minutes.
Thanks:] my brain is just currently dying I don't know what's happened but it was working before and now it isn't and I've realised I'm using int variables and cloud variables but it was working and I don't even know
happens to us all 😔
Went back to an earlier save and now everything is fine . Circuits scare me