Skip to content

Commit

Permalink
Mixing adjustments. Volume adjustments for sound files.
Browse files Browse the repository at this point in the history
  • Loading branch information
MayaComposer committed Jan 19, 2020
1 parent 8c9fc8a commit 64e9e0e
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 105 deletions.
Binary file not shown.
3 changes: 1 addition & 2 deletions audio/MusicModule.gd
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,4 @@ func _on_Button4_pressed():
state_changed("menu")

func _on_Button5_pressed():
state_changed("final")

state_changed("final")
4 changes: 1 addition & 3 deletions audio/SoundModule.gd
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ func _process(delta):
if Input.is_action_just_pressed("ui_accept"):
play_sfx("Footsteps")



func play_sfx(sfxname:String):
if has_node(sfxname):
get_node(sfxname).play()
Expand All @@ -29,4 +27,4 @@ func stop_sfx(sfxname:String):
if has_node(sfxname):
get_node(sfxname).stop()
else:
print("Sound effect ", sfxname, " doesn't exist")
print("Sound effect ", sfxname, " doesn't exist")
Loading

0 comments on commit 64e9e0e

Please sign in to comment.