Problem with unpausing my game.
FPGames
Member Posts: 58
I'm creating a cannon game.The rule is this when touch is released shoot cannon ball, but when i unpause my game the cannon ball gets shoot with out doing nothing.i dont know what is the problem.
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
To pause is: When touch is released pause game.
To unpause is: When touch is released unpause game.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
To fix your problem, change the rule to When Touch is Released. If you can't use Touch, then you may have to build in a timer that changes a boolean value (e.g. game.CanShoot) after a brief time after the Unpause action in order to prevent unintentional firing (twss).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User