Zeta Bros.

Level Refactor

Added "level" objects that extend the base GameScene object. The createPlatform and spawnBot methods are overridden to customize each level. I prefer this method to a config object because it lets me customize every aspect of the level if needed. Check out the video to see the 2 example levels. #gamedev  #JavaScript  #Phaser