- [NEW] Sucubo acabat i funcionant
This commit is contained in:
@@ -138,11 +138,26 @@ function me.create(type, options)
|
||||
surf = surf.load("gfx/sucubo.gif"),
|
||||
animation = "sucubo_stand",
|
||||
state = me.ALIVE,
|
||||
timer = 0,
|
||||
timer = tonumber(value),
|
||||
enemy = true,
|
||||
room = options.room,
|
||||
ia = ia.update_sucubo
|
||||
}
|
||||
elseif key == "palo" then
|
||||
sprite = {
|
||||
type = key,
|
||||
pos = options.pos,--{ x=100, y=4*12*8+71 },
|
||||
size = { w=16,h=6 },
|
||||
bbo = { left=0, top=0, right=0, bottom=0 },
|
||||
current_frame = 1,
|
||||
current_wait = 1,
|
||||
flipped = options.flipped,
|
||||
surf = surf.load("gfx/misc.gif"),
|
||||
animation = "palo",
|
||||
dy = -4,
|
||||
ay = 1,
|
||||
ia = ia.update_palo
|
||||
}
|
||||
else
|
||||
error("Template not recognized")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user