sfx
This commit is contained in:
parent
079627b659
commit
b88a868557
@ -159,9 +159,10 @@ end
|
||||
|
||||
particles = {}
|
||||
function add_explosion(gx, gy)
|
||||
sfx(0)
|
||||
local x = gx*8+4
|
||||
local y = gy*8+4
|
||||
for i=0,50 do
|
||||
for i=0,30 do
|
||||
local angle = rnd()
|
||||
add(particles, {
|
||||
x=x, y=y,
|
||||
@ -274,6 +275,7 @@ function update_level()
|
||||
then
|
||||
puzzle_grid[y+1][x] = puzzle_grid[y][x]
|
||||
puzzle_grid[y][x] = 0
|
||||
sfx(1)
|
||||
-- crushed, explode
|
||||
if y+1 == bomb_y and x == bomb_x then
|
||||
explode()
|
||||
@ -502,3 +504,6 @@ e0e1e1e1e1e1e1e1e1e2e3e4e4e4e4e5000000000000000000000000000000000000000000000000
|
||||
c3c4c4c4c4c4c4c4c4c4c4c4c4c4c4c500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
d3d4d4d4d4d4d4d4d4d4d4d4d4d400d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
e3e4e4e4e4e4e4e4e4e4e4e4e4e4e4e500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
__sfx__
|
||||
490200003465028650216501c6501865016650166501665017650186501b6502065024650296502d6502e6502d6602b66026660236601f6601b66017660146600e6600b6600966008660176600d6700767006670
|
||||
390100000265002650026500265002650026500265002650026500265002650006000060000600006000060000600006000060000600006000060000600006000060000600006000060000600006000060000600
|
||||
|
Loading…
Reference in New Issue
Block a user