bitbrain / braingdx

:video_game: Game jam framework based on libgdx.
Apache License 2.0
84 stars 1 forks source link

Revise GameCamera API 🎥 #163

Closed bitbrain closed 5 years ago

bitbrain commented 6 years ago

Right now it is confusing to configure camera tracking:

Actually, it should be like this:

setZoomScalingFactor(2f) should zoom out twice as "hard" as the default zoom configued. Also, setDefaultZoom(2f) should zoom in, while setDefaultZoom(0.5f) should zoom out.