Hello everyone, I have been racking my brain for days. I am creating a game where the player will click a button and randomly a card with a number from 1-10 will be shown. How do I add that card value to their score instantly when the card is shown. I am using 9 different sprites one for each card and I am declaring the card value for each sprite/card.
i am using :
system > card=1 > card > set animation frame to 0
System > cardvalue=1
system > card=2 > card > set animation frame to 1
System > cardvalue=2
etc.. for each card after it is randomly generated..
so far the value from the last card shown is added to the total when the button is clicked..it is not reflecting it right away
similar to blackjack. you know when the dealer gives you a card and you look at it you add that to your total.
any help would be great