Skip to content

Commit

Permalink
Update game.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kubowania authored Jul 7, 2021
1 parent 26aca5b commit 00993c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ kaboom({
clearColor: [0, 0, 0, 1],
})

// Speed identifiers
const MOVE_SPEED = 120
const JUMP_FORCE = 360
const BIG_JUMP_FORCE = 550
let CURRENT_JUMP_FORCE = JUMP_FORCE
const FALL_DEATH = 400
const ENEMY_SPEED = 20

// Game logic

let isJumping = true

loadRoot('https://i.imgur.com/')
Expand Down

0 comments on commit 00993c3

Please sign in to comment.