1 decade ago by afflicto
in my main.js I load levels via JSON. ( I set the wm config to save as JSON instead of module)
Now, if I have the level data parsed as JSON.
I need something like ig.game.parseLevel(levelData);
Is there such a function?
I need to save the levels as JSON because I'm using it on the server-side (I'm making a multiplayer game, yes)
thanks in advance.
Now, if I have the level data parsed as JSON.
I need something like ig.game.parseLevel(levelData);
Is there such a function?
I need to save the levels as JSON because I'm using it on the server-side (I'm making a multiplayer game, yes)
thanks in advance.