pause screen
gatrif
Member Posts: 60
hi , in my game i want when press** (pause button) ** go to (pause screen ) , and in (pause screen 2 button )
1 - Unpause
2 - reset scene
,i add code unpause screen to button reset scene
but when press reset scene it repeat pause screen
can (reset scene ) from pause screen ?
Comments
In an actor on your pause scene:
When touch is pressed
Change attribute game.reset to true
Unpause Game
In an actor on your initial scene
When attribute game.reset is true
Reset Scene
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Keep in mind that resetting a scene does NOT reset game attribute values. So for things like game.reset and other game attributes, you need to manually set their values back to what they started at after you reset the scene.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang I did that but it's repeat scene and pause screen and unpause** Endless **
Try this. Click the spinning actor to pause. Click anywhere to unpause.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang it just unpause** not reset** , my game platformer , and reset scene must reset life ,coins , etc ... your examle just unpause , thank u very much by the way
@tatiang I chnaged timer to** (run to completion)**
and moved timer up
and another rule (game.reset) to down >:)
and now it work!!
thank you very very much bro
You're welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User