HavenFlames Posted March 8, 2017 Share Posted March 8, 2017 My friend and I are currently trying to create a platforming maze and we're struggling on how to go about loading different levels. I've gone through some other forums and I'm still a bit lost on what is meant to be inside some of the .js states(Boot, Preloader, etc.) I also want to create an array to randomize the pick-ups that we will be collecting. Any help is greatly appreciated. We're still learning HTML and JS. Link to comment Share on other sites More sharing options...
samme Posted March 8, 2017 Share Posted March 8, 2017 Try to get it working with just one level first, that will be simpler. You may not need separate states for different levels. You can use docs/2.6.2/Phaser.RandomDataGenerator.html#pick: game.rnd.pick(items) Link to comment Share on other sites More sharing options...
Recommended Posts