mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 02:33:47 +00:00
Map start system
This commit is contained in:
parent
4abab60eac
commit
7acc344986
11 changed files with 323 additions and 41 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bemu3l6b1e84y"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bemu3l6b1e84y"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/UI/DebugMenu.cs" id="1_5vtnj"]
|
||||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="2_wqb8e"]
|
||||
[ext_resource type="Resource" uid="uid://d1lc8lhq1b05p" path="res://Resources/Debug/DebugLevels.tres" id="3_cvgqx"]
|
||||
|
||||
[node name="DebugMenu" type="VBoxContainer" node_paths=PackedStringArray("ButtonsContainer")]
|
||||
anchors_preset = 15
|
||||
|
|
@ -11,8 +12,8 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
script = ExtResource("1_5vtnj")
|
||||
ButtonTheme = ExtResource("2_wqb8e")
|
||||
Levels = Array[String](["res://Scenes/test.tscn", "res://Scenes/naviogation_test.tscn", "res://Scenes/Actors/ActorEnemyTest.tscn", "res://Scenes/Maps/BossTestArena.tscn", "res://Scenes/Maps/RebelBase.tscn", "res://Scenes/Cutscenes/Intro.tscn"])
|
||||
ButtonsContainer = NodePath("Level Select")
|
||||
Levels = ExtResource("3_cvgqx")
|
||||
ButtonsContainer = NodePath("ScrollContainer/Level Select")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
|
@ -30,12 +31,18 @@ theme_override_font_sizes/font_size = 14
|
|||
text = "God Mode
|
||||
"
|
||||
|
||||
[node name="Level Select" type="FlowContainer" parent="."]
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="BackButton" type="Button" parent="Level Select"]
|
||||
[node name="Level Select" type="FlowContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="BackButton" type="Button" parent="ScrollContainer/Level Select"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wqb8e")
|
||||
text = "Back"
|
||||
|
||||
[connection signal="pressed" from="Level Select/BackButton" to="." method="_on_back_button_pressed"]
|
||||
[connection signal="pressed" from="ScrollContainer/Level Select/BackButton" to="." method="_on_back_button_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue