Divide maps into sections for each season
Seasons
- Every season have a limited area on the map, to prevent players from reaching other parts of it. Check the picture below:
How to ensure players do not leave the map
- Have dynamic world borders, that follows the player. As soon as the player reaches the edge of the defined "area", the world bounds will move to the tangent of the map-edge, and push the player back.
x' = -y
y' = +x
Todo:
-
Add a dynamic shape to define the world bounds for each season. Do for Season 1 first. Do this in collaboration with @all -
Add function to bounce players back when hitting the edge. Look into using setplayerpos for jumping off the plane, in case the player(s) go beyond the map (when landed). Set player position to the tangent of the edge of the map + a few meters.