This is my first time posting on â€œHow do I..â€, Iâ€™ll try my best to be as clear as possible with my question.
Iâ€™m working hard on a kind of endless runner game where the main character basically goes with the wind. She has an umbrella so every time she opens it she goes up, and every time she closes it, she goes down, and thatâ€™s the basic mechanics for it.
Every time the character reaches the top of the layout when going up, it will take a while for her to start going down, due to her current bullet speed, and it seems like she got stuck on the top of the screen for a while, and that is the problem cause it totally breaks the flow of the game. I already tried a bunch of different things, such as setting a certain Y where her bullet gravity goes back to normal, or setting an invisible wall that when she collides with it, her gravity goes down, but none seemed to work.
This is a simple short video about the problem (sorry for the bad quality): dropbox.com/s/hf5pz9y4qamow ... 1.mp4?dl=0
Any help will be greatly appreciated.
Thanks a lot!