[Critical] Seperate level scenes from each other and make world states instanced #61
Labels
IMPORTANT/CRITLCAL
All work must be paused on everything until this is resolved.
Improvment
networking
Scenes
Currently all levels are mashed together in one giant world node that gets loaded on start, this causes a lot of pathfinding and memory issues and will cause the world state packets to be large for no reason overtime when we add more things into the game.
Seperating them and adding a proper scene load system would fix the issue we have currently with the game hanging up on startup + mobs having trouble pathfinding.
This will also allow us to stop sending data to players who are not currently inside that scene since the client only has to load the scene relavent to it and will also stop the server from processing areas when there's no players on them.
Scenes should be layered like this on the server:
while currently its done like this:
The text was updated successfully, but these errors were encountered: