From 898877f09808691a5e5d45850d27ae85f270db16 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Thu, 2 Jun 2022 02:35:03 -0600 Subject: add food system --- src/ui/UI.tscn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/ui/UI.tscn (limited to 'src/ui/UI.tscn') diff --git a/src/ui/UI.tscn b/src/ui/UI.tscn new file mode 100644 index 0000000..f5b0ac3 --- /dev/null +++ b/src/ui/UI.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://ui/ui.gd" type="Script" id=1] + +[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 = 10.0 +margin_top = 10.0 +margin_right = 310.0 +margin_bottom = 110.0 + +[node name="VBox" type="VBoxContainer" parent="Root/StatsHUD"] +margin_right = 300.0 +margin_bottom = 100.0 + +[node name="SnakeSize" type="Label" parent="Root/StatsHUD/VBox"] +margin_right = 300.0 +margin_bottom = 14.0 -- cgit v1.2.3-54-g00ecf