0 Favourites

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

  • 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

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • 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>

  • 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)
Similar Topics Posts Views Last Post
Unread hot topic
152 19,248
Magistross's avatar
Magistross
Unread hot topic
99 10,159
karshinkoff's avatar
karshinkoff
Unread hot topic
45 6,082
AndreasR's avatar
AndreasR