Skip to content

Commit

Permalink
make base scene for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Jun 22, 2024
1 parent e2d9c49 commit d6b2a0f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 34 deletions.
18 changes: 18 additions & 0 deletions pets-gd/scenes/builds/Base Build.tscn
Original file line number Diff line number Diff line change
@@ -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
20 changes: 4 additions & 16 deletions pets-gd/scenes/builds/bush_long.tscn
Original file line number Diff line number Diff line change
@@ -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
20 changes: 4 additions & 16 deletions pets-gd/scenes/builds/rodrick_sign.tscn
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions pets-gd/scenes/rooms/cv-outdoors.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

Expand Down

0 comments on commit d6b2a0f

Please sign in to comment.