I am trying to put platforms in game maker studio 2 that fall when jumped on, but my character stops jumping while the falling with the platform, how do I fix this? Note that my character can jump if the platform rises here is my falling platform step event:
if (place_meeting(x,y-1, obj_player)){
godown = true;
obj_player.vspd_carry = 1;
}
if (dspd < mspd) && (godown == true)
{
dspd += 1;
}
if (godown = true)
{
vspeed = dspd;
}
I managed to fix this by adding
if (place_meeting(x,y-1, obj_player)) || place_meeting(x,y-2, obj_player) || place_meeting(x,y-3, obj_player)){