-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
IMPORTANT/CRITLCALAll work must be paused on everything until this is resolved.All work must be paused on everything until this is resolved.ImprovmentScenesnetworking
Description
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:
Global Nodes
-
Ui
-
Worlds
-- DiagonAlly
--- Players
-- Village
--- Players
-- Hogwarts
--- Players
while currently its done like this:
Global Nodes
-- Players
World
-
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IMPORTANT/CRITLCALAll work must be paused on everything until this is resolved.All work must be paused on everything until this is resolved.ImprovmentScenesnetworking