Changing Attributes
haytr01
Member Posts: 1
Still working on my card game. Stuck again. Initially I have 5 actor cards spawned with a timer so 5 cards are dealt out. What I want is, after the 5 cards are dealt, I want to touch the deal deck and have only one card spawned at a time. What keeps on happening, is no matter what...5 cards spawn every time I touch the deal deck. Any help would be greatly appreciated.
I would have thought, after the 5 cards are dealt, change attribute to something like: game.cardsdealt to true, then if game.cardsdealt is true spawn the 6th card. Just does not work. Thanx.
Comments
Hard to give an answer without seeing how you've set up your logic. Can you post a picture and or description on how you've set it up?
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
http://s857.photobucket.com/user/designdesigns/media/scrn2.png.html
This image shows the card revealed moving to a new location.
http://s857.photobucket.com/user/designdesigns/media/scrn1.png.html
This image is the deck, when pressed I have 5 cards are spawned, e.g spawn actor card1, timer after 0.5, spawn actor card2, timer after 1.0 spawn actor card 3 etc. Every card is a random card from the 52 card deck.
Sorry, I do know this may be hard to interpret, Thank you.