1 decade ago by fugufish
so normally we load all the levels in the 'require' block of main.js:
is there any way to load a Level 4, without first defining it? I'm thinking an inject of some sort - nothing tangible yet unfortunately
ig.module(
'game.main'
)
.requires(
// game entitites
// game levels
game.levels.level1,
game.levels.level2,
game.levels.level3,
)
is there any way to load a Level 4, without first defining it? I'm thinking an inject of some sort - nothing tangible yet unfortunately
