[How Do I] Flappy Bird template add high score?

0 favourites
  • 4 posts
From the Asset Store
Fruit Slicer Template & Quality fruit and slice graphics (capx,c3p,png,illustrator files)
  • Hello!

    Sorry for this noob post...<img src="smileys/smiley36.gif" border="0" align="middle" />

    I've recently moved from Game Salad to Construct 2 and don't regret the change! <img src="smileys/smiley10.gif" border="0" align="middle" />

    Just a quick question. I'm using the Flappy Bird template and I would like some help on how I would be able to add a "Best" score, just like on the old app Flappy Bird? Also how would I make it update to a new score once beaten?

    Thanks for taking the time to help/read!

    ~ Sam

  • Should be really simple - use the Webstorage object to save a local key, which contains the high score. Then, at the end of the game, just compare its value with the current high score, and if the current score is greater, update the local key's value.

    <font size="2">(If you're developing another, yet ANOTHER clone of that stupid game, i have no respect for you; we have enough of those already, be original, try thinking for yourself, goddamnit)</font>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks.

    And its only to get to grips with things not going to publish it, basically just to learn with.

  • It would be much better to learn by making a game that actually has some logic and features to it like the platformer examples. The flappy bird template really isn't going to teach you much that will be useful in making other games.

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