asteroids/main.tscn

42 lines
1.3 KiB
Text

[gd_scene load_steps=6 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"]
[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"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -102.0
offset_top = 10.0
offset_right = -11.0
offset_bottom = 44.0
grow_horizontal = 0
text = "Score: 0"
horizontal_alignment = 2
script = ExtResource("3_5vw27")
[node name="Lives" type="HBoxContainer" parent="UI"]
offset_left = 15.0
offset_top = 15.0
offset_right = 199.0
offset_bottom = 108.0
theme_override_constants/separation = 10
script = ExtResource("4_kek77")
[node name="Spawner" type="Node2D" parent="."]
script = ExtResource("4_1bvp3")