mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
Fixing up Pixis setBackgroundColor.
This commit is contained in:
@@ -14,6 +14,10 @@ var p;
|
||||
|
||||
function create() {
|
||||
|
||||
// game.stage.backgroundColor = '#ff5500';
|
||||
|
||||
game.stage._stage.setBackgroundColor(0xff5500);
|
||||
|
||||
sprite = game.add.sprite(0, 0, 'pic');
|
||||
|
||||
g = game.add.group(null, 'billy');
|
||||
|
||||
Reference in New Issue
Block a user