This commit is contained in:
2021-04-26 01:12:37 +02:00
parent 356173e818
commit 02771afda1
6 changed files with 9 additions and 3 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
+3 -1
View File
@@ -14,7 +14,7 @@ namespace EvilSatellites
public static bool PreferSAPI = true;
public static bool UseForceFeedback = true;
public static bool EnableAI = true;
public static float MusicVolume = 0.2f;
public static void SaveSettings()
{
if (!Directory.Exists(SettingsDirectory))
@@ -27,6 +27,7 @@ namespace EvilSatellites
file.Write(PreferSAPI);
file.Write(UseForceFeedback);
file.Write(EnableAI);
file.Write(MusicVolume);
file.Close();
} catch (Exception e)
{
@@ -51,6 +52,7 @@ namespace EvilSatellites
PreferSAPI = file.ReadBoolean();
UseForceFeedback = file.ReadBoolean();
EnableAI = file.ReadBoolean();
MusicVolume = (float)file.ReadSingle();
file.Close();
} catch (Exception e)
{
+1 -1
View File
@@ -28,7 +28,7 @@ namespace EvilSatellites
public MusicManager(Synthy engine)
{
Engine = engine;
_Volume = 0.2f;
_Volume = GameSettings.MusicVolume;
IsPlaying = false;
}
+4
View File
@@ -82,5 +82,9 @@
<li>Writing, testing: <a href="mailto:mayana@protonmail.com">Mayana</a></li>
<li>Voice acting (AI): <a href="mailto:raven.oska@gmail.com">Raven Oska</a></li>
<li>Testing: Defender AKA Superfreq</li>
<li><a href="https://github.com/dkager/tolk">Tolk</a></li>
<li><a href="https://github.com/nvaccess/nvda/tree/master/extras/controllerClient">NVDA Controller client</a></li>
<li><a href="https://www.monogame.net">MonoGame</a></li>
<li><a href="https://github.com/synthizer/synthizer">Synthizer</a></li>
<li><a href="https://shiftbacktick.io">Shift Backtick</a> and <a href="https://discord.com/invite/565Dgaw">the AudioGameDev discord server</a> for the game jam, the server, many fun conversations and a fantastic time!</li>
</ul>