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
@@ -25,7 +25,7 @@ function create() {
game.stage.backgroundColor = '#0072bc';
text = game.add.bitmapText(200, 100, 'Bitmap Fonts!', { font: '64px Desyrel', align: 'center' });
text = game.add.bitmapText(200, 100, 'desyrel','Bitmap Fonts!',64);
}
+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);
// Now let's create some random sprites and enable them all for drag and 'bring to top'
for (var i = 0; i < 20; i++)