Hellswipers/game/game.tscn
Mutzi afab78db12
Rewrote the game in C#
Added sounds and music
2024-03-21 11:53:40 +01:00

180 lines
4.8 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://c4sq21c5gf4tr"]
[ext_resource type="Script" path="res://src/Game/Game.cs" id="1_k7a4x"]
[ext_resource type="Script" path="res://src/Game/Stats.cs" id="2_u5dw2"]
[ext_resource type="Script" path="res://src/Game/Icons.cs" id="3_xkfay"]
[ext_resource type="AudioStream" uid="uid://u23ytxxg1iqg" path="res://sounds/swipe_ok.wav" id="4_2w4vj"]
[ext_resource type="AudioStream" uid="uid://b4pdua27sq0f7" path="res://music/_music.tres" id="4_arwoj"]
[ext_resource type="Script" path="res://src/Game/Audio.cs" id="4_xhtam"]
[ext_resource type="AudioStream" uid="uid://c3dpfownsatsb" path="res://sounds/error.wav" id="5_pklm0"]
[sub_resource type="Animation" id="Animation_2hnmi"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Arrows:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Name:self_modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_gc20x"]
resource_name = "round-end"
length = 0.2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Arrows:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Name:self_modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_e2j24"]
resource_name = "round-start"
length = 0.2
step = 0.025
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Arrows:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Name:self_modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wklcx"]
_data = {
"RESET": SubResource("Animation_2hnmi"),
"round-end": SubResource("Animation_gc20x"),
"round-start": SubResource("Animation_e2j24")
}
[node name="Gem" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = 20.0
offset_right = -20.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_k7a4x")
[node name="StatContainer" type="GridContainer" parent="."]
layout_mode = 0
offset_right = 132.0
offset_bottom = 104.0
columns = 2
script = ExtResource("2_u5dw2")
[node name="SolvedT" type="Label" parent="StatContainer"]
layout_mode = 2
text = "Solved: "
[node name="Solved" type="Label" parent="StatContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
text = "0"
horizontal_alignment = 2
[node name="ComboT" type="Label" parent="StatContainer"]
layout_mode = 2
text = "Combo: "
[node name="Combo" type="Label" parent="StatContainer"]
layout_mode = 2
text = "0"
horizontal_alignment = 2
[node name="Icons" type="Node2D" parent="."]
position = Vector2(448, 264)
script = ExtResource("3_xkfay")
[node name="Name" type="Label" parent="."]
layout_mode = 0
offset_left = 448.0
offset_top = 384.0
offset_right = 1250.0
offset_bottom = 434.0
text = "Teseoxfugholxcfyhngioldyfhgoiljxcnfohgibncdxflhjnfgdlkh"
[node name="Arrows" type="Node2D" parent="."]
position = Vector2(0, 500)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_wklcx")
}
[node name="Audio" type="Node" parent="."]
script = ExtResource("4_xhtam")
[node name="MusicPlayer" type="AudioStreamPlayer" parent="Audio"]
stream = ExtResource("4_arwoj")
volume_db = -14.0
autoplay = true
bus = &"Music"
[node name="OkSound" type="AudioStreamPlayer" parent="Audio"]
stream = ExtResource("4_2w4vj")
max_polyphony = 10
bus = &"Sound"
[node name="ErrorSound" type="AudioStreamPlayer" parent="Audio"]
stream = ExtResource("5_pklm0")
volume_db = -8.0
max_polyphony = 10
bus = &"Sound"