This project has moved. For the latest updates, please go here.

Multiple worlds in multiple threads

Topics: User Forum
Aug 16, 2012 at 8:41 PM


Let's say i write a platformer and I have a foreground layer and a background layer. objects from those layers don't interact with each other. Would it be reasonable to use two worlds and simulate the in two different threads?

Aug 27, 2012 at 11:36 PM

Indeed it would. If there are absolutely no interaction between the two, I would recommend you implement the background in a separate thread.