- [WIP] Implementant a Nemesio

This commit is contained in:
2026-03-13 13:16:11 +01:00
parent a987fb330a
commit c4da64aa1f
8 changed files with 67 additions and 0 deletions

View File

@@ -158,6 +158,23 @@ function me.create(type, options)
ay = 1,
ia = ia.update_palo
}
elseif key == "nemesio" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=16,h=16 },
bbo = { left=3, top=2, right=3, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/nemesio.gif"),
animation = "nemesio",
state = me.ALIVE,
timer = 0,
enemy = true,
room = options.room,
ia = ia.update_nemesio
}
else
error("Template not recognized")
end