Removed Player from the Main scene in favor of instantiatiating Player

during the start of a new game.
This commit is contained in:
Henry 2025-12-23 16:27:48 +00:00
parent a20e496c2e
commit a007b08b83
3 changed files with 9 additions and 10 deletions

View file

@ -1,8 +1,7 @@
[gd_scene load_steps=11 format=3 uid="uid://cc2dnhuv4qx7m"]
[gd_scene load_steps=10 format=3 uid="uid://cc2dnhuv4qx7m"]
[ext_resource type="Script" uid="uid://c51huloycn5as" path="res://main.gd" id="1_h2yge"]
[ext_resource type="Texture2D" uid="uid://jj8b7vqj3ihx" path="res://Mini Pixel Pack 3/Space_BG (2 frames) (64 x 64).png" id="1_ig7tw"]
[ext_resource type="PackedScene" uid="uid://pyuorpwb7lpe" path="res://player.tscn" id="2_0xm2m"]
[ext_resource type="PackedScene" uid="uid://s6wf3egdqtmh" path="res://ui.tscn" id="4_1bvp3"]
[ext_resource type="Texture2D" uid="uid://bonoqs5pisflo" path="res://Mini Pixel Pack 3/UI objects/START (48 x 8).png" id="5_lquwl"]
[ext_resource type="Texture2D" uid="uid://bubqwoum50gf8" path="res://Mini Pixel Pack 3/UI objects/GAME_OVER (72 x 8).png" id="6_7mycd"]
@ -59,9 +58,6 @@ centered = false
region_enabled = true
region_rect = Rect2(0, 0, 240, 320)
[node name="Player" parent="." groups=["ship"] instance=ExtResource("2_0xm2m")]
position = Vector2(123, 254)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_lquwl")