Scoreboard and fix a glitch

0 favourites
  • 6 posts
From the Asset Store
Tweakable and easy to use effects for your projects.
  • How do I make a scoreboard in-game? Like in the arcade Donkey Kong:

    <img src="http://www.flyingomelette.com/reviews/n64/screens/dkscores.jpg" border="0" />

    And how do I fix the following problem?

    <img src="http://img24.imageshack.us/img24/7651/capturemqw.jpg" border="0" />

    The sprite gets destroyed, but the points and health actions don't take place. I put the points and health actions before the destroy action and after the destroy action: both times, they didn't occur.

  • How are you checking to see if they update? If you are not refreshing a text box or something with the info, then it might not be showing an accurate number.

    High score is pretty easy. I have a tutorial on doing an arcade style one, you can build off of it to do a top 10 or something. In fact, I might just do a tutorial on a top 10 local high score table.

    Arcade Style High Scores

  • How are you checking to see if they update? If you are not refreshing a text box or something with the info, then it might not be showing an accurate number.

    High score is pretty easy. I have a tutorial on doing an arcade style one, you can build off of it to do a top 10 or something. In fact, I might just do a tutorial on a top 10 local high score table.

    Arcade Style High Scores

    Thanks for the tutorial!

    I have the score and health on the screen, but they don't change. The health goes down when the hero dies and I used the exact same score and health as in Athlete, so I don't know what's wrong.

  • Here's the capx: game example

  • Ok, you are setting your Text object to show the score on the Start of Layout. That only happens when the layout first starts. What you want to do is the add code to show the score in the text object either every tick, or when a score is updated.

    <img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/9143aba0-f601-4ea8-aa2a-7d2f4e532851/2013-05-20_1159.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, you are setting your Text object to show the score on the Start of Layout. That only happens when the layout first starts. What you want to do is the add code to show the score in the text object either every tick, or when a score is updated.

    <img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/9143aba0-f601-4ea8-aa2a-7d2f4e532851/2013-05-20_1159.png" border="0" />

    Thanks!

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