diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-28 10:35:13 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-28 10:35:13 +0800 |
| commit | f451423f5c6a89fd0d038cb1b528d7f58d82cc74 (patch) | |
| tree | 9fc9fed66c65eddfe280bb84516288e8ba794e58 /data/enemyData.lua | |
| parent | 96416c0302c134dcad9c865810ee0f73607d0596 (diff) | |
feat: enemy walking animation
Diffstat (limited to 'data/enemyData.lua')
| -rw-r--r-- | data/enemyData.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/enemyData.lua b/data/enemyData.lua index 60d781e..3d9be6f 100644 --- a/data/enemyData.lua +++ b/data/enemyData.lua @@ -8,6 +8,7 @@ enemyData = { type = "spritesheet", name = "lancer", sheet = { row = 2, col = 8, width = 32, height = 32 }, + totalFrames = 2, frames = { [Direction.LEFT] = { 5, 6 }, [Direction.RIGHT] = { 3, 4 }, @@ -29,6 +30,7 @@ enemyData = { type = "spritesheet", name = "spiger", sheet = { row = 4, col = 6, width = 32, height = 32 }, + totalFrames = 6, frames = { [Direction.LEFT] = { 19, 20, 21, 22, 23, 24 }, [Direction.RIGHT] = { 13, 14, 15, 16, 17, 18 }, |
