diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
| commit | 75c83f4d7a628077d9ec98bfbd674699bfa20529 (patch) | |
| tree | 092244938ba3f2bf9e4355840e7f65176a6f5e3f /ui | |
| download | moon-buggy-2d-develop.tar.xz moon-buggy-2d-develop.zip | |
initial gdscript rewritedevelop
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/main.tscn | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ui/main.tscn b/ui/main.tscn new file mode 100644 index 0000000..3046607 --- /dev/null +++ b/ui/main.tscn @@ -0,0 +1,45 @@ +[gd_scene load_steps=3 format=3 uid="uid://bdcois27t8hvv"] + +[ext_resource type="PackedScene" uid="uid://b5aceskalmit7" path="res://components/meteor_spawner.tscn" id="1_nil3n"] +[ext_resource type="PackedScene" uid="uid://bkpids4l5roy3" path="res://components/space_background.tscn" id="2_vjqhe"] + +[node name="Main" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="SpaceBackground" parent="." instance=ExtResource("2_vjqhe")] +autoscroll = true + +[node name="Spawner" parent="." instance=ExtResource("1_nil3n")] +ignore_gravity = true +cooldown = 0.5 +probability = 0.75 + +[node name="Menu" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = 14 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +offset_left = 40.0 +offset_top = -50.5 +offset_right = -40.0 +offset_bottom = 50.5 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Start" type="Button" parent="Menu"] +layout_mode = 2 +text = "Start" + +[node name="Credits" type="Button" parent="Menu"] +layout_mode = 2 +text = "Credits" + +[node name="Quit" type="Button" parent="Menu"] +layout_mode = 2 +text = "Quit" |
