diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fe2d30 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +export/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..a255f16 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,13 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Lime", + "type": "lime", + "request": "launch" + } + ] +} \ No newline at end of file diff --git a/assets/jumpscare-fixed.ogg b/assets/jumpscare-fixed.ogg new file mode 100644 index 0000000..ef8b3cb Binary files /dev/null and b/assets/jumpscare-fixed.ogg differ diff --git a/source/PlayState.hx b/source/PlayState.hx index 1a9566a..98c799e 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -13,7 +13,7 @@ class PlayState extends FlxState var volume:Float = 1; override public function create() { - super.create(); + super.create(); FlxG.sound.volume = volume; FlxG.sound.muted = false; @@ -25,6 +25,6 @@ class PlayState extends FlxState function playjumpscaresound() { - FlxG.sound.play("assets/jumpscare.ogg"); + FlxG.sound.play("assets/jumpscare-fixed.ogg"); } } \ No newline at end of file