Gornova/MarteEngine

Camera in v 0.3

Closed this issue · 1 comments

Hi,

The new camera system in v0.3 will currently clip on X:0, Y:0 and X:mapWidth, Y:mapHeight.
There are no issues with this system as long your game does not have some sort of HUD, but when you have, the player will walk underneath the HUD and is not visible to the player anymore.

Maybe its an idea that the developer can set the outer bound via a method like: setTopBound(0,0) and setBottomBound(mapWidth, mapHeight).

That way you can create an offset that is a bit bigger than your map.

you are right, need to think how to implement this and don't change too much interfaces