Simple Question on Desired Screen Behavior
With screen following on, how do I get my player to reach the edge of the screen and stop? Super Mario like level behavior…
I have tried walls and enabling/disabling screen follow. Still showing too much unusable screen space.
This is a simplification of my other lengthy post.
@krdavis Disabling the screen follow should make the screen stop following the player. If you have an invisible wall, make sure it is a wall object. Scenery objects do not have collision.
Note that this wall should be passable and be somewhere where the screen should stop following - because if your player is running into a solid (non-passable) wall and the screen stops following when the player collides with the wall, then you'll still see screen space.
@krdavis Another fix is to simply add more usable screen space so this wouldn't be an issue.
@RobinsonX thanks, I am back to playing with walls to enable/disable screen following. I keep having a screen shift on re-enabling following on the x and y axis that has me flummoxed.
@RobinsonX Got working by setting my player’s anchor to the correct value. It was causing the erratic behavior. Thank you for your input!