mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 08:31:01 +00:00
23 lines
252 B
JavaScript
23 lines
252 B
JavaScript
|
|
||
|
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update, render: render });
|
||
|
|
||
|
function preload() {
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
var sprite;
|
||
|
|
||
|
function create() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function update() {
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
function render() {
|
||
|
|
||
|
}
|