Hello,
i would like to know how can i setup the camera,following the character,to only move forward(to the right in a 2d platformer).
So the camera wont follow the player when walking to the right.
Thanks,
Costa
Easy way would be something like this:
Create global variable CameraOldX
System every tick
System compare two values: Sprite.x>CameraOldx
-System set value CameraOldX: sprite.x
Thanks,that worked perfectly
Develop games in your browser. Powerful, performant & highly capable.
Or just PlayerX > scrollX then set scroll X to PlayerX