Kinda save settings
This commit is contained in:
@@ -80,6 +80,7 @@ namespace EvilSatellites.Objects
|
||||
sfxTaps.Destroy();
|
||||
sfxElevator.Destroy();
|
||||
sfxDamage.Destroy();
|
||||
CurrentWeapon.Destroy();
|
||||
return;
|
||||
}
|
||||
override public void Update(GameTime gameTime)
|
||||
@@ -109,19 +110,19 @@ namespace EvilSatellites.Objects
|
||||
Move(Movement);
|
||||
if (Turning == -1)
|
||||
{
|
||||
RotateY(0.035f);
|
||||
RotateY(0.025f);
|
||||
}
|
||||
if (Turning == 1)
|
||||
{
|
||||
RotateY(-0.035f);
|
||||
RotateY(-0.025f);
|
||||
}
|
||||
if (Elevating == -1)
|
||||
{
|
||||
RotateX(-0.035f);
|
||||
RotateX(-0.025f);
|
||||
}
|
||||
if (Elevating == 1)
|
||||
{
|
||||
RotateX(0.035f);
|
||||
RotateX(0.025f);
|
||||
}
|
||||
sfxEngine.Pitch = 0.5 + (Movement.Length() / MaxSpeed.Length()) * 4;
|
||||
sfxWhine.Pitch = 0.5 + (Movement.Length() / MaxSpeed.Length()) * 1;
|
||||
|
||||
Reference in New Issue
Block a user