summaryrefslogtreecommitdiff
path: root/scenes/title.tscn
blob: 1380aba2f759467e0a1fb33269478a81953e49cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[gd_scene load_steps=7 format=3 uid="uid://cgoebhfu5udrc"]

[ext_resource type="Script" uid="uid://cxmpltan4gkpt" path="res://scripts/title.gd" id="1_iryts"]
[ext_resource type="Texture2D" uid="uid://cgmfpwb1eb88v" path="res://assets/title.png" id="2_tkqx6"]
[ext_resource type="AudioStream" uid="uid://coam5ivql7fwj" path="res://assets/13 - The Regret of Victory.wav" id="3_k8ybh"]
[ext_resource type="Script" uid="uid://1d5icis2ddhc" path="res://scripts/audio_looper.gd" id="4_5kvca"]
[ext_resource type="Shader" uid="uid://d3ktu01mh01ao" path="res://resources/oscillating_text.gdshader" id="5_13ku0"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_4rr2b"]
shader = ExtResource("5_13ku0")
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_iryts")

[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("2_tkqx6")
expand_mode = 2

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_k8ybh")
autoplay = true
script = ExtResource("4_5kvca")

[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_color = Color(1, 0.921569, 0.862745, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "press 'space'"
horizontal_alignment = 1
metadata/_edit_use_anchors_ = true