|
-
May 15th, 2010, 08:41 PM
#1
Thread Starter
Hyperactive Member
Game - Float Points Away
I'm building a card game called 11-UP.
See the game here.
I've gotten to the point where I need to make scores show up when the selected cards have a sum of 11. For example, if the card is worth 200 points, then "200" should become visible for about a second and then "float away".
I know I can do this with a timer and the location property. I was thinking of creating an array of 22 timers, one for each card. When the selected cards have a sum of eleven, I enable the timers for each selected card. The timer makes the "score" for that card appear, then move up a few times, then vanish.
Does anyone have a better way to do it? Maybe with only one timer?
Also, how could I make the "scores" become more transparent as time advances? I'd like to make them not only float away, but also "disolve."
Anyone?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|