Final commit before rebuilding the Tilemap system.

This commit is contained in:
photonstorm
2013-10-08 10:52:15 +01:00
parent c307f79102
commit fa692653e3
4 changed files with 54 additions and 20 deletions
+1
View File
@@ -31,6 +31,7 @@
game.stage.backgroundColor = '#000000';
bg = game.add.tileSprite(0, 0, 800, 600, 'background');
bg.fixedToCamera = true;
map = game.add.tilemap(0, 0, 'level1');
map.setCollisionRange(1, 12, true, true, true, true);