small racing game im working on
Diffstat (limited to 'start.tscn')
-rw-r--r--start.tscn39
1 files changed, 26 insertions, 13 deletions
diff --git a/start.tscn b/start.tscn
index e5a8f9d..eb0c68a 100644
--- a/start.tscn
+++ b/start.tscn
@@ -1,6 +1,10 @@
-[gd_scene load_steps=2 format=3 uid="uid://bvfqaoqjsxj73"]
+[gd_scene load_steps=6 format=3 uid="uid://bvfqaoqjsxj73"]
[ext_resource type="Theme" uid="uid://ch2uo5qd8ubx6" path="res://ui/theme.tres" id="1_gm0ws"]
+[ext_resource type="Script" path="res://ui/tracks.gd" id="2_po2ce"]
+[ext_resource type="Resource" uid="uid://crye0ijvmtsyb" path="res://tracks/multilap_test.tres" id="3_0yjp1"]
+[ext_resource type="Resource" uid="uid://de46bcu1ivmtq" path="res://tracks/test.tres" id="4_3xqvr"]
+[ext_resource type="PackedScene" uid="uid://calx1puxr4eng" path="res://scenes/race_high.tscn" id="5_m5kci"]
[node name="start" type="Control"]
layout_mode = 3
@@ -11,20 +15,29 @@ grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_gm0ws")
-[node name="GridContainer" type="GridContainer" parent="."]
+[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
-anchors_preset = 8
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-offset_left = -11.5
-offset_top = -15.5
-offset_right = 11.5
-offset_bottom = 15.5
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
+theme_override_constants/margin_left = 50
+theme_override_constants/margin_top = 50
+theme_override_constants/margin_right = 50
+theme_override_constants/margin_bottom = 50
+
+[node name="TabContainer" type="TabContainer" parent="MarginContainer"]
+layout_mode = 2
+
+[node name="play" type="VBoxContainer" parent="MarginContainer/TabContainer"]
+layout_mode = 2
-[node name="Button" type="Button" parent="GridContainer"]
+[node name="tracks" type="GridContainer" parent="MarginContainer/TabContainer/play"]
layout_mode = 2
-text = "test"
+theme_override_constants/h_separation = 15
+theme_override_constants/v_separation = 15
+columns = 5
+script = ExtResource("2_po2ce")
+tracks = Array[Resource("res://classes/track.gd")]([ExtResource("3_0yjp1"), ExtResource("4_3xqvr")])
+race = ExtResource("5_m5kci")