Skip to content

Commit

Permalink
room scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Jun 13, 2024
1 parent c5a2951 commit 569963a
Show file tree
Hide file tree
Showing 7 changed files with 221 additions and 202 deletions.
170 changes: 170 additions & 0 deletions pets-gd/scenes/rooms/_Base.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
[gd_scene load_steps=9 format=3 uid="uid://pefjtfxt6buk"]

[ext_resource type="PackedScene" uid="uid://dk214wpitbhju" path="res://scenes/walking_enemy.tscn" id="1_p8bu8"]
[ext_resource type="PackedScene" uid="uid://xena0e3suwve" path="res://scenes/water_zone.tscn" id="2_gejdc"]
[ext_resource type="PackedScene" uid="uid://2i16xk27wro6" path="res://scenes/interaction_zone.tscn" id="3_u3son"]
[ext_resource type="PackedScene" uid="uid://q3osyj42bsr4" path="res://scenes/builds/bush_long.tscn" id="4_oeswr"]
[ext_resource type="PackedScene" uid="uid://drxvvfvnc7awr" path="res://scenes/builds/rodrick_sign.tscn" id="5_fy24m"]
[ext_resource type="PackedScene" uid="uid://c5mnxr4iyqch7" path="res://scenes/music_zone.tscn" id="6_18qsr"]
[ext_resource type="AudioStream" uid="uid://b83wws3dajmi5" path="res://assets/music/zone/routingout.ogg" id="7_5kf8t"]
[ext_resource type="PackedScene" uid="uid://spoekr5ja5vg" path="res://scenes/rooms/_Base_Tilemap.tscn" id="8_trxub"]

[node name="Room" type="Node2D"]
y_sort_enabled = true

[node name="Mouse1" parent="." instance=ExtResource("1_p8bu8")]
position = Vector2(888, 376)

[node name="WaterZone" parent="." instance=ExtResource("2_gejdc")]
position = Vector2(416, 1056)
scale = Vector2(3, -2)

[node name="DebugItem" parent="." instance=ExtResource("3_u3son")]
function_name = "debug_skill"
position = Vector2(-192, 64)

[node name="TeleporterDemo" type="Node2D" parent="."]
position = Vector2(-1216, 864)

[node name="TPRightIn" parent="TeleporterDemo" instance=ExtResource("3_u3son")]
beacon_target = NodePath("../TPRightOut")
auto_interact = true
position = Vector2(216, 0)
scale = Vector2(0.5, 0.5)

[node name="TPRightOut" parent="TeleporterDemo" instance=ExtResource("3_u3son")]
beacon_target = NodePath("../TPRightIn")
auto_interact = true
position = Vector2(344, 0)
scale = Vector2(0.5, 0.5)

[node name="RightBush" parent="TeleporterDemo" instance=ExtResource("4_oeswr")]
position = Vector2(360, 0)
collision_mask = 9

[node name="TPLeftOut" parent="TeleporterDemo" instance=ExtResource("3_u3son")]
beacon_target = NodePath("../TPLeftIn")
position = Vector2(-344, 0)
scale = Vector2(0.5, 0.5)

[node name="TPLeftIn" parent="TeleporterDemo" instance=ExtResource("3_u3son")]
beacon_target = NodePath("../TPLeftOut")
position = Vector2(-216, 0)
scale = Vector2(0.5, 0.5)

[node name="LeftBush" parent="TeleporterDemo" instance=ExtResource("4_oeswr")]
position = Vector2(-360, 0)
collision_mask = 9

[node name="DecoBushes" type="Node2D" parent="."]
y_sort_enabled = true

[node name="BushTriangle" type="Node2D" parent="DecoBushes"]
y_sort_enabled = true
position = Vector2(-32, 0)

[node name="BushMid" parent="DecoBushes/BushTriangle" instance=ExtResource("4_oeswr")]
position = Vector2(0, 900)
collision_mask = 9

[node name="Bush1" parent="DecoBushes/BushTriangle" instance=ExtResource("4_oeswr")]
position = Vector2(-150, 700)
collision_mask = 9

[node name="Bush2" parent="DecoBushes/BushTriangle" instance=ExtResource("4_oeswr")]
position = Vector2(150, 700)
collision_mask = 9

[node name="Bush3" parent="DecoBushes/BushTriangle" instance=ExtResource("4_oeswr")]
position = Vector2(-300, 500)
collision_mask = 9

[node name="Bush4" parent="DecoBushes/BushTriangle" instance=ExtResource("4_oeswr")]
position = Vector2(300, 500)
collision_mask = 9

[node name="BushHeart" type="Node2D" parent="DecoBushes"]
y_sort_enabled = true

[node name="Middle" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
y_sort_enabled = true
position = Vector2(0, 1800)
collision_mask = 9

[node name="Bush1" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(150, 1600)
collision_mask = 9

[node name="Bush2" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-150, 1600)
collision_mask = 9

[node name="Bush3" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(300, 1460)
collision_mask = 9

[node name="Bush4" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-300, 1460)
collision_mask = 9

[node name="Bush5" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(450, 1600)
collision_mask = 9

[node name="Bush6" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-450, 1600)
collision_mask = 9

[node name="Bush7" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(540, 1800)
collision_mask = 9

[node name="Bush8" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-540, 1800)
collision_mask = 9

[node name="Bush9" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(450, 2000)
collision_mask = 9

[node name="Bush10" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-450, 2000)
collision_mask = 9

[node name="Bush11" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(270, 2200)
collision_mask = 9

[node name="Bush12" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(-270, 2200)
collision_mask = 9

[node name="Bush18" parent="DecoBushes/BushHeart" instance=ExtResource("4_oeswr")]
position = Vector2(0, 2340)
collision_mask = 9

[node name="BushLong" parent="DecoBushes" instance=ExtResource("4_oeswr")]
position = Vector2(-900, 1300)
collision_mask = 9

[node name="BushLong2" parent="DecoBushes" instance=ExtResource("4_oeswr")]
position = Vector2(900, 1300)
collision_mask = 9

[node name="RodrickSign" parent="." instance=ExtResource("5_fy24m")]
position = Vector2(192, 64)
collision_mask = 9

[node name="InteractionZone" parent="RodrickSign" instance=ExtResource("3_u3son")]
interaction_id = "Rodrick Sign #1"

[node name="MZ_CV_Outdoors" parent="." instance=ExtResource("6_18qsr")]
music = ExtResource("7_5kf8t")

[node name="CollisionPolygon2D" parent="MZ_CV_Outdoors" index="0"]
visible = false
polygon = PackedVector2Array(-59.0769, -19.6923, 59.0769, -19.6923, 59.0769, 59.0769, -59.0769, 59.0769)

[node name="TileMap" parent="." instance=ExtResource("8_trxub")]

[editable path="MZ_CV_Outdoors"]
28 changes: 28 additions & 0 deletions pets-gd/scenes/rooms/_Base_Tilemap.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[gd_scene load_steps=2 format=3 uid="uid://spoekr5ja5vg"]

[ext_resource type="TileSet" uid="uid://dtft48lqhsjgr" path="res://assets/tilesets/cliff-dirt/tileset_cliff-dirt.tres" id="1_auiih"]

[node name="TileMap" type="TileMap"]
y_sort_enabled = true
scale = Vector2(4, 4)
tile_set = ExtResource("1_auiih")
format = 2
layer_0/name = "Cliffs"
layer_0/y_sort_enabled = true
layer_0/y_sort_origin = -10
layer_1/name = "Floor + 2"
layer_1/y_sort_origin = -11
layer_1/z_index = -1
layer_1/tile_data = PackedInt32Array()
layer_2/name = "Floor + 1"
layer_2/y_sort_origin = -11
layer_2/z_index = -2
layer_2/tile_data = PackedInt32Array()
layer_3/name = "Floor"
layer_3/y_sort_origin = -11
layer_3/z_index = -3
layer_3/tile_data = PackedInt32Array()
layer_4/name = "Floor - 1"
layer_4/y_sort_origin = -11
layer_4/z_index = -4
layer_4/tile_data = PackedInt32Array()
13 changes: 13 additions & 0 deletions pets-gd/scenes/rooms/cv-outdoors.tscn

Large diffs are not rendered by default.

Loading

0 comments on commit 569963a

Please sign in to comment.