- [NEW] El mono

- [NEW] Noves animacions de detallets
- [NEW] Més particles i eye candy
- [FIX] Si es ficava un item/enemic en la fila de baix del tot no es guardaba
- [FIX] Quan se disaparaba cap a la dreta amb el final de la pantalla o una pared en la esquena, la bala no eixia
- [WIP] Treballant en el marcador
This commit is contained in:
Raimon @ quifisraimon committed 2026-10-06 15:56:37 +02:00
1 parent 1f6fd47b6d
commit d2ebbccbf6
20 files changed
+172 -27

No files matched your search

+37
View File
@@ -345,6 +345,43 @@ function me.create(type, options)
room = options.room,
ia = ia.update_polseta
}
elseif key == "mono" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=16,h=16 },
bbo = { left=0, top=0, right=0, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/mono.gif"),
animation = "mono_wait",
state = me.ALIVE,
enemy = true,
bulletproof = true,
room = options.room,
ia = ia.do_nothing
}
elseif key == "llum" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=7,h=7 },
bbo = { left=0, top=0, right=0, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/sprites.gif"),
animation = "invisible",
state = me.ALIVE,
enemy = true,
bulletproof = true,
room = options.room,
light = 40,
light_ox = 4,
light_oy = 4,
ia = ia.do_nothing
}
else
error("Template not recognized")
end