What i want to do is the following:
Make the camera stand still when i am jumping.
Currently i am using scroll to, and every time i jump camera follows my character vertically and it's very annoying since i have lots of obstacles.
I want to do something like this:
(please start watching 08:00+)
So, i want to put two borders above and below my character, and when my character touches those borders - jumps above or falls below the borders, only then the camera activates and start following the player.
Thank you all.
Develop games in your browser. Powerful, performant & highly capable.
See examples from this post, not exactly what you want, but you can modify them to your situation: