Score Keeping Problem
(Please Help! I am going to launch my game soon)
Hi all, I just created this cannon-shooting game. To win the game you need to shoot the ball to the goal. Therefore I have included a score keeper to keep track on how many balls the cannon had shot and I limit the cannon balls to 50 only. The problem is, if I clicked on a pause button or reset button or any other buttons, it will add in 1 more cannon ball to the score keeper. This is not correct, because I did not shoot the cannon ball.
Please help me, and how can I solve this problem.
Hi all, I just created this cannon-shooting game. To win the game you need to shoot the ball to the goal. Therefore I have included a score keeper to keep track on how many balls the cannon had shot and I limit the cannon balls to 50 only. The problem is, if I clicked on a pause button or reset button or any other buttons, it will add in 1 more cannon ball to the score keeper. This is not correct, because I did not shoot the cannon ball.
Please help me, and how can I solve this problem.
Comments
What are the rules that define the score and save score?
----------
"Honey Tribe is not only a remarkably endearing little game, but it's also incredibly addictive." Pocket Gamer
"...a touch above the rest in the endless running genre" 148apps.com
Say hi on Twitter
Like us on Facebook
www.HoneyTribeStudios.com
(- I have two cannon balls actually)
e.g
When self.color.alpha = 0
change attributeWin to true
Also what are the touch rules for your pause and reset buttons?
Reset Button: Rule> Touch is pressed> Reset Scene
Sorry I am just a newbie I don't know how to write it in that way
You must have told your cannon ball actor when to add +1 to the score.
So it will be:
When................. =................
Change game.IceScore to game.IceScore+1
What are the missing dots?
Perhaps adding the condition - When touch is Pressed & When touch is Inside.
This means that any touches outside of that actor will not effect the rules within that actor.
Hope this helps?? Though I am confused about the two balls?? Are there two cannons?
K