diff options
author | Jorge Lopez Seijas <jorginho@riseup.net> | 2016-12-18 23:55:14 +0100 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-18 20:53:59 -0300 |
commit | 29e052df9144fc9ad53587fda2ee1ca647959c40 (patch) | |
tree | 5bec217381070230f6f75609502918803df5f76e /src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua | |
parent | 1fec91efeda5f1d3729444be08db31a275e6bc2e (diff) |
Add jump and fall meta sprites, fix some issues, comment update.motion code and add prints for debugging
Diffstat (limited to 'src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua')
-rw-r--r-- | src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua b/src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua index fd7e8d0..efa1962 100644 --- a/src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua +++ b/src/gnu_and_bola_brawlers/meta_sprites/bola/jump.lua @@ -1,10 +1,15 @@ --[[ Collection of sprites and parameters to perform the jump movement ]]-- return { + love.graphics.newQuad(images.bola.x * 5, images.bola.y * 1, images.bola.x, images.bola.y, images.bola[1]:getDimensions()), + love.graphics.newQuad(images.bola.x * 6, images.bola.y * 1, images.bola.x, images.bola.y, images.bola[1]:getDimensions()), + love.graphics.newQuad(images.bola.x * 7, images.bola.y * 1, images.bola.x, images.bola.y, images.bola[1]:getDimensions()), + love.graphics.newQuad(images.bola.x * 8, images.bola.y * 1, images.bola.x, images.bola.y, images.bola[1]:getDimensions()), + love.graphics.newQuad(images.bola.x * 9, images.bola.y * 1, images.bola.x, images.bola.y, images.bola[1]:getDimensions()), 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 = 1, + fps = 9, height = -250, velocity = 0, ground = windowProfile.mode.height / 2, |