Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by joseph

Hi

I have this level : escenario1.js

And I add in the requires section, like this: 'game.levels.escenario1.js'

Then I try to load in the init function : this.loadLevel( LevelEscenario1 )

But when reload I get this error: ReferenceError: LevelEscenario1 is not defined

Can you help me please?

grettings

1 decade ago by Joncom

Try:
'game.levels.escenario1'

...without the '.js' because the '.js' is just assumed.
Page 1 of 1
« first « previous next › last »