GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Need advice with random scoring.

Hi. I'm making a game where the player runs a store, with the customers coming in and buying products. I made it so that the item the customer buys is random, selected from a table. But I can't seem to figure out how to make the game add the price of the item to the players money attribute. Is there a tutorial or an already answered question about this kind of thing? Tried to look but couldn't find one, I might have missed it. Thanks in advance for help.

Comments

Sign In or Register to comment.