From e1bcfcb82883369fbf15cb1f776105afb99a7806 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 22 Apr 2024 01:11:22 +0200 Subject: [PATCH] Create a `MainGame` with everything in it --- scenes/game/main_game.tscn | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/scenes/game/main_game.tscn b/scenes/game/main_game.tscn index e1c11ea..18bbdd9 100644 --- a/scenes/game/main_game.tscn +++ b/scenes/game/main_game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://cxj5aud02f40j"] +[gd_scene load_steps=14 format=3 uid="uid://cxj5aud02f40j"] [ext_resource type="Script" path="res://scenes/game/main_game.gd" id="1_wiglu"] [ext_resource type="PackedScene" uid="uid://dm068vaseh45n" path="res://scenes/game/game_camera.tscn" id="2_db5xs"] @@ -8,6 +8,8 @@ [ext_resource type="PackedScene" uid="uid://b3gydtrenbw3n" path="res://entities/skull.tscn" id="6_5k7gy"] [ext_resource type="PackedScene" uid="uid://b04xhv32ypi42" path="res://entities/monocle.tscn" id="7_lahut"] [ext_resource type="PackedScene" uid="uid://8ejgwtkpaa44" path="res://entities/top_hat.tscn" id="8_atoon"] +[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="9_qrqqu"] +[ext_resource type="PackedScene" uid="uid://4d3ksr3171x4" path="res://entities/imp.tscn" id="10_yw228"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_058kb"] texture = ExtResource("2_o7bg5") @@ -828,9 +830,6 @@ layer_0/tile_data = PackedInt32Array(720915, 196608, 9, 655379, 65536, 10, 58984 [node name="GameCamera" parent="." instance=ExtResource("2_db5xs")] -[node name="DefaultSpawnParent" type="Node2D" parent="."] -unique_name_in_owner = true - [node name="Cursor" parent="." instance=ExtResource("5_g504x")] [node name="Walls" type="Node2D" parent="."] @@ -870,6 +869,9 @@ collision_mask = 0 [node name="Shape" type="CollisionShape2D" parent="Walls/LeftBoundary"] shape = SubResource("WorldBoundaryShape2D_htttx") +[node name="DefaultSpawnParent" type="Node2D" parent="."] +unique_name_in_owner = true + [node name="Skull" parent="." instance=ExtResource("6_5k7gy")] position = Vector2(2, 3) @@ -878,3 +880,27 @@ position = Vector2(-56, 56) [node name="TopHat" parent="." instance=ExtResource("8_atoon")] position = Vector2(56, -50) + +[node name="Sheep" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-310, 166) + +[node name="Imp" parent="." instance=ExtResource("10_yw228")] +position = Vector2(393, -137) + +[node name="Sheep2" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-415, 202) + +[node name="Sheep3" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-386, 112) + +[node name="Sheep4" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-314, 261) + +[node name="Sheep5" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-211, 241) + +[node name="Sheep6" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-491, 137) + +[node name="Sheep7" parent="." instance=ExtResource("9_qrqqu")] +position = Vector2(-177, 154)