How to make a shop

blorschblorsch Member Posts: 248
edited April 2012 in Working with GS (Mac)
I've been wondering how to make a shop in my game. Any help? :bz >:)

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256


    To sum it up when you buy something in the shop youll want to change the currency attribute to currency-however much the item costs. Also youll only want to be able to do that if currency is equal to or greater then the amount the item costs so you cant buy it if you dont have enough. That will be a condition in your touch is pressed rule on the item or whatever other rule you have to trigger the buy. Then change the attribute that contains that item to attribute+1 so it adds one of the item to the inventory.
Sign In or Register to comment.