48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
|
|
[gd_scene load_steps=4 format=3 uid="uid://da7fcce3oxm8u"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://Scenes/world.gd" id="1_cxia5"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://bte8o05kqyhvc" path="res://Scenes/player.tscn" id="1_hbkp4"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://cksss7drlqdum" path="res://Scenes/enemy_spawner.tscn" id="1_ts8nu"]
|
||
|
|
|
||
|
|
[node name="World" type="Node2D"]
|
||
|
|
script = ExtResource("1_cxia5")
|
||
|
|
|
||
|
|
[node name="EnemySpawner" parent="." instance=ExtResource("1_ts8nu")]
|
||
|
|
position = Vector2(3, -1)
|
||
|
|
|
||
|
|
[node name="bg" type="Sprite2D" parent="."]
|
||
|
|
|
||
|
|
[node name="player" parent="." instance=ExtResource("1_hbkp4")]
|
||
|
|
position = Vector2(251, 881)
|
||
|
|
|
||
|
|
[node name="Score" type="Label" parent="."]
|
||
|
|
offset_left = 18.0
|
||
|
|
offset_top = 51.0
|
||
|
|
offset_right = 130.0
|
||
|
|
offset_bottom = 85.0
|
||
|
|
text = "Score: 0"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
vertical_alignment = 1
|
||
|
|
|
||
|
|
[node name="health" type="Label" parent="."]
|
||
|
|
offset_left = 400.0
|
||
|
|
offset_top = 899.0
|
||
|
|
offset_right = 522.0
|
||
|
|
offset_bottom = 948.0
|
||
|
|
text = "Hull Integrity:
|
||
|
|
100%"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
vertical_alignment = 1
|
||
|
|
|
||
|
|
[node name="missile_count" type="Label" parent="."]
|
||
|
|
offset_left = 13.0
|
||
|
|
offset_top = 896.0
|
||
|
|
offset_right = 79.0
|
||
|
|
offset_bottom = 945.0
|
||
|
|
text = "Missiles:
|
||
|
|
3/3"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
|
||
|
|
[connection signal="spawn_laser" from="player" to="." method="_on_player_spawn_laser"]
|
||
|
|
[connection signal="spawn_missile" from="player" to="." method="_on_player_spawn_missile"]
|