-[NEW] Rata acabada

This commit is contained in:
2026-03-22 10:24:13 +01:00
parent c02c086af3
commit d5c0dfddeb
8 changed files with 55 additions and 0 deletions

View File

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