- [NEW] afegit dimoni

This commit is contained in:
2026-04-13 12:01:22 +02:00
parent 90f66a4cdc
commit 44398f3080
8 changed files with 65 additions and 1 deletions

View File

@@ -278,6 +278,23 @@ function me.create(type, options)
room = options.room,
ia = ia.update_coin
}
elseif key == "dimoni" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=16,h=17 },
bbo = { left=3, top=2, right=3, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/dimoni.gif"),
animation = "dimoni_walk",
state = me.ALIVE,
enemy = true,
bulletproof = true,
room = options.room,
ia = ia.update_dimoni
}
else
error("Template not recognized")
end