mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
Canvas and Stage added and starting to merge in Pixi deeply.
This commit is contained in:
+1
-3
@@ -13,10 +13,8 @@
|
||||
// Your game will work either from within a closure or not, it doesn't matter
|
||||
(function () {
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.RENDERER_AUTO, '', { preload: preload, create: create });
|
||||
|
||||
// In this approach we're simply using functions in the current scope to do what we need
|
||||
// game.launch(this, preload, create);
|
||||
var game = new Phaser.Game(800, 600, Phaser.RENDERER_AUTO, '', { preload: preload, create: create });
|
||||
|
||||
function preload() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user