33 lines
No EOL
675 B
Text
33 lines
No EOL
675 B
Text
|
|
if (place_meeting(x,y-1+launchspeedy,obj_blobleshoot_grass)) || (place_meeting(x,y+1+launchspeedy,obj_blobleshoot_grass))
|
|
{
|
|
launchspeedx = (launchspeedx *.8)
|
|
launchspeedy = (-launchspeedy * .8)
|
|
}
|
|
|
|
|
|
if (place_meeting(x,y+launchspeedy,obj_blobleshoot_trampoline)) || (place_meeting(x,y+launchspeedy,obj_blobleshoot_trampoline))
|
|
{
|
|
launchspeedy = ((-launchspeedy * 1.2) - 5)
|
|
launchspeedx = (launchspeedx * 1.1)
|
|
}
|
|
|
|
|
|
|
|
|
|
if launchspeedx > 0 && launchspeedx < 1
|
|
{
|
|
global.roomset = rm_Gameover;
|
|
instance_create_depth(1,1,-1, obj_fade)
|
|
}
|
|
|
|
//if launchspeedy > 0 && launchspeedy < 1
|
|
//{
|
|
// launchspeedy = 0
|
|
//}
|
|
|
|
launchspeedy = (launchspeedy + .5)
|
|
|
|
|
|
x += launchspeedx
|
|
y += launchspeedy |