Upgrades that increase in cost
jacobvibes
Member Posts: 2
Hi, i want to know how to make it so when i purchase an upgrade in my shop, it increases in price each time ?? i have the shop and upgrades working its just they stay the same price each time.
cheers
Comments
What sort of code setup does the shop and upgrades have at the moment?
that once pressed adds +10 points per second at a cost of 25 points, i need the initial cost to increase each purchase
http://tinypic.com/r/25qrepw/8
I recommend creating a new attribute. Make it "upgrade number". Have it be wrapped into the cost number. (attribute cookies > (Upgradenumber x 10)) for example, would make it cost 10 points for the first upgrade, if it starts at 1, 20 for the second, 30 for the third.