Skip to content

Commit

Permalink
fix(Audio): replace interface sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed May 18, 2024
1 parent a2364c0 commit 4e014b5
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 18 deletions.
Binary file not shown.
19 changes: 19 additions & 0 deletions assets/audio/interface/536764__egomassive__toss.ogg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[remap]

importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://b48opf3kvp3w4"
path="res://.godot/imported/536764__egomassive__toss.ogg-ac07c4fbf7670eab2a73ef98cdae49cf.oggvorbisstr"

[deps]

source_file="res://assets/audio/interface/536764__egomassive__toss.ogg"
dest_files=["res://.godot/imported/536764__egomassive__toss.ogg-ac07c4fbf7670eab2a73ef98cdae49cf.oggvorbisstr"]

[params]

loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4
Binary file not shown.
19 changes: 19 additions & 0 deletions assets/audio/interface/96127__bmaczero__contact1.ogg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[remap]

importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://bf5e66k0ilvd5"
path="res://.godot/imported/96127__bmaczero__contact1.ogg-6fbb17a214370630092e0556ba9866b3.oggvorbisstr"

[deps]

source_file="res://assets/audio/interface/96127__bmaczero__contact1.ogg"
dest_files=["res://.godot/imported/96127__bmaczero__contact1.ogg-6fbb17a214370630092e0556ba9866b3.oggvorbisstr"]

[params]

loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4
2 changes: 1 addition & 1 deletion core/systems/effects/play_audio_effect.gd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends Effect
class_name PlayAudioEffect

@export_category("AudioSteamPlayer")
@export_file("*.ogg") var audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"

var stream = load(audio)

Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/button.gd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends Button

@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/select_002.ogg"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"
var focus_audio_stream = load(focus_audio)
var select_audio_stream = load(select_audio)

Expand Down
2 changes: 1 addition & 1 deletion core/ui/components/card.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ script = ExtResource("1_aiin0")
on_signal = "focus_entered"

[node name="PlaySelectedAudioEffect" parent="." instance=ExtResource("2_701dj")]
audio = "res://assets/audio/interface/select_002.ogg"
audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"
on_signal = "pressed"

[node name="RaiseEffect" parent="." node_paths=PackedStringArray("target", "shadow") instance=ExtResource("3_gyi80")]
Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/card_button.gd
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ signal button_down
@export var highlight_speed := 0.1

@export_category("AudioSteamPlayer")
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/select_002.ogg"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"

@export_category("Mouse")
@export var click_focuses := true
Expand Down
8 changes: 4 additions & 4 deletions core/ui/components/card_button.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[ext_resource type="Script" path="res://core/ui/components/card_button.gd" id="1_62nf7"]

[sub_resource type="Image" id="Image_7o00x"]
[sub_resource type="Image" id="Image_aia7l"]
data = {
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
"format": "RGBA8",
Expand All @@ -11,8 +11,8 @@ data = {
"width": 16
}

[sub_resource type="ImageTexture" id="ImageTexture_wsaqv"]
image = SubResource("Image_7o00x")
[sub_resource type="ImageTexture" id="ImageTexture_yywoy"]
image = SubResource("Image_aia7l")

[node name="CardButton" type="PanelContainer"]
clip_children = 2
Expand All @@ -26,7 +26,7 @@ script = ExtResource("1_62nf7")
unique_name_in_owner = true
visible = false
layout_mode = 2
texture = SubResource("ImageTexture_wsaqv")
texture = SubResource("ImageTexture_yywoy")
expand_mode = 1
stretch_mode = 6

Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/card_icon_button.gd
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ signal button_down
@export var highlight_speed := 0.1

@export_category("AudioSteamPlayer")
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/select_002.ogg"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"

var tween: Tween
var focus_audio_stream = load(focus_audio)
Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/plugin_store_card.gd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const delete_icon := preload("res://assets/ui/icons/round-delete-forever.svg")
@export var highlight_speed := 0.1

@export_category("AudioSteamPlayer")
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/select_002.ogg"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"

var NotificationManager := load("res://core/global/notification_manager.tres") as NotificationManager
var PluginLoader := load("res://core/global/plugin_loader.tres") as PluginLoader
Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/poster.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const LAYOUTS: Dictionary = {
}

@export var text: String = "Empty"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/glitch_004.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/select_002.ogg"
@export_file("*.ogg") var focus_audio = "res://assets/audio/interface/536764__egomassive__toss.ogg"
@export_file("*.ogg") var select_audio = "res://assets/audio/interface/96127__bmaczero__contact1.ogg"
@export var layout: LAYOUT_MODE = LAYOUT_MODE.LANDSCAPE
@export var layout_scale: float = 1
var library_item: LibraryItem
Expand Down
4 changes: 2 additions & 2 deletions core/ui/components/poster.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ resource_local_to_scene = true
shader = ExtResource("1_42mcm")
shader_parameter/on = false
shader_parameter/color = Color(0.74, 0.57, 0.97, 1)
shader_parameter/width = 2
shader_parameter/width = 1.0
shader_parameter/pattern = 2
shader_parameter/inside = false
shader_parameter/add_margins = true
shader_parameter/width_speed = 3
shader_parameter/width_speed = 1.0
shader_parameter/Smooth = true

[sub_resource type="LabelSettings" id="LabelSettings_x4gc0"]
Expand Down

0 comments on commit 4e014b5

Please sign in to comment.