This commit is contained in:
Evert Prants 2019-11-29 19:50:38 +02:00
parent a9ab775de7
commit 25455273ed
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -9,7 +9,7 @@ const GameHeight = 720
let playing = true let playing = true
let player = new Player(GameWidth / 2 - 30, 25, GameHeight - 80) let player = new Player(GameWidth / 2 - 30, 25, GameHeight - 80)
let game = new Game(10, player, player.h + 60, GameWidth, GameHeight) let game = new Game(60, player, player.h + 60, GameWidth, GameHeight)
// Retranslate score function // Retranslate score function
player.score = function (obj) { player.score = function (obj) {