November 2019
Beginner
436 pages
8h 52m
English
Let's take the official Hello World example and turn it into a desktop application powered by Electron. Follow these steps to do so:
var config = { type: Phaser.AUTO, width: 800, height: 600, backgroundColor: '#03187D', physics: { default: 'arcade', arcade: { gravity: { y: 200 } } }, scene: { preload: preload, create: create, update: update } };
function preload() { this.load.setBaseURL('http://labs.phaser.io'); this.load.image('sky', 'assets/skies/space3.png'); this.load.image('logo', ...Read now
Unlock full access