From 0609596fe52ebd652131a39b3e71ef2409c94345 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 6 Mar 2025 11:12:07 +0800 Subject: feat: replace enemy "fairy" with new sprite "citrus-litulon" --- data/enemyData.lua | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'data/enemyData.lua') diff --git a/data/enemyData.lua b/data/enemyData.lua index e189b2c..dba10cc 100644 --- a/data/enemyData.lua +++ b/data/enemyData.lua @@ -67,14 +67,23 @@ local enemyData = { }, movePattern = "vertical", }, - fairy = { - size = 8, + citrusLitulon = { + size = 16, + zoom = 1/16, speed = 60, health = 50, - appearance = { - color = { 251/255, 243/255, 185/255 } - } - , + sprite = { + type = "spritesheet", + name = "citrus-litulon", + sheet = { row = 4, col = 4 }, + totalFrames = 4, + frames = { + [Direction.RIGHT] = { 1, 2, 3, 4 }, + [Direction.DOWN] = { 5, 6, 7, 8 }, + [Direction.LEFT] = { 9, 10, 11, 12 }, + [Direction.UP] = { 13, 14, 15, 16 } + }, + }, drops = { { type = "yellowheart", amount = 2, chances = 1 }, { type = "shinyheart", amount = 1, chances = 0.2 } -- cgit v1.2.3