mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
15 lines
235 B
JavaScript
15 lines
235 B
JavaScript
|
|
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, update: update, render: render });
|
|
|
|
function preload() {
|
|
}
|
|
|
|
function create() {
|
|
}
|
|
|
|
function update() {
|
|
}
|
|
|
|
function render() {
|
|
}
|