Newer
Older
DungeonShooting / DungeonShooting_Godot / scene / Room.tscn
[gd_scene load_steps=12 format=2]

[ext_resource path="res://resource/sprite/environment/itch-io-DungeonTileset4/16x16 dungeon ii wall reconfig v04 spritesheet.png" type="Texture" id=1]
[ext_resource path="res://src/game/room/RoomManager.cs" type="Script" id=3]
[ext_resource path="res://src/game/camera/GameCamera.cs" type="Script" id=5]

[sub_resource type="Environment" id=1]
background_mode = 4
glow_enabled = true

[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )

[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )

[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )

[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )

[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )

[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 0, 0, 16, 0, 16, 12, 0, 12 )

[sub_resource type="TileSet" id=2]
0/name = "16x16 dungeon ii wall reconfig v04 spritesheet.png 0"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 256, 144 )
0/tile_mode = 2
0/autotile/icon_coordinate = Vector2( 0, 8 )
0/autotile/tile_size = Vector2( 16, 16 )
0/autotile/spacing = 0
0/autotile/occluder_map = [  ]
0/autotile/navpoly_map = [  ]
0/autotile/priority_map = [  ]
0/autotile/z_index_map = [  ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 3 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 1, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 11, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 13, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0

[node name="Room" type="Navigation2D"]
script = ExtResource( 3 )
ObjectRootPath = NodePath("ObjectRoot")
YSortRootPath = NodePath("SortRoot")
TopTilePath = NodePath("SortRoot/MapRoot/TopTileMap")
MiddleTilePath = NodePath("SortRoot/MapRoot/MiddleTileMap")
FloorTilePath = NodePath("SortRoot/MapRoot/FloorTileMap")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 1 )

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 253, 219 )
current = true
limit_smoothed = true
editor_draw_drag_margin = true
script = ExtResource( 5 )

[node name="ObjectRoot" type="Node2D" parent="."]

[node name="SortRoot" type="YSort" parent="."]

[node name="MapRoot" type="Node2D" parent="SortRoot"]

[node name="TopTileMap" type="TileMap" parent="SortRoot/MapRoot"]
z_index = 10
tile_set = SubResource( 2 )
cell_size = Vector2( 16, 16 )
collision_mask = 0
bake_navigation = true
format = 1

[node name="MiddleTileMap" type="TileMap" parent="SortRoot/MapRoot"]
tile_set = SubResource( 2 )
cell_size = Vector2( 16, 16 )
cell_tile_origin = 2
cell_y_sort = true
collision_mask = 0
bake_navigation = true
format = 1

[node name="FloorTileMap" type="TileMap" parent="SortRoot/MapRoot"]
z_index = -10
tile_set = SubResource( 2 )
cell_size = Vector2( 16, 16 )
collision_mask = 0
bake_navigation = true
format = 1