- [NEW] Més gràfics
- [NEW] Retocs en habitacions
This commit is contained in:
@@ -262,6 +262,22 @@ function me.create(type, options)
|
||||
room = options.room,
|
||||
ia = ia.update_berserk
|
||||
}
|
||||
elseif key == "abad" then
|
||||
sprite = {
|
||||
type = key,
|
||||
pos = options.pos,--{ x=100, y=4*12*8+71 },
|
||||
size = { w=16,h=18 },
|
||||
bbo = { left=3, top=2, right=3, bottom=0 },
|
||||
current_frame = 1,
|
||||
current_wait = 1,
|
||||
flipped = options.flipped,
|
||||
surf = surf.load("gfx/abad.gif"),
|
||||
animation = "abad",
|
||||
state = me.ALIVE,
|
||||
enemy = true,
|
||||
room = options.room,
|
||||
ia = ia.update_coin
|
||||
}
|
||||
else
|
||||
error("Template not recognized")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user