Create a local number

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hello again probably another obvious question to answer.

    I am currently working through the tutorial on adding leaderboards to a game.

    scirra.com/tutorials/259/easily-add-leaderboards-to-your-game/page-2

    On this page, it says:

    First we update the player score text using the 'Score' variable. We can access it because it is global (shared across all event sheets).

    Followed by a for loop, to go from row 2 to the last one and create the text fields along the way. The row variable is very important to set because we will use it again later to know which row should show which score.

    ---

    I have done the score text, but can anyone give me more information on how to setup for the for loop. Also in the image below this it shows the creation of a 'local number' I know how to setup a global number on the event sheet but I cant seem to find any information on this tutoiral or other tutorials on how to create the local number.

    Any tips and answers to this would be greatly appreciated.

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • local variable are either global variable you nest under an event (drag&drop under an event and slightly to the right so it gets nested)

    or

    something you can create by right clicking on a nested event.

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