Browse Source

updating images for level 5

cecylia 8 years ago
parent
commit
ac1bb48ce6
3 changed files with 8 additions and 6 deletions
  1. BIN
      includes/router.png
  2. 7 6
      levels/01 Basics/level05.json
  3. 1 0
      phaser.inc.php

BIN
includes/router.png


+ 7 - 6
levels/01 Basics/level05.json

@@ -3,23 +3,24 @@
 		{
 			id:"Alice",
 			ports:1,
-			x:0.25,
-			y:0.55,
+			x:0.2,
+			y:0.6,
 			player:true
 		},
 		{
 			id:"Google",
+			image:"server",
 			ports:1,
-			x:0.75,
-			y:0.5,
+			x:0.8,
+			y:0.4,
                         script: deviceScripts.ping
 		},
 		{
 			id:"Home",
-			type:"Modem",
+			image:"router",
 			ports:2,
 			x:0.4,
-			y:0.5,
+			y:0.4,
                         script: deviceScripts.modem
 		}
 	],

+ 1 - 0
phaser.inc.php

@@ -33,6 +33,7 @@ function preload() {
 	game.load.image('monitor', 'includes/monitor.png');
 	game.load.image('packet', 'includes/circle.png');
 	game.load.image('server', 'includes/server.png');
+	game.load.image('router', 'includes/router.png');
 
 	game.load.image('reset', 'includes/ui/reset.png');
 	game.load.image('pause', 'includes/ui/pause.png');