Skip to content

Commit

Permalink
changed up some camera views on levels
Browse files Browse the repository at this point in the history
  • Loading branch information
cmy4322 committed Apr 24, 2017
1 parent d40a4a6 commit d14a720
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions DoubleDash.Shared/LevelManager.cs
Expand Up @@ -119,23 +119,23 @@ public void SetupLevel(Player player, Camera camera, GameTimer gameTimer, Curren

public void MaybeZoomOut(Camera camera)
{
// world 3, level 2
if (world3StartIndex + 1 == currentLevel)
// world 3, level 1
if (world3StartIndex == currentLevel)
{
camera.Zoom = .55f;
}
// world 3, level 3
else if (world3StartIndex + 2 == currentLevel)
// world 3, level 2
else if (world3StartIndex + 1 == currentLevel)
{
camera.Zoom = .60f;
}
// world 3, level 4
else if (world3StartIndex + 3 == currentLevel)
// world 3, level 3
else if (world3StartIndex + 2 == currentLevel)
{
camera.Zoom = .60f;
}
// World 3, level 6
else if (world3StartIndex + 5 == currentLevel)
// World 3, level 4
else if (world3StartIndex + 3 == currentLevel)
{
camera.Zoom = .65f;
}
Expand Down

0 comments on commit d14a720

Please sign in to comment.