Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Ok so I followed a tutorial to make health bar. The health bar is working and goes down when the player gets hit.
I also made it so that when its 0 or bellow it will go to the "Game over" screen, but for some resason it does switch to the "Game over" screen. Please help. Here is a picture of the events. I just crossed over the health bar parts to make it easier to see.
Event 3 you're using 'healt'
Event 5 you're using 'health'
Seeing the Sprite attributes may help, but I'm assuming you have an instance variable called Health, and you mistyped it in event 3.
You are subtracting from Sprite.Healt, not Sprite5.Health
Develop games in your browser. Powerful, performant & highly capable.
Ohhh ok thank you so much!