Hud is invisible after returning to the layout after Game Ov

Get help using Construct 2

Post » Tue Jun 23, 2015 2:59 am

Does anyone know why when my life bar empties completely and go to the game over screen to restart the stage it appears not full again? She is still there. It's working. But it is invisible whenever I return to the layout after use Go to Layout for Game Over and start the game again.

Image



Image


Two ways that I made.

Rodada is round of game.
B
11
S
2
Posts: 13
Reputation: 705

Post » Tue Jun 23, 2015 3:34 am

Try using "Reset Global Variables to Default" in your events before "Go to Layout"
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Tue Jun 23, 2015 8:43 am

Must reset global variables before restarting your game.
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535

Post » Tue Jun 23, 2015 9:57 am

Apparently you already use "Reset global variable".

It would be simpler for us if you posted the whole capx for us to investigate to see exactly how you set up things and what might be actually happening and interfering with the current width of your health bar.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Tue Jun 23, 2015 2:26 pm

Thank you guys! The problem has been resolved. But another appeared! I post the capx and explain the new issue! Better to create a new topic for it?
B
11
S
2
Posts: 13
Reputation: 705


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 35 guests