UNPKG

create-phaser-app

Version:

A boiler plate to start your phaser app with webpack4, babel7+ and Phaser 3

14 lines (9 loc) 216 B
import Phaser from 'phaser'; export default class Portal extends Phaser.Physics.Arcade.Sprite { constructor({ scene, x, y }) { super(scene, x, y, 'portal'); } preload() {} create() {} update() {} }