more sound effects and polish
This commit is contained in:
@@ -38,3 +38,24 @@ func _on_mask_list_mouse_entered() -> void:
|
||||
|
||||
func _on_mask_list_mouse_exited() -> void:
|
||||
animation_player.play_backwards("mask_list_up")
|
||||
|
||||
|
||||
func _on_mask_list_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
play_list_side_sfx()
|
||||
|
||||
|
||||
func _on_guest_list_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
play_list_side_sfx()
|
||||
|
||||
func _on_game_manager_defeat_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("defeat")
|
||||
|
||||
|
||||
func _on_game_manager_ring_bell_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("bell")
|
||||
|
||||
|
||||
func _on_game_manager_victory_noise() -> void:
|
||||
stream_player.switch_to_clip_by_name("victory")
|
||||
|
||||
Reference in New Issue
Block a user