- [NEW] Torxes implementades
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user