|
|
@ -146,6 +146,7 @@ Q.scene("level1",function(stage) {
|
|
|
|
// Give the stage a moveable viewport and tell it
|
|
|
|
// Give the stage a moveable viewport and tell it
|
|
|
|
// to follow the player.
|
|
|
|
// to follow the player.
|
|
|
|
stage.add("viewport").follow(player);
|
|
|
|
stage.add("viewport").follow(player);
|
|
|
|
|
|
|
|
stage.viewport.scale = 2;
|
|
|
|
|
|
|
|
|
|
|
|
// Add in a couple of enemies
|
|
|
|
// Add in a couple of enemies
|
|
|
|
stage.insert(new Q.Neingeist({ x: 700, y: 0 }));
|
|
|
|
stage.insert(new Q.Neingeist({ x: 700, y: 0 }));
|
|
|
|