diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-06-03 21:13:19 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-06-03 21:13:19 -0600 |
commit | f922fe4669080d1633e0a345a3f8981867c9e841 (patch) | |
tree | 7c2c98bfca20fda37fe34ba99e2d3caa9a39ca02 /src/ui/UI.tscn | |
parent | 898877f09808691a5e5d45850d27ae85f270db16 (diff) |
add working world gen, fixed food placing, minor refactoring
Diffstat (limited to 'src/ui/UI.tscn')
-rw-r--r-- | src/ui/UI.tscn | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/src/ui/UI.tscn b/src/ui/UI.tscn index f5b0ac3..207a5fa 100644 --- a/src/ui/UI.tscn +++ b/src/ui/UI.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://ui/ui.gd" type="Script" id=1] +[ext_resource path="res://fonts/MonogramExtended.tres" type="DynamicFont" id=2] [node name="UI" type="CanvasLayer"] script = ExtResource( 1 ) @@ -12,13 +13,30 @@ 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 +margin_right = 130.0 +margin_bottom = 50.0 [node name="VBox" type="VBoxContainer" parent="Root/StatsHUD"] -margin_right = 300.0 -margin_bottom = 100.0 +margin_right = 120.0 +margin_bottom = 40.0 [node name="SnakeSize" type="Label" parent="Root/StatsHUD/VBox"] -margin_right = 300.0 -margin_bottom = 14.0 +margin_right = 120.0 +margin_bottom = 13.0 +custom_fonts/font = ExtResource( 2 ) + +[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" |