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
Game development stories & opinions
Ok so im making a platform game... i want a counter to show the player how many times they died... ( as the play) how can i accomplish this
Develop games in your browser. Powerful, performant & highly capable.
Well, for each time the player dies, you can add 1 to a global variable (deaths, in this case). Then put in a textbox that says something like "Deaths: " & deaths (whatever the global variable's name is).
Idk how to display variables... can you show me an example?
Make a "Text" object. Then in the event sheet it's just:
->Text Object: Set text to "Deaths: " & VariableName
The process is described on page 6-7 of the Beginner's guide to Construct 2 tutorial.
Have you looked at my Building a platform game - a beginner's guide? It shows you how to use global variables to keep and display scores.