bitbrain / braingdx

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

Introduce positioning of GameWorld bounds #142

Closed bitbrain closed 5 years ago

bitbrain commented 6 years ago

The world bounds currently always start at origin [0f, 0f], however, we want to make this dynamic to allow more flexible scenarios.

Example

In an auto-scrolling game, we can use this mechanic to shrink the world bounds dynamically. A sticky camera would then follow the game object along the bounds (which automatically allows auto scrolling).