How do I freeze game / shift layot / force "modal window"?

Get help using Construct 2

Post » Tue Sep 06, 2016 5:51 pm

Hello!

I am writting a platformer.

During the game I would like to "freeze" it (block controlls, stop all interatcions , possible hurts, etc.) and show something like a tutorial screen, or for instance, play a video, or display some modal text.

After user interaction with this modal window is finished I would like to "unfreeze" layout and let the player continue playing.


How could I do this? What are best practicies for it?

Thank you.
B
3
Posts: 7
Reputation: 189

Post » Tue Sep 06, 2016 6:18 pm

Try this method to stop/pause the game. :mrgreen:

how-do-i-stop-pause-a-layout-completely_t169084
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Tue Sep 06, 2016 6:21 pm

Thank you I'll try
B
3
Posts: 7
Reputation: 189

Post » Tue Sep 06, 2016 6:27 pm

You're welcome, Petr. :mrgreen:

I have just found good tutorials on pausing.

This one is about showing a menu after pausing..
https://www.scirra.com/tutorials/634/a- ... pause-menu

And.. this one is about an advanced pausing technique.
https://www.scirra.com/tutorials/646/ad ... me-pausing
B
11
S
6
G
15
Posts: 256
Reputation: 9,207


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, jatin1726, Username05 and 33 guests