Forum Discussion

WandaJenkins's avatar
WandaJenkins
Community Member
10 years ago

Adding Points to Game

I am trying to add a certain amount of points to my game for the player to view as they go along.  I am not sure what I am doing wrong.  I set up the "Score" variable (as a number variable) and I am using triggers to connect adding point to the score based on how many points they used in the question.  However, the score doesn't update on the main game board page.

A side note, the "Play" button on the first slide keeps showing on the layer where the game instructions are, I'm not sure how I get this to stop showing up.  I have hide the base layer but it still shows up.

I have attached the file so you may see what I am seeing.

Thanks!!!

14 Replies

  • Two things.

    When I created the sample, I put it all on one slide, and the only way to change the values was to click the buttons. To save time, I set the actions on the other triggers to fire when those buttons changed Max. That won't work if you change Max on another slide. So what I suggest is to change all those triggers to fire when the slide starts.

    Then when I set the slide, I set it with an initial value of 1. So when you add 25 to it, it has a value of 26 and the slider moves, and the state changes only if it has a value of 25. You could write the conditions on the triggers to "between 25 and 50", but I just changed the initial value of the slider.

    Try this.