varnholt / deceptus_engine

A platformer game engine in development
Other
14 stars 7 forks source link

Camera Pan Movement Limits #91

Closed dstar64 closed 2 years ago

dstar64 commented 3 years ago

Camera Pan must move inside "rooms" layer limits

Nikspace2 commented 2 years ago

And keep the player always in the screen. And not be able to pan while moving.

Vertical pan of the camera is necessary for tall vertical areas to check below the player to see were they fall is safe.

But horizontal pan is creating issues on the feeling of the game. Player will be able to preview the area before moving forward. I believe forcing the player to go the end of the room without previewing the area with just a pan, will create the feeling of the explorer. What is in the end over there ?

Here is a comparison. video link