Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Ok I am making a cookie clicker clone where you have to click a computer and buy upgrades and I want to be that everytime you buy a upgrade its price increases by *3 and the price is a global value. So here is what I have on my system>add to value: | gpuupcost *3 | so I put that and at first it times it by 4 then its just random?? gpuupcost is the global value im trying to times. So if someone could help me that would be great.
You are adding 3 times the value to the value itself, so you get 4 times. Then 16, then 64... What you have to do is use "Set value".
Develop games in your browser. Powerful, performant & highly capable.
This is because you are using "add-to-value" which means
PRICE = PRICE + 3*PRICE
instead use "set value" and set it to 3*PRICE, that equates to
PRICE = 3*PRICE
Thanks rho your solution worked!