minor change in how the 2d camera is handled

This commit is contained in:
2018-11-12 18:34:11 -06:00
parent 0f10ce3a07
commit b1e2721850
8 changed files with 18 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ namespace RhythmBullet.Zer01HD.Game.Screens
public MainScreen(ContentSystem assets) : base(true)
{
background = assets.Get<Texture2D>("backgrounds/mainBG");
fat = new FadeAwayTransition(1.25f);
fat = new FadeAwayTransition(3f);
book = new Book(Camera);
}

View File

@@ -63,7 +63,10 @@ namespace RhythmBullet.Zer01HD.Game.Screens.Transitions
public void DrawTransition(SpriteBatch batch)
{
batch.Draw(curtain, curtainSize, color);
if (curtain != null)
{
batch.Draw(curtain, curtainSize, color);
}
}
public void Dispose()