Score counter counting up question
SteelCloverGames
Member Posts: 18
So in my game I am creating I have a player jump off a ramp. When he hits the ramp how can I make it so the score counter starts counting up and when he lands it stops?
So basically having it the user gets a score based on how far he jumps.
Is this possible?
Thanks!
~R
So basically having it the user gets a score based on how far he jumps.
Is this possible?
Thanks!
~R
Comments
So when you hit the ramp, change that to TRUE.
When you land, change it back to FALSE.
Then have another actor, a "score controller" actor, that listens for that boolean getting switched.
Create a new actor, called scoreController, and place it in the Scene just out of view.
That Actor will have a Rule like this:
Rule
When game.pleaseStartCalculatingTheScore = TRUE
-----[increase the score]
Thank you for your help. I am trying this right now but getting confused since I am still new with working inside GameSalad.
Is there any way you could show me with screens or break it down more for me?
I am so grateful for your help.
Thanks!
How do I prevent that?