How do I have a popup dialog ?

Get help using Construct 2

Post » Sun Jun 28, 2015 10:55 am

Hi,

I have been experimenting with a method whereby my platformer collects points e.g 5,10, 15.
At each juncture, I am trying to popup with a message box and player just need to click on a ök button(sprite) to close and resume game.

It goes something like this
System - Score -5 - set time scale to 0
-create MessageBox(Sprite)
-create Messagetext
-create Ok(sprite)

Touch - On Touched - OK(sprite)
System-Global Variable - Life =1
- -->Ok -X is IsTouched(boolean) - Set Ok - IsTouched to True
- Set timescale to 1.0

System-Else -Set Ok - IsTouched to False
- Set timescale to 1.0

It only works for the first click. The next time it popups, when I click on OK, it doesnt work the same way first time.

Perhaps someone can let me know if there is a post here that I can refer to.

Thanks.
B
10
S
3
G
1
Posts: 19
Reputation: 761

Return to How do I....?

Who is online

Users browsing this forum: StefanN and 29 guests