summaryrefslogtreecommitdiff
path: root/scenes/title.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/title.tscn')
-rw-r--r--scenes/title.tscn53
1 files changed, 53 insertions, 0 deletions
diff --git a/scenes/title.tscn b/scenes/title.tscn
new file mode 100644
index 0000000..59450e7
--- /dev/null
+++ b/scenes/title.tscn
@@ -0,0 +1,53 @@
+[gd_scene load_steps=7 format=3 uid="uid://cgoebhfu5udrc"]
+
+[ext_resource type="Texture2D" uid="uid://cgmfpwb1eb88v" path="res://assets/title.png" id="1_4ignj"]
+[ext_resource type="Script" uid="uid://cxmpltan4gkpt" path="res://scenes/title.gd" id="1_wosw1"]
+[ext_resource type="AudioStream" uid="uid://coam5ivql7fwj" path="res://assets/13 - The Regret of Victory.wav" id="3_p6dhs"]
+[ext_resource type="Script" uid="uid://1d5icis2ddhc" path="res://scripts/audio_looper.gd" id="4_pyl7j"]
+[ext_resource type="Shader" uid="uid://d3ktu01mh01ao" path="res://resources/oscillating_text.gdshader" id="5_b3w7a"]
+
+[sub_resource type="ShaderMaterial" id="ShaderMaterial_4rr2b"]
+shader = ExtResource("5_b3w7a")
+shader_parameter/height = 2.0
+shader_parameter/freq = 3.0
+shader_parameter/speed = 5.0
+
+[node name="Title" type="Control"]
+layout_mode = 3
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+script = ExtResource("1_wosw1")
+
+[node name="TextureRect" type="TextureRect" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+texture = ExtResource("1_4ignj")
+expand_mode = 2
+
+[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
+stream = ExtResource("3_p6dhs")
+autoplay = true
+script = ExtResource("4_pyl7j")
+
+[node name="Label" type="Label" parent="."]
+material = SubResource("ShaderMaterial_4rr2b")
+layout_mode = 1
+anchors_preset = -1
+anchor_top = 0.916667
+anchor_right = 1.0
+anchor_bottom = 1.0
+offset_top = -28.0
+offset_bottom = -28.0
+grow_horizontal = 2
+grow_vertical = 0
+theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
+text = "press 'space'"
+horizontal_alignment = 1
+metadata/_edit_use_anchors_ = true