www.jpct.net
jPCT - a 3d engine for Java => Support => Topic started by: 9kaywun on October 21, 2012, 02:42:19 am
-
Is there a performance difference between sharing a single world using an abstract design, or just simply creating a new world in each application state?
Edit: The application I am developing, if I removed the abstraction, would have 3 world instances: 1 for login state, 1 for game state, and 1 for the skybox (in the game state).
-
Do whatever is easier or suits your needs better. There might be little setup overhead with multiple worlds, but it's nothing to worry about unless you use a gazillion of worlds.