Hi,
how could I read the movement speed (x,y) from a platform that I'm standing on?
I'm new to Gamemaker programming any help is appreciated.
Gamemaker 2 ( 2.2.5.481 )
objPLayer Step event:
how could I read the movement speed (x,y) from a platform that I'm standing on?
I'm new to Gamemaker programming any help is appreciated.
Gamemaker 2 ( 2.2.5.481 )
objPLayer Step event:
GML:
///Does this mean I'm standing on the platform?
if place_meeting(x,y+1,objMovingPLatform)
{
if gamepad_button_check_pressed(0,gp_face1) //Jump button
{
jump_height = jump_height * other.vsp /// does this makes sense?
///vsp is the vertical speed of the platform
}
jump_height = jump_height
//How to get my normal jump_height back?
}