-[NEW] Rata acabada
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user