summaryrefslogtreecommitdiff
path: root/src/ui/UI.tscn
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 10:27:35 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 10:27:35 -0600
commit9a2bcf02c2623c8f3e8f5e74e70b3c0333790484 (patch)
tree42c7398d15c6b888b7d9d00ecb4e8fc5107501c7 /src/ui/UI.tscn
parente6beb7d4d3450c68ca5ebfae040f42dd82db1b31 (diff)
refactor nodes to work with native scene changer, add functioning main menu
Diffstat (limited to 'src/ui/UI.tscn')
-rw-r--r--src/ui/UI.tscn58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/ui/UI.tscn b/src/ui/UI.tscn
deleted file mode 100644
index 79d8f93..0000000
--- a/src/ui/UI.tscn
+++ /dev/null
@@ -1,58 +0,0 @@
-[gd_scene load_steps=5 format=2]
-
-[ext_resource path="res://ui/ui.gd" type="Script" id=1]
-[ext_resource path="res://ui/hud/progress_bars/sprites/grow_progress_icon.png" type="Texture" id=2]
-[ext_resource path="res://ui/hud/snake/scenes/SnakeHUD.tscn" type="PackedScene" id=3]
-[ext_resource path="res://ui/hud/progress_bars/scenes/GrowthProgress.tscn" type="PackedScene" id=4]
-
-[node name="UI" type="CanvasLayer"]
-script = ExtResource( 1 )
-
-[node name="Root" type="Control" parent="."]
-anchor_right = 1.0
-anchor_bottom = 1.0
-
-[node name="StatsHUD" type="MarginContainer" parent="Root"]
-margin_left = 4.0
-margin_top = 4.0
-margin_right = 124.0
-margin_bottom = 44.0
-
-[node name="VBox" type="VBoxContainer" parent="Root/StatsHUD"]
-custom_constants/separation = 2
-
-[node name="SnakeHUD" parent="Root/StatsHUD/VBox" instance=ExtResource( 3 )]
-margin_right = 30.0
-margin_bottom = 8.0
-
-[node name="HBoxProgressBars" type="HBoxContainer" parent="Root/StatsHUD/VBox"]
-margin_top = 10.0
-margin_right = 30.0
-margin_bottom = 18.0
-custom_constants/separation = 2
-
-[node name="GrowthProgressIcon" type="TextureRect" parent="Root/StatsHUD/VBox/HBoxProgressBars"]
-margin_right = 8.0
-margin_bottom = 8.0
-texture = ExtResource( 2 )
-
-[node name="GrowthProgress" parent="Root/StatsHUD/VBox/HBoxProgressBars" instance=ExtResource( 4 )]
-margin_left = 10.0
-margin_right = 30.0
-margin_bottom = 8.0
-
-[node name="MarginContainer" type="MarginContainer" parent="Root"]
-anchor_top = 1.0
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_top = -20.0
-
-[node name="CenterContainer" type="CenterContainer" parent="Root/MarginContainer"]
-margin_right = 320.0
-margin_bottom = 20.0
-
-[node name="Start" type="Button" parent="Root/MarginContainer/CenterContainer"]
-margin_left = 139.0
-margin_right = 180.0
-margin_bottom = 20.0
-text = "Start"