blobleshoot now has trampolines which bounch the bloble higher , they are also randomly generated.
37 lines
No EOL
595 B
Text
37 lines
No EOL
595 B
Text
|
|
|
|
if gen_balloon < gen_balloon_limit
|
|
{
|
|
inst = instance_create_depth((irandom_range(2000, xlim)), 100, -3, obj_blobleshoot_balloon)
|
|
{
|
|
|
|
|
|
}
|
|
gen_balloon +=1
|
|
}
|
|
|
|
if gen_pool < gen_pool_limit
|
|
{
|
|
inst = instance_create_depth((irandom_range(2000, xlim)), 100, -3, obj_blobleshoot_pool)
|
|
{
|
|
|
|
|
|
}
|
|
gen_pool +=1
|
|
}
|
|
|
|
if gen_trampoline < gen_trampoline_limit
|
|
{
|
|
inst = instance_create_depth((irandom_range(2000, xlim)), 4904, -3, obj_blobleshoot_trampoline)
|
|
{
|
|
with inst
|
|
{
|
|
if (place_meeting(x,y,obj_blobleshoot_trampoline))
|
|
{
|
|
instance_destroy()
|
|
|
|
}
|
|
}
|
|
}
|
|
gen_trampoline +=1
|
|
} |