summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua
blob: 8543cf5329c117391cc00baf1c1e2ebbdf816fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--[[ Collection of sprites and parameters to perform the jump movement ]]--

return {
  love.graphics.newQuad(images.bola.x * 5, images.bola.y * 2, images.bola.x, images.bola.y, images.bola[1]:getDimensions()),
  currentFrame    = 1,
  elapsedTime     = 0,
  fps             = 9,
  height          = -250,
  velocity        = 0,
  ground          = windowProfile.mode.height / 2,
  higher          = 0.15,
  higherMax       = 0.15,
  limitButtonJump = false,
  isJumping       = false,
}