This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
Blobledoodes/objects/obj_bloblehop_generator/Step_0.gml
Ryan 73075df678 boblehop almost done, with death and gameover screen
added gameover screen and death to boblehop game
2019-07-17 21:17:45 -06:00

25 lines
No EOL
397 B
Text

if ygen >= ylim
{
inst =instance_create_depth((irandom_range(xlim, xlimh)), ygen, -2, obj_bloblehop_platform)
with inst
{
image_xscale=xscale
image_yscale=yscale
}
ygen -= ystep
}
else
{
inst= instance_create_depth(540,15500,-10, obj_bloblehop_player)
view_set_visible(0, obj_bloblehop_player)
with inst
{
image_xscale = 5
image_yscale = 5
}
instance_destroy()
}
ystep += 4