Add some UI sound effects
This commit is contained in:
parent
9d6b29a933
commit
3d57f3d839
15 changed files with 77 additions and 16 deletions
|
@ -5,8 +5,8 @@ class_name GameObjectDoor
|
||||||
export(NodePath) var interlockTargetPath
|
export(NodePath) var interlockTargetPath
|
||||||
var interlockTarget: GameObjectDoor = null
|
var interlockTarget: GameObjectDoor = null
|
||||||
|
|
||||||
var open_sound = preload("res://Sounds/SFX/door-open.wav")
|
var open_sound = preload("res://Sounds/SFX/effects/door-open.wav")
|
||||||
var close_sound = preload("res://Sounds/SFX/door-close.wav")
|
var close_sound = preload("res://Sounds/SFX/effects/door-close.wav")
|
||||||
|
|
||||||
export var idle_usage = 2
|
export var idle_usage = 2
|
||||||
export var active_usage = 10
|
export var active_usage = 10
|
||||||
|
@ -76,7 +76,7 @@ master func _close_timer_triggered():
|
||||||
func serialize():
|
func serialize():
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
func deserialize(data):
|
func deserialize(_data):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _open_sensor_triggered():
|
func _open_sensor_triggered():
|
||||||
|
|
12
CREDITS.md
12
CREDITS.md
|
@ -1,17 +1,21 @@
|
||||||
# Graphics
|
# Graphics
|
||||||
|
|
||||||
- Title screen background: [Star Nest by Pablo Roman Andrioli](https://www.shadertoy.com/view/XlfGRj) (MIT)
|
- Title screen background: [Star Nest by Pablo Roman Andrioli](https://www.shadertoy.com/view/XlfGRj) (MIT)
|
||||||
- All graphics in `Graphics/tgstation` is from [/tg/station](https://github.com/tgstation/tgstation) (CC 3.0 BY-SA)
|
- All graphics in `Graphics/tgstation` is from [/tg/station](https://github.com/tgstation/tgstation) (CC BY-SA 3.0)
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
|
|
||||||
- Title screen music: [Je suis un Phoenix by BlueMillenium](http://ccmixter.org/files/Bluemillenium/61325) (CC 3.0 BY-NC)
|
- Title screen music: [Je suis un Phoenix by BlueMillenium](http://ccmixter.org/files/Bluemillenium/61325) (CC BY-NC 3.0)
|
||||||
|
|
||||||
# Sound effects
|
# Sound effects
|
||||||
|
|
||||||
- Door open/close sounds:
|
- Door open/close sounds:
|
||||||
- [Hatch Seal.wav by Paul368 (freesound)](https://freesound.org/people/Paul368/sounds/264063/) (CC0)
|
- [Hatch Seal.wav by Paul368 (freesound)](https://freesound.org/people/Paul368/sounds/264063/) (CC0 1.0)
|
||||||
- [SFX Door Open.wav by Paul368 (freesound)](https://freesound.org/people/Paul368/sounds/264061/) (CC0)
|
- [SFX Door Open.wav by Paul368 (freesound)](https://freesound.org/people/Paul368/sounds/264061/) (CC0 1.0)
|
||||||
|
- Notification/beeps:
|
||||||
|
- [Chord Alert Notification by graham_makes (freesound)](https://freesound.org/people/graham_makes/sounds/457518/) (CC BY 3.0)
|
||||||
|
- [Messenger Notification Sounds by zzwerty (freesound)](https://freesound.org/people/zzwerty/sounds/315878/) (CC BY-NC 3.0)
|
||||||
|
- [Radio Sign Off by dylanh.sound (freesound)](https://freesound.org/people/dylanh.sound/sounds/524205/) (CC0 1.0)
|
||||||
|
|
||||||
# Code
|
# Code
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@ enum PopupName {
|
||||||
}
|
}
|
||||||
|
|
||||||
onready var logs = $Logs
|
onready var logs = $Logs
|
||||||
|
onready var scene = $"/root/scene"
|
||||||
|
|
||||||
|
const CHAT_RADIUS = 32*6
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
# Add options to menu buttons
|
# Add options to menu buttons
|
||||||
|
@ -39,3 +42,6 @@ func close_popup(map_name) -> void:
|
||||||
$MapPopup.visible = false
|
$MapPopup.visible = false
|
||||||
PopupName.EnergyUsage:
|
PopupName.EnergyUsage:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
func _send_chat(text):
|
||||||
|
scene.rpc("broadcast_zone", text + "\n", scene.world.player.global_position, CHAT_RADIUS)
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
importer="wav"
|
importer="wav"
|
||||||
type="AudioStreamSample"
|
type="AudioStreamSample"
|
||||||
path="res://.import/door-close.wav-1faad6bf3be9b5e52678e401977fe00a.sample"
|
path="res://.import/door-close.wav-f2186a53d65333241246e455153168e4.sample"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Sounds/SFX/door-close.wav"
|
source_file="res://Sounds/SFX/effects/door-close.wav"
|
||||||
dest_files=[ "res://.import/door-close.wav-1faad6bf3be9b5e52678e401977fe00a.sample" ]
|
dest_files=[ "res://.import/door-close.wav-f2186a53d65333241246e455153168e4.sample" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
importer="wav"
|
importer="wav"
|
||||||
type="AudioStreamSample"
|
type="AudioStreamSample"
|
||||||
path="res://.import/door-open.wav-3c5c5376563179dedddb5fd7fd542243.sample"
|
path="res://.import/door-open.wav-50d5fc4e7eea744e9b203efe71dc9b86.sample"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Sounds/SFX/door-open.wav"
|
source_file="res://Sounds/SFX/effects/door-open.wav"
|
||||||
dest_files=[ "res://.import/door-open.wav-3c5c5376563179dedddb5fd7fd542243.sample" ]
|
dest_files=[ "res://.import/door-open.wav-50d5fc4e7eea744e9b203efe71dc9b86.sample" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
importer="wav"
|
importer="wav"
|
||||||
type="AudioStreamSample"
|
type="AudioStreamSample"
|
||||||
path="res://.import/door-sound.wav-ac68dc9d9bb353e0d4a064d3f6b8439c.sample"
|
path="res://.import/door-sound.wav-a7dd359f7d7f7690a94b538a2bf51d4e.sample"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Sounds/SFX/door-sound.wav"
|
source_file="res://Sounds/SFX/effects/door-sound.wav"
|
||||||
dest_files=[ "res://.import/door-sound.wav-ac68dc9d9bb353e0d4a064d3f6b8439c.sample" ]
|
dest_files=[ "res://.import/door-sound.wav-a7dd359f7d7f7690a94b538a2bf51d4e.sample" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
BIN
Sounds/SFX/ui/neutral-bi-beep.ogg
Normal file
BIN
Sounds/SFX/ui/neutral-bi-beep.ogg
Normal file
Binary file not shown.
15
Sounds/SFX/ui/neutral-bi-beep.ogg.import
Normal file
15
Sounds/SFX/ui/neutral-bi-beep.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/neutral-bi-beep.ogg-b80d5dd9b7ca71aa0d191c8ef7940dc5.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sounds/SFX/ui/neutral-bi-beep.ogg"
|
||||||
|
dest_files=[ "res://.import/neutral-bi-beep.ogg-b80d5dd9b7ca71aa0d191c8ef7940dc5.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0
|
BIN
Sounds/SFX/ui/pleasant-notification.ogg
Normal file
BIN
Sounds/SFX/ui/pleasant-notification.ogg
Normal file
Binary file not shown.
15
Sounds/SFX/ui/pleasant-notification.ogg.import
Normal file
15
Sounds/SFX/ui/pleasant-notification.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/pleasant-notification.ogg-0bcbc33b236bc8b1ae34be188fe18751.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sounds/SFX/ui/pleasant-notification.ogg"
|
||||||
|
dest_files=[ "res://.import/pleasant-notification.ogg-0bcbc33b236bc8b1ae34be188fe18751.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
Sounds/SFX/ui/radio-message.wav
Normal file
BIN
Sounds/SFX/ui/radio-message.wav
Normal file
Binary file not shown.
21
Sounds/SFX/ui/radio-message.wav.import
Normal file
21
Sounds/SFX/ui/radio-message.wav.import
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamSample"
|
||||||
|
path="res://.import/radio-message.wav-ce2c91f356066e01259b32b652b758a3.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sounds/SFX/ui/radio-message.wav"
|
||||||
|
dest_files=[ "res://.import/radio-message.wav-ce2c91f356066e01259b32b652b758a3.sample" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop=false
|
||||||
|
compress/mode=0
|
Reference in a new issue