idk anymore
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Script" path="res://scripts/menus/main_menu.gd" id="1_1osxu"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_yh38l"]
|
||||
font_size = 55
|
||||
font_size = 40
|
||||
|
||||
[sub_resource type="InputEventAction" id="InputEventAction_bc05y"]
|
||||
action = &"ui_accept"
|
||||
@@ -37,8 +37,10 @@ grow_vertical = 2
|
||||
[node name="Title" type="Label" parent="LogoContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Byte of Terrror"
|
||||
text = "Project
|
||||
Thought Experiment"
|
||||
label_settings = SubResource("LabelSettings_yh38l")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="StartGame" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
|
@@ -1,18 +1,37 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://1hja6jk0k310"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://1hja6jk0k310"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/menus/pause_menu.gd" id="1_e70hy"]
|
||||
|
||||
[node name="PauseMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
[sub_resource type="Shader" id="Shader_1tfvw"]
|
||||
code = "shader_type canvas_item;
|
||||
|
||||
uniform float blur_amount : hint_range(0, 5);
|
||||
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap;
|
||||
|
||||
void fragment() {
|
||||
COLOR = textureLod(SCREEN_TEXTURE, SCREEN_UV, blur_amount);
|
||||
}"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bxx1r"]
|
||||
shader = SubResource("Shader_1tfvw")
|
||||
shader_parameter/blur_amount = 2.0
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer"]
|
||||
process_mode = 3
|
||||
layer = 5
|
||||
visible = false
|
||||
script = ExtResource("1_e70hy")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
material = SubResource("ShaderMaterial_bxx1r")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_e70hy")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
process_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
@@ -26,13 +45,20 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Continue" type="Button" parent="VBoxContainer"]
|
||||
process_mode = 3
|
||||
layout_mode = 2
|
||||
text = "Weiter spielen"
|
||||
|
||||
[node name="RestartLevel" type="Button" parent="VBoxContainer"]
|
||||
process_mode = 3
|
||||
layout_mode = 2
|
||||
text = "Level neu starten"
|
||||
|
||||
[node name="CloseLevel" type="Button" parent="VBoxContainer"]
|
||||
process_mode = 3
|
||||
layout_mode = 2
|
||||
text = "Beenden"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Continue" to="." method="_on_continue_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/RestartLevel" to="." method="_on_restart_level_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/CloseLevel" to="." method="_on_close_level_pressed"]
|
||||
|
Reference in New Issue
Block a user