- [NEW] Rat penat
This commit is contained in:
@@ -295,6 +295,22 @@ function me.create(type, options)
|
||||
room = options.room,
|
||||
ia = ia.update_dimoni
|
||||
}
|
||||
elseif key == "ratpenat" then
|
||||
sprite = {
|
||||
type = key,
|
||||
pos = options.pos,--{ x=100, y=4*12*8+71 },
|
||||
size = { w=8,h=8 },
|
||||
bbo = { left=1, top=1, right=1, bottom=1 },
|
||||
current_frame = 1,
|
||||
current_wait = 1,
|
||||
flipped = options.flipped,
|
||||
surf = surf.load("gfx/ratpenat.gif"),
|
||||
animation = "ratpenat",
|
||||
state = me.ALIVE,
|
||||
enemy = true,
|
||||
room = options.room,
|
||||
ia = ia.update_ratpenat
|
||||
}
|
||||
else
|
||||
error("Template not recognized")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user