minor change in how the 2d camera is handled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user