How do I store the score value?

0 favourites
  • 2 posts
From the Asset Store
Create the right kind of drama with Film Scoring Tools sound library!
  • ahhhhhh thats it, i want to store the value so i can display it on the "game over" screen (layout), like: "your score is: __"

    if u have any tips or perhaps other way to make this happen pls post them

    -thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Go to the layout view, double click on the screen and create a new Text, call it "Text_Score" for example.

    Then go to the event sheet and do a right click, select add new global variable. Call it "Score" for example, select type Number and initial value is 0.

    Right click again, select add new event. In the appearing popup window, select System -> Every tick. The event appears in the event layout. Next to it, there's add action. Click on it, select Text_Score, then select set Text. In the appearing small popup window enter the following:

    "Your score is: " &Score

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)