Building an instance system.

Posted by Kyle C on Game Development See other posts from Game Development or by Kyle C
Published on 2011-02-16T20:11:45Z Indexed on 2011/02/16 23:35 UTC
Read the original article Hit count: 214

Filed under:
|

I am looking into how to design an instance system for the game I am working on. I have always wondered how these are created in games like World of Warcraft, where instances == dungeons/raids/etc). Areas that are separated from players other than those in your group, but have specific logic to them. Specifically how can you reuse your existing code base and not have a bunch of checks everywhere ?

if (isInstance) do x; else do y;

I don't know if this will make too much of a difference on any answers, but we're using a pretty classic "Object as pure aggregation" component system for our entities.

© Game Development or respective owner

Related posts about mmo

Related posts about game-mechanics