I am trying to make a platformer without the platformer behavior and the player keeps on flying up, how do i fix this?
It seems your second event box is causing it. As long as the spacebar is held down, it will continue to apply the -550 y axis force on the player as no limit has been set.
Perhaps use a jump text variable and a timer. Like so:
Declare a player jump text variable, let’s call it ‘jumpvar’ and set it to “ready”
At beginning of scene
- start or reset timer “jumptimer”
- pause “jumptimer”
If space is pressed and if jumpvar = “ready”
- unpause jumptimer
- change jumpvar to “ascend”
If jumpvar = “ascend”
- apply -550 on y axis
- if jumptimer > 1.5sec
— start or reset jumptimer
— pause jumptimer
— set jumpvar to “descend”
If jumpvar = “descend”
- apply+550 on y axis
- if in collision with summertile
— set jumpvar to “ready”
Yeah it’s a rough draft and I probably missed some bits and stuff. But I hope you get the idea. Play around with it. I’d also recommend you use a jump speed variable so you can tween it while ascending or descending.
wait.why is my player flying up and not going down
Could you post a screenshot of your updated events?