summaryrefslogtreecommitdiffhomepage
path: root/animations.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-01-20 12:09:54 +0100
committerAki <nthirtyone@gmail.com>2017-01-20 12:09:54 +0100
commitcc48afb0a20d01c8f4098c195239f2ca51fac495 (patch)
tree7e25fda63b89ebb99e0947682bfbccc67550e211 /animations.lua
parente0da0e869c5f0639b792c1e435b773393126ec02 (diff)
downloadroflnauts-cc48afb0a20d01c8f4098c195239f2ca51fac495.zip
roflnauts-cc48afb0a20d01c8f4098c195239f2ca51fac495.tar.gz
roflnauts-cc48afb0a20d01c8f4098c195239f2ca51fac495.tar.bz2
Animated class changes.
Diffstat (limited to 'animations.lua')
-rw-r--r--animations.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/animations.lua b/animations.lua
index 58c4b88..881da49 100644
--- a/animations.lua
+++ b/animations.lua
@@ -1,8 +1,8 @@
-- 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
+-- From the left: default (walk0), walk1, walk2, walk3, attack0, attack1, attack3, attack_up0, attack_up1, attack_up2, attack_down0, attack_down1, attack_down2, damage0, damage1
local animations = {
- idle = {
+ default = {
[1] = love.graphics.newQuad( 1, 1, 24,24, 376,26),
frames = 1,
repeated = true