- [NEW] Torxes implementades

This commit is contained in:
2026-03-09 12:15:58 +01:00
parent aa5f29ee24
commit f2a52570b1
10 changed files with 70 additions and 4 deletions

View File

@@ -67,6 +67,24 @@ templates = {
timeout = 10,
ia = sprites.update_brick
}
elseif type == "torxa" then
sprite = {
type = type,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=8,h=16 },
bbo = { left=0, top=0, right=0, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("torxa.gif"),
animation = "torxa",
state = templates.ALIVE,
light = 30,
light_ox = 4,
light_oy = 4,
no_shadow = true,
ia = sprites.update_torxa
}
else
error("Template not recognized")
end