16 lines
No EOL
291 B
Text
16 lines
No EOL
291 B
Text
if vsp < maxvsp
|
|
|
|
{
|
|
vsp = (vsp + grav)
|
|
}
|
|
|
|
if (place_meeting(x+1,y,obj_bloblehop_wall)) || (place_meeting(x-1,y,obj_bloblehop_wall)) hsp = 0
|
|
|
|
x += hsp
|
|
|
|
if vsp >0
|
|
{
|
|
if (place_meeting(x,y+1,obj_bloblehop_platform)) || (place_meeting(x,y-1,obj_bloblehop_platform)){ vsp = -jumpspeed}
|
|
|
|
}
|
|
y += vsp |