How do I do the Metroid hover

So, I’m trying to make the short hover you have in Metroid 1 (NES) when you get the screw jump, you jump and you hover for a second before properly saving (or at last that’s what happens in my MINI NES), so I’ trying that when the player either hits a ceiling or reaches the max of their jump they hover for a second before actually falling

I’ve been trying for a while but I haven’t actually managed to do it, I thought it’d be as simple as using the gravity changer and a timer alongside a boolean but, ya, did not work :sweat_smile:

Here’s a screenshot of the absolute fail I tried to make

1 - did you check what is actual player jump speed by printing it to text variable?
If not then how you know to check -30 to 0 range?

2 - does it work once and then never again?
If so then instead of pausing timer you should delete it

3 - maybe better idea would be to add custom point above player head and when its inside wall then trigger gravity change for however long you need

1- No, I had been been trying for a while at that point and to speed it up slightly I asked ChatGPT (which, needless to say, I know wasn’t a great idea, but I was desperate after my ideas failed.

2 - nope, never works

3- I know and I tried to do it earlier but then it wouldn’t make you hover unless you hit a ceiling, which isn’t ideal

I was sure (from your original message) you are talking about jumping when saving where there would always be ceiling

Anyway now print your values to text object
Cause your logic looks pretty ok to me

MAYBE instead of gravity you can change falling speed?

idk, it’s giving me huge numbers and changing most of the times

You should not care about what exactly it gives you
But only using values you need

Like FOR YOU what’s the difference would it be -30 to range
Or 4500 to 6000 range?
Your only concern is finding correct range and using it