Files
Dunkanoid/GameOver.tscn
2024-05-10 20:47:29 +01:00

82 lines
2.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c3ikcjhbrm0hp"]
[ext_resource type="Script" path="res://GameOver.gd" id="1_clfqa"]
[ext_resource type="Theme" uid="uid://cfvww0geatnnk" path="res://MainTheme.tres" id="3_km2fx"]
[ext_resource type="Shader" path="res://Arkanoid.gdshader" id="3_u76hk"]
[ext_resource type="Texture2D" uid="uid://b56kjbt4ub52n" path="res://NoidTex.png" id="4_lxs2b"]
[ext_resource type="Script" path="res://ArkaLabel.gd" id="5_g14o8"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ne3hd"]
shader = ExtResource("3_u76hk")
shader_parameter/rect_global_position = Vector2(0, 0)
shader_parameter/rect_size = Vector2(160, 25)
shader_parameter/ColourTexture = ExtResource("4_lxs2b")
[node name="GameOver" type="Node2D"]
texture_filter = 1
script = ExtResource("1_clfqa")
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
autostart = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_right = 640.0
offset_bottom = 360.0
[node name="VSeparator" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_km2fx")
[node name="GameOver" type="Label" parent="VBoxContainer"]
material = SubResource("ShaderMaterial_ne3hd")
layout_mode = 2
theme = ExtResource("3_km2fx")
theme_type_variation = &"Arkanoid"
text = "GAME OVER"
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("5_g14o8")
[node name="VSeparator2" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_km2fx")
[node name="ScoreLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_km2fx")
text = "Score"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_km2fx")
[node name="ScoreBox" type="Label" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("3_km2fx")
theme_type_variation = &"Numbers"
text = "00000000"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_km2fx")
[node name="VSeparator3" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_km2fx")
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]