Author Topic: multiple jpct worlds  (Read 744 times)

Offline 9kaywun

  • byte
  • *
  • Posts: 20
  • Java Programmer
    • View Profile
multiple jpct worlds
« 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).
« Last Edit: October 21, 2012, 02:44:01 am by 9kaywun »
Developing a 3D multiplayer engine using jPCT:
Deleted, will return soon..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: multiple jpct worlds
« Reply #1 on: October 21, 2012, 08:45:03 am »
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.