Anyone Know how To Fix This Glitch?
For refrence this is not an RPG game it's a platformer but when the player collides with the ground and moves it glitches out (GIF has been slowed to 0.5x to show detail)
CODE:
if (place_meeting(x + XTravel, y, obj_collision)) {
XTravel = 0
}
if (place_meeting(x + XTravel, y, obj_collision)) {
YTravel = -0.1
} else {
YTravel += 0.1
}