Initial spaceship

This commit is contained in:
2021-04-11 02:01:24 +02:00
parent 11ebd8db64
commit 46b1ac233b
9 changed files with 119 additions and 9 deletions
+2 -2
View File
@@ -11,11 +11,11 @@ namespace EvilSatellites.Objects
private ISoundEffect3D Sound;
public SynthyProp(IScreen screen, Vector3 pos): base(screen)
{
Sound = Screen.Manager.Sound.Load3D(@"sfx/ambience/water1.wav");
Sound = Screen.Manager.Sound.Load3D(@"sfx/ui/chat.wav");
Sound.Loop = true;
Position = pos;
Sound.Position = new System.Numerics.Vector3(pos.X, pos.Y, pos.Z);
Sound.ConnectToEffect(Screen.Manager.EnvironmentEffect);
// Sound.ConnectToEffect(Screen.Manager.EnvironmentEffect);
Activate();
}