falling spikes | gml
gravity = 0;
if collision_line(x,y,x,y+view_hport[0],objPlayer, false, false){ gravity = 0.4; } if (y > room_height){ gravity = 0; speed = 0; y = ystart; }