System -> compare two values -> health ≥ 3
Set Health to 3
yup, I've successfully done it but now the pop up won't disappear. ahaha
You should make a button or something so that the player can close the pop up. And for that just make the layer invisible.
Is this a multiplayer game?
Do you mind sending a screenshot of your events?
Actually its my fault. I had a system to load and save the game, and it would load from a save at start of layout. Which means anything that I did in the editor would be overwritten when I open the project. Whoops lol
To check if the player has lost all their lives, use a variable and subtract 1 when the player loses a life. Then if that variable ever equals 0, then you can do the pop up.
As for actually making it pop up, you should use the tween behavior.
Hello, I am using a tilemap and it works fine in the editor but not when I preview the project.
In editor:
In preview:
Im not sure what I did to cause this, how do I fix it.
Develop games in your browser. Powerful, performant & highly capable.
I found the solution here -> https://www.construct.net/en/forum/construct-2/how-do-i-18/create-top-highscore-list-123710
And this is the capx -> https://www.dropbox.com/s/04p6xrlnn57owox/scoretable.capx?dl=0
1. What does the player do that is supposed to end the level?
2. Are the levels in one layout or are they across multiple layouts, or both?
sorry bothering again, but I searched for that "viewport" but I didn't find it ;-;
Very cool
You can do Add action -> System -> compare two values -> mouse.X > viewport.width/2. Then do it again with this mouse.X < viewport.width/2.
Member since 16 Jun, 2018