diff --git a/pets-gd/scenes/builds/Base Build.tscn b/pets-gd/scenes/builds/Base Build.tscn new file mode 100644 index 00000000..5c4a2b25 --- /dev/null +++ b/pets-gd/scenes/builds/Base Build.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=2 format=3 uid="uid://h1du5kblkv2o"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ueqcd"] +radius = 4.0 +height = 21.3333 + +[node name="Build" type="StaticBody2D"] +position = Vector2(0, -16) + +[node name="Sprite2D" type="Sprite2D" parent="."] +scale = Vector2(4, 4) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, 16) +rotation = 1.57079 +scale = Vector2(4, 4) +shape = SubResource("CapsuleShape2D_ueqcd") +metadata/_edit_group_ = true diff --git a/pets-gd/scenes/builds/bush_long.tscn b/pets-gd/scenes/builds/bush_long.tscn index 2847aee5..3d1b94e7 100644 --- a/pets-gd/scenes/builds/bush_long.tscn +++ b/pets-gd/scenes/builds/bush_long.tscn @@ -1,21 +1,9 @@ -[gd_scene load_steps=3 format=3 uid="uid://q3osyj42bsr4"] +[gd_scene load_steps=3 format=3 uid="uid://dqu0s81c32bnq"] [ext_resource type="Texture2D" uid="uid://c50r4vfhgssms" path="res://assets/textures/builds/nature/bush_long.png" id="1_4j2qv"] +[ext_resource type="PackedScene" uid="uid://h1du5kblkv2o" path="res://scenes/builds/Base Build.tscn" id="1_a0vuj"] -[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ueqcd"] -radius = 4.0 -height = 21.3333 +[node name="BushLong" instance=ExtResource("1_a0vuj")] -[node name="BushLong" type="StaticBody2D"] -position = Vector2(0, -16) - -[node name="Sprite2D" type="Sprite2D" parent="."] -scale = Vector2(4, 4) +[node name="Sprite2D" parent="." index="0"] texture = ExtResource("1_4j2qv") - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(0, 16) -rotation = 1.57079 -scale = Vector2(4, 4) -shape = SubResource("CapsuleShape2D_ueqcd") -metadata/_edit_group_ = true diff --git a/pets-gd/scenes/builds/rodrick_sign.tscn b/pets-gd/scenes/builds/rodrick_sign.tscn index 1582f89e..96638923 100644 --- a/pets-gd/scenes/builds/rodrick_sign.tscn +++ b/pets-gd/scenes/builds/rodrick_sign.tscn @@ -1,21 +1,9 @@ -[gd_scene load_steps=3 format=3 uid="uid://drxvvfvnc7awr"] +[gd_scene load_steps=3 format=3 uid="uid://bsaithlic8uhk"] +[ext_resource type="PackedScene" uid="uid://h1du5kblkv2o" path="res://scenes/builds/Base Build.tscn" id="1_kaawg"] [ext_resource type="Texture2D" uid="uid://dd4tfjxmis0g4" path="res://assets/textures/builds/signs/sign_rodrick.png" id="1_vp6q5"] -[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ueqcd"] -radius = 4.0 -height = 21.3333 +[node name="RodrickSign" instance=ExtResource("1_kaawg")] -[node name="RodrickSign" type="StaticBody2D"] -position = Vector2(0, -16) - -[node name="Sprite2D" type="Sprite2D" parent="."] -scale = Vector2(4, 4) +[node name="Sprite2D" parent="." index="0"] texture = ExtResource("1_vp6q5") - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(0, 16) -rotation = 1.57079 -scale = Vector2(4, 4) -shape = SubResource("CapsuleShape2D_ueqcd") -metadata/_edit_group_ = true diff --git a/pets-gd/scenes/rooms/cv-outdoors.tscn b/pets-gd/scenes/rooms/cv-outdoors.tscn index 2967a5d8..16116592 100644 --- a/pets-gd/scenes/rooms/cv-outdoors.tscn +++ b/pets-gd/scenes/rooms/cv-outdoors.tscn @@ -4,8 +4,8 @@ [ext_resource type="PackedScene" uid="uid://dk214wpitbhju" path="res://scenes/walking_enemy.tscn" id="2_2qq46"] [ext_resource type="PackedScene" uid="uid://xena0e3suwve" path="res://scenes/water_zone.tscn" id="3_bqhqn"] [ext_resource type="PackedScene" uid="uid://2i16xk27wro6" path="res://scenes/interaction_zone.tscn" id="4_vwc65"] -[ext_resource type="PackedScene" uid="uid://q3osyj42bsr4" path="res://scenes/builds/bush_long.tscn" id="5_txn6p"] -[ext_resource type="PackedScene" uid="uid://drxvvfvnc7awr" path="res://scenes/builds/rodrick_sign.tscn" id="6_eminc"] +[ext_resource type="PackedScene" uid="uid://dqu0s81c32bnq" path="res://scenes/builds/bush_long.tscn" id="5_txn6p"] +[ext_resource type="PackedScene" uid="uid://bsaithlic8uhk" path="res://scenes/builds/rodrick_sign.tscn" id="6_eminc"] [node name="Room" instance=ExtResource("1_ls6vf")]