flappybat/endgui.js

8 lines
205 B
JavaScript

this.gui = function()
{
GUI.image("gameover.png", [50,400]);
GUI.text(`HIGH\n${game.save.high}`,[50,200],2);
GUI.text(`SCORE\n${game.score}`, [50,300],2);
GUI.text("Tap to restart", [50,100],2);
}