Added a chat sound effect.

main
unfa 2021-09-26 02:26:13 +02:00
parent dc80e15129
commit 54f08d66d9
32 changed files with 80403 additions and 3177 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<state.ttl>
lv2:appliesTo <urn:distrho:vitalium> ;
a pset:Preset ;
rdfs:seeAlso <state.ttl> .

File diff suppressed because it is too large Load Diff

View File

@ -54,9 +54,11 @@ func _unhandled_input(_event) -> void:
@rpc(sync, any, reliable) func chat_message(sender_pid: int, recipient_team, message: String) -> void:
var sender_info = main.player_list.get(sender_pid)
chat_history.append_text('\n' + '[b][color=' + sender_info.color.to_html() +']' + str(sender_info.name) + '[/color][/b] : [i]' + message + '[/i]')
$Message.play()
@rpc func chat_notification(message: String) -> void:
chat_history.append_text('\n · ' + '[i]' + message + '[/i]')
$Message.play()
func _on_Editor_text_submitted(new_text):
# RPC is currently not implemented in the engine

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://bff5uslrxesjx"]
[gd_scene load_steps=17 format=3 uid="uid://bff5uslrxesjx"]
[ext_resource type="Texture2D" uid="uid://blnjjtjifk22i" path="res://Assets/HUD/Vignette.png" id="1"]
[ext_resource type="Script" path="res://Assets/HUD/HUD.gd" id="1_wc430"]
@ -9,6 +9,7 @@
[ext_resource type="Script" path="res://Assets/HUD/Chat.gd" id="6"]
[ext_resource type="Theme" uid="uid://ddtu7o1dbp0s8" path="res://Assets/HUD/Theme.tres" id="7"]
[ext_resource type="Texture2D" uid="uid://ck4exwgifde4n" path="res://Assets/HUD/BarUnder.svg" id="9_q07oy"]
[ext_resource type="AudioStream" uid="uid://d36o2duyrij57" path="res://Assets/SFX/UI_Message.wav" id="9_ubwxw"]
[ext_resource type="Texture2D" uid="uid://dvt25wji1pdyl" path="res://Assets/HUD/BarOver.svg" id="10_5i332"]
[ext_resource type="Texture2D" uid="uid://0j6rxd7ncmu1" path="res://Assets/HUD/BarProgress.svg" id="11_tlgqu"]
@ -228,6 +229,10 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Message" type="AudioStreamPlayer" parent="Chat"]
stream = ExtResource( "9_ubwxw" )
script = null
[node name="RespawnCountdown" type="Label" parent="."]
visible = false
anchor_left = 0.5

BIN
Game/Assets/SFX/UI_Message.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,22 @@
[remap]
importer="wav"
type="AudioStreamSample"
uid="uid://d36o2duyrij57"
path="res://.godot/imported/UI_Message.wav-c2234a662df97064372e08df70ba8e0e.sample"
[deps]
source_file="res://Assets/SFX/UI_Message.wav"
dest_files=["res://.godot/imported/UI_Message.wav-c2234a662df97064372e08df70ba8e0e.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