Particles system
This commit is contained in:
parent
30266b36cf
commit
0e5dee50f7
46 changed files with 643 additions and 200 deletions
93
scenes/gui/pause_menu.tscn
Normal file
93
scenes/gui/pause_menu.tscn
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://fm471x22n8kr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_loim0"]
|
||||
[ext_resource type="Script" uid="uid://gvwhpjoame6m" path="res://scripts/components/gui/PauseMenu.cs" id="2_4vp8g"]
|
||||
[ext_resource type="AudioStream" uid="uid://co33ajpc1a1qm" path="res://assets/audio/zo.mp3" id="3_e3p60"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tifvb"]
|
||||
atlas = ExtResource("1_loim0")
|
||||
region = Rect2(0, 0, 177, 174)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_or0he"]
|
||||
font_size = 32
|
||||
outline_size = 2
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4k24j"]
|
||||
atlas = ExtResource("1_loim0")
|
||||
region = Rect2(0, 221, 127, 20)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_or0he"]
|
||||
atlas = ExtResource("1_loim0")
|
||||
region = Rect2(255, 221, 118, 20)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_y3stn"]
|
||||
atlas = ExtResource("1_loim0")
|
||||
region = Rect2(194, 221, 61, 20)
|
||||
|
||||
[node name="PauseMenu" type="MarginContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_left = 150
|
||||
theme_override_constants/margin_top = 60
|
||||
theme_override_constants/margin_right = 150
|
||||
theme_override_constants/margin_bottom = 100
|
||||
|
||||
[node name="Pause" type="NinePatchRect" parent="."]
|
||||
process_mode = 3
|
||||
z_index = 1
|
||||
layout_mode = 2
|
||||
texture = SubResource("AtlasTexture_tifvb")
|
||||
patch_margin_left = 73
|
||||
patch_margin_top = 98
|
||||
patch_margin_right = 73
|
||||
patch_margin_bottom = 52
|
||||
script = ExtResource("2_4vp8g")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Pause"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 55
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="Buttons" type="VBoxContainer" parent="Pause/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PAUSED" type="Label" parent="Pause/MarginContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
text = "PAUSED"
|
||||
label_settings = SubResource("LabelSettings_or0he")
|
||||
horizontal_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="Pause/MarginContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_4k24j")
|
||||
icon_alignment = 1
|
||||
|
||||
[node name="RestartButton" type="Button" parent="Pause/MarginContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_or0he")
|
||||
icon_alignment = 1
|
||||
|
||||
[node name="ExitButton" type="Button" parent="Pause/MarginContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_y3stn")
|
||||
icon_alignment = 1
|
||||
|
||||
[node name="Audio" type="AudioStreamPlayer" parent="Pause"]
|
||||
stream = ExtResource("3_e3p60")
|
||||
|
||||
[connection signal="pressed" from="Pause/MarginContainer/Buttons/ContinueButton" to="Pause" method="Continue"]
|
||||
[connection signal="pressed" from="Pause/MarginContainer/Buttons/RestartButton" to="Pause" method="Restart"]
|
||||
[connection signal="pressed" from="Pause/MarginContainer/Buttons/ExitButton" to="Pause" method="Exit"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue