Upgrades that increase in cost

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

  • TosanuTosanu Member, PRO Posts: 388

    What sort of code setup does the shop and upgrades have at the moment?

  • jacobvibesjacobvibes Member Posts: 2

    that once pressed adds +10 points per second at a cost of 25 points, i need the initial cost to increase each purchase

  • TosanuTosanu Member, PRO Posts: 388

    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.

Sign In or Register to comment.