diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-03 19:43:19 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-03 19:43:19 -0300 |
commit | 245029aab7bee00eba5fab3bcbc6c7ea77bc2f06 (patch) | |
tree | db931905c44d7c29a3fecd0c2ad2002f23c9f169 /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua | |
parent | 61207011c466bc9cd7d4f275d6befabee1b75ae7 (diff) |
Keep the code more KISS - part 4
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua new file mode 100644 index 0000000..73782e9 --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/character/bola/jump.lua @@ -0,0 +1,14 @@ +return { + love.graphics.newQuad(metaSprites.bola.x * 5, metaSprites.bola.y * 2, metaSprites.bola.x, metaSprites.bola.y, metaSprites.bola.image:getDimensions()), + currentFrame = 1, + elapsedTime = 0, + fps = 9, + loop = false, + height = -250, + velocity = 0, + ground = windowProfile.mode.height / 2, + higher = 0.15, + higherMax = 0.15, + limitButtonJump = false, + isJumping = false, +} |