asteroids/main.tscn
2025-10-19 20:04:59 -06:00

45 lines
1.4 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://cmlg48m6buclv"]
[ext_resource type="Texture2D" uid="uid://cuqofgxmpn2fu" path="res://Sprites/space.png" id="1_7mycd"]
[ext_resource type="Script" uid="uid://dpa4j6me328ak" path="res://Scripts/ui.gd" id="2_272bh"]
[ext_resource type="Script" uid="uid://efye4dftj3u6" path="res://Scripts/score.gd" id="3_5vw27"]
[ext_resource type="Script" uid="uid://mfgrqlsgsyrx" path="res://Scripts/spawner.gd" id="4_1bvp3"]
[ext_resource type="Script" uid="uid://miwfeu4n6uh7" path="res://Scripts/lives.gd" id="4_kek77"]
[sub_resource type="LabelSettings" id="LabelSettings_7mycd"]
[node name="Node2D" type="Node2D"]
[node name="Background" type="TextureRect" parent="."]
offset_right = 1153.0
offset_bottom = 648.0
texture = ExtResource("1_7mycd")
stretch_mode = 1
[node name="UI" type="CanvasLayer" parent="."]
script = ExtResource("2_272bh")
[node name="Score" type="Label" parent="UI"]
visible = false
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -66.0
offset_top = 2.0
offset_right = -5.0
offset_bottom = 25.0
grow_horizontal = 0
text = "Score: 0"
label_settings = SubResource("LabelSettings_7mycd")
horizontal_alignment = 2
script = ExtResource("3_5vw27")
[node name="Lives" type="HBoxContainer" parent="UI"]
offset_left = 6.0
offset_top = 6.0
offset_right = 46.0
offset_bottom = 46.0
script = ExtResource("4_kek77")
[node name="Spawner" type="Node2D" parent="."]
script = ExtResource("4_1bvp3")