You can now set the Stage.backgroundColor using either hex or numeric values.

This commit is contained in:
photonstorm
2014-02-16 14:54:04 +00:00
parent cfa2c96637
commit d026f968de
4 changed files with 54 additions and 11 deletions
+3
View File
@@ -9,6 +9,9 @@ function preload() {
function create() {
// game.stage.backgroundColor = '#239923';
game.stage.backgroundColor = 0xff8855;
var mummy = game.add.sprite(300, 200, 'mummy', 5);
mummy.animations.add('walk');