SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.79k stars 1.13k forks source link

Boundaries for camera movement #1682

Closed heinezen closed 2 weeks ago

heinezen commented 3 months ago

Required Skills: C++

Difficulty: Medium

Currently, we let the camera move freely in the scene. This can result in the camera accidently moving away from the visible map terrain. It would be better if we could set the boundaries of the camera movement according to the current size of the map, so that the camera can't be moved outside of the play area. This should be implemented for the CameraManager and not for the camera class itself!

Tasks:

Further Reading

yukirine commented 1 month ago

Hello, can i help with this issue ?

heinezen commented 1 month ago

@yukirine There is already an implementation going on in https://github.com/SFTtech/openage/pull/1691