On the Event sheet...Add Action > (Object) > Play Animation
Posted in wrong forum section but nice grappling hook mechanic :)
You could save the game silently to store the latest score value and then when you select 'Play Again' it loads the last score you had.
If 'Score' is a Global variable you can set up OnClicked'PlayAgain' > ResetGlobalVariables. Also something like OnStartOfLayout > Set Variable 'Score' = 0 could work.
In the event sheet it's the 'GoToLayout' action under System
Timers
Develop games in your browser. Powerful, performant & highly capable.
It isn't very clear what you want to happen. Yes the carts act independently, if you pin them together they will act as one train. What else do you want it to do?
For the player, just use collision (the sides are solid). For the red section I would create a sprite that covers the entire section and then have events for OnTouched(Red Sprite), where touching/clicking outside of the red sprite will do nothing.
1. How long is the animation? It might not be playing when you come to press X the second time. Link to a .capx and I can help.
2. Do you mean block the user from pressing X while the first animation is playing?
Did you try pinning them?
karlmahmen
This
What is the error?
Member since 5 Aug, 2013