summaryrefslogtreecommitdiff
path: root/scenes/game_over.tscn
blob: fc5be4b5825fde175c203d83d6669ae4bc380d52 (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
[gd_scene load_steps=6 format=3 uid="uid://c2qy3yacnarar"]

[ext_resource type="Script" uid="uid://d4ayvqargsfbd" path="res://scripts/game_over.gd" id="1_wqhvx"]
[ext_resource type="Texture2D" uid="uid://bvuippvjk57ru" path="res://assets/game_over.jpeg" id="2_tbwuq"]
[ext_resource type="AudioStream" uid="uid://b6gqbdoic7lr4" path="res://assets/11 - Death's Respite.wav" id="2_wqhvx"]
[ext_resource type="Shader" uid="uid://d3ktu01mh01ao" path="res://resources/oscillating_text.gdshader" id="4_racf3"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_7m3ot"]
shader = ExtResource("4_racf3")
shader_parameter/height = 2.0
shader_parameter/freq = 3.0
shader_parameter/speed = 5.0

[node name="GameOver" 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_wqhvx")

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

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("2_wqhvx")
pitch_scale = 0.7
autoplay = true

[node name="Label" type="Label" parent="."]
material = SubResource("ShaderMaterial_7m3ot")
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -20.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 = 2