lambient86 / sea-of-fortune

2 stars 5 forks source link

Added GameworldState system #48

Closed TheoZervos closed 1 week ago

TheoZervos commented 1 week ago

Added a state system that is able to switch between Island state and Ocean state. Ocean state the state where the player controls the boat and Overworld ocean enemies spawn. Island mode is the exploration mode the player is in while exploring islands. For debug purposes, all that changes is the players controllable entity and the entities that can spawn. The background stays statically on the sandy debug.

BUG: The boat is scaled down to an extremely small degree for some odd reason. If someone can take a look let me know