diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-13 12:54:22 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-13 12:54:22 +0200 |
commit | 6dc1dc3ace057e3f7ff63f56971fdb432734392b (patch) | |
tree | 4538ce7433191b8ab419426f3ca8d3e5c6864536 /animations.lua | |
parent | 612b102dac85d48f4cbbdc0762521128947ae56f (diff) | |
download | roflnauts-6dc1dc3ace057e3f7ff63f56971fdb432734392b.zip roflnauts-6dc1dc3ace057e3f7ff63f56971fdb432734392b.tar.gz roflnauts-6dc1dc3ace057e3f7ff63f56971fdb432734392b.tar.bz2 |
Animation tweaks
Diffstat (limited to 'animations.lua')
-rw-r--r-- | animations.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/animations.lua b/animations.lua index b7bcf3d..83ac5af 100644 --- a/animations.lua +++ b/animations.lua @@ -1,4 +1,6 @@ -- Animations spritesheet array for `Player` +-- Basic spritesheet size is 376x26. Each frame is 24x24 and has 1px border around it. +-- From the left: idle (walk0), walk1, walk2, walk3, attack0, attack1, attack3, attack_up0, attack_up1, attack_up2, attack_down0, attack_down1, attack_down2, damage0, damage1 local animations = { idle = { [1] = love.graphics.newQuad( 1, 1, 24,24, 376,26), |