import Phaser from 'phaser' ; export default class Preloader extends Phaser . Scene { constructor ( ) { super ( 'preloader' ) ; } preload ( ) { this . load . image ( 'acho' , 'assets/acho.png' ) ; this . load . image ( 'ground' , 'assets/ground.png' ) ; } create ( ) { this . scene . start ( 'initial' ) ; } }