- [NEW] taulells que es trenquen i cauen
This commit is contained in:
@@ -52,6 +52,21 @@ templates = {
|
||||
light_oy = 4,
|
||||
ia = sprites.update_coin
|
||||
}
|
||||
elseif type == "brick" then
|
||||
sprite = {
|
||||
type = type,
|
||||
pos = options.pos,--{ x=100, y=4*12*8+71 },
|
||||
size = { w=8,h=8 },
|
||||
bbo = { left=0, top=0, right=0, bottom=0 },
|
||||
current_frame = 1,
|
||||
current_wait = 1,
|
||||
flipped = options.flipped,
|
||||
surf = surf.load("misc.gif"),
|
||||
animation = "brick",
|
||||
state = templates.ALIVE,
|
||||
timeout = 10,
|
||||
ia = sprites.update_brick
|
||||
}
|
||||
else
|
||||
error("Template not recognized")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user