diff --git a/examples/camera/follow styles.php b/examples/camera/follow styles.php index dac30a44c..ee0f1dc9f 100644 --- a/examples/camera/follow styles.php +++ b/examples/camera/follow styles.php @@ -71,9 +71,6 @@ game.camera.follow(ufo); - - - // follow style switch buttons btn0 = game.add.button(6, 40, 'button', lockonFollow,this, 0, 0, 0); btn1 = game.add.button(6, 120, 'button', platformerFollow,this, 1, 1, 1); diff --git a/examples/groups/add to group 1.php b/examples/groups/add to group 1.php new file mode 100644 index 000000000..03e6f9ca7 --- /dev/null +++ b/examples/groups/add to group 1.php @@ -0,0 +1,63 @@ + + + + + + diff --git a/examples/groups/add to group 2.php b/examples/groups/add to group 2.php new file mode 100644 index 000000000..726a1f68c --- /dev/null +++ b/examples/groups/add to group 2.php @@ -0,0 +1,56 @@ + + + + + + diff --git a/examples/groups/bring to top 2.php b/examples/groups/bring to top 2.php new file mode 100644 index 000000000..56872efc5 --- /dev/null +++ b/examples/groups/bring to top 2.php @@ -0,0 +1,101 @@ + + + + + + diff --git a/examples/groups/bring to top.php b/examples/groups/bring to top.php new file mode 100644 index 000000000..4849b19ba --- /dev/null +++ b/examples/groups/bring to top.php @@ -0,0 +1,46 @@ + + + + + + diff --git a/examples/groups/call all.php b/examples/groups/call all.php new file mode 100644 index 000000000..c7f222653 --- /dev/null +++ b/examples/groups/call all.php @@ -0,0 +1,52 @@ + + + + + + diff --git a/examples/groups/create group.php b/examples/groups/create group.php new file mode 100644 index 000000000..3ce40f438 --- /dev/null +++ b/examples/groups/create group.php @@ -0,0 +1,57 @@ + + + + + + diff --git a/examples/groups/display order.php b/examples/groups/display order.php new file mode 100644 index 000000000..35b97990f --- /dev/null +++ b/examples/groups/display order.php @@ -0,0 +1,64 @@ + + + + + + diff --git a/examples/groups/for each.php b/examples/groups/for each.php new file mode 100644 index 000000000..32ca7739a --- /dev/null +++ b/examples/groups/for each.php @@ -0,0 +1,50 @@ + + + + + + diff --git a/examples/groups/get first.php b/examples/groups/get first.php new file mode 100644 index 000000000..c7cdd4466 --- /dev/null +++ b/examples/groups/get first.php @@ -0,0 +1,72 @@ + + + + + + diff --git a/src/core/Game.js b/src/core/Game.js index c24dbb40b..bf73da33b 100644 --- a/src/core/Game.js +++ b/src/core/Game.js @@ -31,7 +31,7 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant renderer = renderer || Phaser.AUTO; parent = parent || ''; state = state || null; - transparent = transparent || false; + if (typeof transparent == 'undefined') { transparent = false; } antialias = typeof antialias === 'undefined' ? true : antialias; /** diff --git a/src/input/InputHandler.js b/src/input/InputHandler.js index 4bcec1bfc..6f14400af 100644 --- a/src/input/InputHandler.js +++ b/src/input/InputHandler.js @@ -75,7 +75,7 @@ Phaser.InputHandler.prototype = { start: function (priority, useHandCursor) { priority = priority || 0; - useHandCursor = useHandCursor || false; + if (typeof useHandCursor == 'undefined') { useHandCursor = false; } // Turning on if (this.enabled == false)