Hi im building a nodejs server with cocos engine. I need to make about 500 rooms of game, each have a same size area with many node in that.
Since cocos engine is built in modules, so i cant create different game instance (cc, cc.game ) variable to manage each room. So i have to put all 500 node-game into a parent node, and each have its own child which is game character, monster, missile v.v… It’s acceptable but the problem occurs if i use collision manager to check collide. Because there is only 1 collision manager to manage node, there is many cross-check which is useless, even i put a parent-check for each game area.
How can i use multiple instance of cocos to solve my problem?