Game now have a level system.

This commit is contained in:
2024-05-13 08:15:21 -04:00
parent a3d1e2cd52
commit 6c32b12a3c
3 changed files with 17 additions and 11 deletions

View File

@ -1,9 +1,8 @@
[gd_scene load_steps=5 format=3 uid="uid://bdarunpk3c2eh"]
[gd_scene load_steps=4 format=3 uid="uid://bdarunpk3c2eh"]
[ext_resource type="Script" path="res://scripts/game.gd" id="1_6727i"]
[ext_resource type="PackedScene" uid="uid://cbo47ftx0vcro" path="res://scenes/ship.tscn" id="1_esyqo"]
[ext_resource type="FontFile" uid="uid://bkcxbtx1vcj8w" path="res://assets/fonts/Color Basic.otf" id="2_gwtm0"]
[ext_resource type="PackedScene" uid="uid://6c6g7e5v3ifr" path="res://scenes/comet_spawner.tscn" id="3_gh4tl"]
[node name="Game" type="Node2D"]
script = ExtResource("1_6727i")
@ -42,7 +41,4 @@ color = Color(0, 0, 0, 1)
z_index = 1
position = Vector2(622, 309)
[node name="CometSpawner" parent="." instance=ExtResource("3_gh4tl")]
[connection signal="crashed" from="Ship" to="." method="game_over"]
[connection signal="comet_shot" from="CometSpawner" to="." method="increase_score"]