Hello.
I'm creating simple platformer game and noticed that using ScrollTo behavior with my player rinning it is also scrolls to it when the player is jumping that is not like in the most platformer games.
How do I make the camera not scroll when the player jumps?
Thank you!
Develop games in your browser. Powerful, performant & highly capable.
Get rid of scroll-to.
Every Tick: scroll to X: player.x.
scroll to Y: some constant value.
Alternatively, keep scroll-to, and make the layout height no higher than the window height.
Thank you))