Updated a lot of examples to Phaser 2.0 :)

This commit is contained in:
alvinsight
2014-02-28 18:22:52 +00:00
parent 8662cd2fd4
commit f17cdd9c32
24 changed files with 77 additions and 68 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function preload() {
function create() {
// This returns an array of all the image keys in the cache
var images = game.cache.getImageKeys();
var images = game.cache.getKeys(Phaser.Cache.IMAGE);
// Now let's create some random sprites and enable them all for drag and 'bring to top'
for (var i = 0; i < 20; i++)
+1 -1
View File
@@ -17,7 +17,7 @@ function preload() {
function create() {
// This returns an array of all the image keys in the cache
var images = game.cache.getImageKeys();
var images = game.cache.getKeys(Phaser.Cache.IMAGE);
var test = game.add.group();