adjust spawning
now it runs for a little tiny bit!
This commit is contained in:
parent
bef95df6a1
commit
ab687f8f6d
@ -1179,8 +1179,6 @@ end
|
||||
-->8
|
||||
-- example level
|
||||
|
||||
|
||||
|
||||
function spawn_blocking_rnd_x(typ)
|
||||
freeze += 1
|
||||
s = typ.new{
|
||||
@ -1199,7 +1197,7 @@ function spawn_blocking_rnd_x(typ)
|
||||
end
|
||||
|
||||
function spawn_frownie()
|
||||
return spawn_rnd_x(frownie)
|
||||
return spawn_rnd(frownie)
|
||||
end
|
||||
|
||||
function spawn_blocking_frownie()
|
||||
@ -1207,11 +1205,11 @@ function spawn_blocking_frownie()
|
||||
end
|
||||
|
||||
function spawn_blocky()
|
||||
spawn_rnd_x(blocky)
|
||||
spawn_rnd(blocky)
|
||||
end
|
||||
|
||||
function spawn_blocking_blocky()
|
||||
spawn_blocking_rnd_x(blocky)
|
||||
spawn_rnd(blocky, 1)
|
||||
end
|
||||
|
||||
function spawn_spewy()
|
||||
@ -1295,6 +1293,7 @@ end
|
||||
|
||||
-- blocking: 1 or 0
|
||||
function spawn_rnd(typ, blocking, goodie,altspr)
|
||||
blocking = blocking or 0
|
||||
freeze += blocking
|
||||
s = typ.new{
|
||||
x = rnd(104),
|
||||
|
Loading…
Reference in New Issue
Block a user