mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 20:35:54 +00:00
Cheat buttons
This commit is contained in:
parent
0a631bf5b7
commit
e637f69ce6
7 changed files with 98 additions and 16 deletions
|
|
@ -385,8 +385,10 @@ Shield = NodePath("../DamageReceiver/ShieldProvider")
|
|||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="InteractionController"]
|
||||
shape = SubResource("CircleShape2D_g3wua")
|
||||
|
||||
[node name="ItemUser" type="Node2D" parent="."]
|
||||
[node name="ItemUser" type="Node2D" parent="." node_paths=PackedStringArray("Health", "Shield")]
|
||||
script = ExtResource("29_m323t")
|
||||
Health = NodePath("../DamageReceiver/HealthProvider")
|
||||
Shield = NodePath("../DamageReceiver/ShieldProvider")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
|
|
|
|||
|
|
@ -177,10 +177,11 @@ visible = false
|
|||
|
||||
[node name="DebugContainer" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
offset_left = 66.0
|
||||
offset_top = 45.0
|
||||
offset_right = 259.0
|
||||
offset_bottom = 156.0
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PauseMenuContainer" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
[ext_resource type="Resource" uid="uid://d1lc8lhq1b05p" path="res://Resources/Debug/DebugLevels.tres" id="3_cvgqx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1a0nwd4wdph7" path="res://Sprites/UI/Back_Small.png" id="5_1xl3a"]
|
||||
|
||||
[node name="DebugMenu" type="VBoxContainer" node_paths=PackedStringArray("ButtonsContainer", "DefaultSelectedButton")]
|
||||
[node name="DebugMenu" type="VBoxContainer" node_paths=PackedStringArray("ButtonsContainer", "CheatsContainer", "DefaultSelectedButton")]
|
||||
process_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
|
@ -17,6 +17,7 @@ script = ExtResource("1_5vtnj")
|
|||
ButtonTheme = ExtResource("2_6il8q")
|
||||
Levels = ExtResource("3_cvgqx")
|
||||
ButtonsContainer = NodePath("ScrollContainer/Level Select")
|
||||
CheatsContainer = NodePath("HBoxContainer/ScrollContainer/CheatsContainer")
|
||||
DefaultSelectedButton = NodePath("ScrollContainer/Level Select/BackButton")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
|
|
@ -35,6 +36,15 @@ theme_override_font_sizes/font_size = 14
|
|||
text = "God Mode
|
||||
"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="CheatsContainer" type="HBoxContainer" parent="HBoxContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue