- [FIX] arreglos en alguna habitació

- [NEW] particles quan la bala rebota
This commit is contained in:
2026-04-14 21:46:05 +02:00
parent 59fb6faa95
commit 3ca9f28021
6 changed files with 34 additions and 2 deletions

View File

@@ -44,6 +44,23 @@ function me.create(type, options)
animation = "bullet",
ia = ia.update_bullet
}
elseif key == "bullet_particle" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
dir = options.dir,
size = { w=8,h=8 },
bbo = { left=2, top=3, right=3, bottom=1 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/morcus.gif"),
animation = "particle",
state = me.ALIVE,
enemy = true,
room = options.room,
ia = ia.update_gota_esguit
}
elseif key == "coin" then
sprite = {
type = key,