godot-ultimate-tutorial/scenes/houses/house.tscn

210 lines
13 KiB
Plaintext
Raw Normal View History

2023-08-15 20:51:29 +00:00
[gd_scene load_steps=5 format=3 uid="uid://bqh1eariqhtf6"]
[ext_resource type="Texture2D" uid="uid://c0lblyi161s1c" path="res://graphics/tilesets/interior.png" id="1_umx5j"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yjqt5"]
size = Vector2(4409, 3615)
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_svvnt"]
resource_name = "interior"
texture = ExtResource("1_umx5j")
texture_region_size = Vector2i(390, 390)
0:0/0 = 0
2023-10-08 17:29:32 +00:00
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:0/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:0/0 = 0
2023-10-08 17:29:32 +00:00
1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:0/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
2:0/0 = 0
2023-10-08 17:29:32 +00:00
2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:0/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
3:0/0 = 0
2023-10-08 17:29:32 +00:00
3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:0/0/physics_layer_0/angular_velocity = 0.0
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-17, 34, 61, -38, 195, -70, 195, 68, 95, 100, 73, 195, -65, 195, -65, 116)
2023-08-15 20:51:29 +00:00
4:0/0 = 0
2023-10-08 17:29:32 +00:00
4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
4:0/0/physics_layer_0/angular_velocity = 0.0
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(195, 70, 195, -68, -195, -70, -195, 72)
2023-08-15 20:51:29 +00:00
5:0/0 = 0
2023-10-08 17:29:32 +00:00
5:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
5:0/0/physics_layer_0/angular_velocity = 0.0
5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(17, 34, -61, -38, -195, -70, -195, 68, -95, 100, -73, 195, 65, 195, 65, 116)
2023-08-15 20:51:29 +00:00
6:0/0 = 0
2023-10-08 17:29:32 +00:00
6:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:0/0/physics_layer_0/angular_velocity = 0.0
6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-70, 195, 72.5, 195, 72.5, 170, -71.5, 170)
2023-08-15 20:51:29 +00:00
0:1/0 = 0
2023-10-08 17:29:32 +00:00
0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:1/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:1/0 = 0
2023-10-08 17:29:32 +00:00
1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:1/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
2:1/0 = 0
2023-10-08 17:29:32 +00:00
2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:1/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
3:1/0 = 0
2023-10-08 17:29:32 +00:00
3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:1/0/physics_layer_0/angular_velocity = 0.0
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-70, 195, 68, 195, 70, -195, -72, -195)
2023-08-15 20:51:29 +00:00
5:1/0 = 0
2023-10-08 17:29:32 +00:00
5:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
5:1/0/physics_layer_0/angular_velocity = 0.0
5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-70, 195, 68, 195, 70, -195, -72, -195)
2023-08-15 20:51:29 +00:00
6:1/0 = 0
2023-10-08 17:29:32 +00:00
6:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:1/0/physics_layer_0/angular_velocity = 0.0
6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-70, -195, 72.5, -195, 72.5, -170, -71.5, -170)
2023-08-15 20:51:29 +00:00
0:2/0 = 0
2023-10-08 17:29:32 +00:00
0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:2/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:2/0 = 0
2023-10-08 17:29:32 +00:00
1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:2/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
2:2/0 = 0
2023-10-08 17:29:32 +00:00
2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:2/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
3:2/0 = 0
2023-10-08 17:29:32 +00:00
3:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:2/0/physics_layer_0/angular_velocity = 0.0
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-17, -34, 61, 38, 195, 70, 195, -68, 95, -100, 73, -195, -65, -195, -65, -116)
2023-08-15 20:51:29 +00:00
4:2/0 = 0
2023-10-08 17:29:32 +00:00
4:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
4:2/0/physics_layer_0/angular_velocity = 0.0
4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(195, 70, 195, -68, -195, -70, -195, 72)
2023-08-15 20:51:29 +00:00
5:2/0 = 0
2023-10-08 17:29:32 +00:00
5:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
5:2/0/physics_layer_0/angular_velocity = 0.0
5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(17, -34, -61, 38, -195, 70, -195, -68, -95, -100, -73, -195, 65, -195, 65, -116)
2023-08-15 20:51:29 +00:00
6:2/0 = 0
2023-10-08 17:29:32 +00:00
6:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:2/0/physics_layer_0/angular_velocity = 0.0
6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-70, -195, 72.5, -195, 72.5, -170, -71.5, -170)
6:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(69.5, 173, -71.5, 173, -71.5, 173, -70.5, 195, 70.5, 195)
2023-08-15 20:51:29 +00:00
0:3/0 = 0
2023-10-08 17:29:32 +00:00
0:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:3/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:3/0 = 0
2023-10-08 17:29:32 +00:00
1:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:3/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
2:3/0 = 0
2023-10-08 17:29:32 +00:00
2:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:3/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
6:3/0 = 0
2023-10-08 17:29:32 +00:00
6:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:3/0/physics_layer_0/angular_velocity = 0.0
6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-195, 70, -195, -72.5, -170, -72.5, -170, 71.5)
2023-08-15 20:51:29 +00:00
0:4/0 = 0
2023-10-08 17:29:32 +00:00
0:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:4/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:4/0 = 0
2023-10-08 17:29:32 +00:00
1:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:4/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
2:4/0 = 0
2023-10-08 17:29:32 +00:00
2:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:4/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
6:4/0 = 0
2023-10-08 17:29:32 +00:00
6:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:4/0/physics_layer_0/angular_velocity = 0.0
6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(195, -70, 195, 72.5, 170, 72.5, 170, -71.5)
2023-08-15 20:51:29 +00:00
0:5/0 = 0
2023-10-08 17:29:32 +00:00
0:5/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:5/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
1:5/0 = 0
2023-10-08 17:29:32 +00:00
1:5/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:5/0/physics_layer_0/angular_velocity = 0.0
2023-08-15 20:51:29 +00:00
0:6/0 = 0
2023-10-08 17:29:32 +00:00
0:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:6/0/physics_layer_0/angular_velocity = 0.0
0:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(195, 21.3816, 195, -23.1634, -195, -21.2132, -195, 18.2688)
2023-08-15 20:51:29 +00:00
1:6/0 = 0
2023-10-08 17:29:32 +00:00
1:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:6/0/physics_layer_0/angular_velocity = 0.0
1:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(21.3816, -195, -23.1634, -195, -21.2132, 195, 18.2688, 195)
2023-08-15 20:51:29 +00:00
3:6/0 = 0
2023-10-08 17:29:32 +00:00
3:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:6/0/physics_layer_0/angular_velocity = 0.0
3:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-22.4492, -19.0819, -195, -19.0819, -195, 21.3267, -17.4715, 18.4285, -19.8425, 195, 19.8425, 195, 16.6677, 19.0488, 195, 21.3816, 195, -23.1634, 16.9271, -21.3816, 20.6362, -195, -21.4299, -195)
2023-08-15 20:51:29 +00:00
5:6/0 = 0
2023-10-08 17:29:32 +00:00
5:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
5:6/0/physics_layer_0/angular_velocity = 0.0
5:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-21.3816, 195, 23.1634, 195, 20.1587, 16.379, -20.4907, 19.1543)
2023-08-15 20:51:29 +00:00
0:7/0 = 0
2023-10-08 17:29:32 +00:00
0:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:7/0/physics_layer_0/angular_velocity = 0.0
0:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(22.4492, 19.0819, 195, 19.0819, 195, -21.3267, -17.4614, -17.8583, -20.6362, 195, 21.4299, 195)
2023-08-15 20:51:29 +00:00
1:7/0 = 0
2023-10-08 17:29:32 +00:00
1:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:7/0/physics_layer_0/angular_velocity = 0.0
1:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-19.0819, 22.4492, -19.0819, 195, 21.3267, 195, 17.8583, -17.4614, -195, -20.6362, -195, 21.4299)
2023-08-15 20:51:29 +00:00
2:7/0 = 0
2023-10-08 17:29:32 +00:00
2:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:7/0/physics_layer_0/angular_velocity = 0.0
2:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(22.4492, 19.0819, 195, 19.0819, 195, -21.3267, -17.4614, -17.8583, -195, -21.3816, -195, 23.1634, -16.9271, 21.3816, -20.6362, 195, 21.4299, 195)
2023-08-15 20:51:29 +00:00
3:7/0 = 0
2023-10-08 17:29:32 +00:00
3:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:7/0/physics_layer_0/angular_velocity = 0.0
3:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-19.0819, 22.4492, -19.0819, 195, 21.3267, 195, 17.8583, -17.4614, 21.3816, -195, -23.1634, -195, -21.3816, -16.9271, -195, -20.6362, -195, 21.4299)
2023-08-15 20:51:29 +00:00
4:7/0 = 0
2023-10-08 17:29:32 +00:00
4:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
4:7/0/physics_layer_0/angular_velocity = 0.0
4:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(195, 21.3816, 195, -23.1634, 16.379, -20.1587, 19.1543, 20.4907)
2023-08-15 20:51:29 +00:00
6:7/0 = 0
2023-10-08 17:29:32 +00:00
6:7/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:7/0/physics_layer_0/angular_velocity = 0.0
6:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-195, -21.3816, -195, 23.1634, -16.379, 20.1587, -19.1543, -20.4907)
2023-08-15 20:51:29 +00:00
0:8/0 = 0
2023-10-08 17:29:32 +00:00
0:8/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:8/0/physics_layer_0/angular_velocity = 0.0
0:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(19.0819, -22.4492, 19.0819, -195, -21.3267, -195, -17.8583, 17.4614, 195, 20.6362, 195, -21.4299)
2023-08-15 20:51:29 +00:00
1:8/0 = 0
2023-10-08 17:29:32 +00:00
1:8/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:8/0/physics_layer_0/angular_velocity = 0.0
1:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-22.4492, -19.0819, -195, -19.0819, -195, 21.3267, 17.4614, 17.8583, 20.6362, -195, -21.4299, -195)
2023-08-15 20:51:29 +00:00
2:8/0 = 0
2023-10-08 17:29:32 +00:00
2:8/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:8/0/physics_layer_0/angular_velocity = 0.0
2:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(19.0819, -22.4492, 19.0819, -195, -21.3267, -195, -17.8583, 17.4614, -21.3816, 195, 23.1634, 195, 21.3816, 16.9271, 195, 20.6362, 195, -21.4299)
2023-08-15 20:51:29 +00:00
3:8/0 = 0
2023-10-08 17:29:32 +00:00
3:8/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:8/0/physics_layer_0/angular_velocity = 0.0
3:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-22.4492, -19.0819, -195, -19.0819, -195, 21.3267, 17.4614, 17.8583, 195, 21.3816, 195, -23.1634, 16.9271, -21.3816, 20.6362, -195, -21.4299, -195)
2023-08-15 20:51:29 +00:00
5:8/0 = 0
2023-10-08 17:29:32 +00:00
5:8/0/physics_layer_0/linear_velocity = Vector2(0, 0)
5:8/0/physics_layer_0/angular_velocity = 0.0
5:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(21.3816, -195, -23.1634, -195, -20.1587, -16.379, 20.4907, -19.1543)
2023-08-15 20:51:29 +00:00
[sub_resource type="TileSet" id="TileSet_kpfoq"]
tile_size = Vector2i(390, 390)
2023-10-08 17:29:32 +00:00
physics_layer_0/collision_layer = 4
physics_layer_0/collision_mask = 11
2023-08-15 20:51:29 +00:00
sources/0 = SubResource("TileSetAtlasSource_svvnt")
[node name="House" type="Area2D"]
2023-10-08 17:29:32 +00:00
collision_layer = 16
2023-08-15 20:51:29 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(389.5, -7.5)
shape = SubResource("RectangleShape2D_yjqt5")
[node name="TileMap" type="TileMap" parent="."]
scale = Vector2(0.997162, 1.03893)
tile_set = SubResource("TileSet_kpfoq")
format = 2
layer_0/name = "FloorLayer"
layer_0/tile_data = PackedInt32Array(-196612, 65536, 1, -131076, 65536, 1, -65540, 65536, 1, -4, 65536, 1, 65532, 65536, 1, 131068, 65536, 1, 196604, 65536, 1, 262140, 65536, 1, -196611, 65536, 1, -131075, 65536, 1, -65539, 65536, 1, -3, 65536, 1, 65533, 65536, 1, 131069, 65536, 1, 196605, 65536, 1, 262141, 65536, 1, -196610, 65536, 1, -131074, 65536, 1, -65538, 65536, 1, -2, 65536, 1, 65534, 65536, 1, 131070, 65536, 1, 196606, 65536, 1, 262142, 65536, 1, -196609, 65536, 1, -131073, 65536, 1, -65537, 65536, 1, -1, 65536, 1, 65535, 65536, 1, 131071, 65536, 1, 196607, 65536, 1, 262143, 65536, 1, -262144, 65536, 1, -196608, 65536, 1, -131072, 65536, 1, -65536, 65536, 1, 0, 65536, 1, 65536, 65536, 1, 131072, 65536, 1, 196608, 65536, 1, -262143, 65536, 1, -196607, 65536, 1, -131071, 65536, 1, -65535, 65536, 1, 1, 65536, 1, 65537, 65536, 1, 131073, 65536, 1, 196609, 65536, 1, -262142, 65536, 1, -196606, 65536, 1, -131070, 65536, 1, -65534, 65536, 1, 2, 65536, 1, 65538, 65536, 1, 131074, 65536, 1, 196610, 65536, 1, -262141, 65536, 1, -196605, 65536, 1, -131069, 65536, 1, -65533, 65536, 1, 3, 65536, 1, 65539, 65536, 1, 131075, 65536, 1, 196611, 65536, 1, -262140, 65536, 1, -196604, 65536, 1, -131068, 65536, 1, -65532, 65536, 1, 4, 65536, 1, 65540, 65536, 1, 131076, 65536, 1, 196612, 65536, 1, -262139, 65536, 1, -196603, 65536, 1, -131067, 65536, 1, -65531, 65536, 1, 5, 65536, 1, 65541, 65536, 1, 131077, 65536, 1, 196613, 65536, 1, 327676, 65536, 2, 327677, 65536, 2, 327678, 65536, 2, 327679, 65536, 2, 262144, 65536, 2, 262145, 65536, 2, 262146, 65536, 2, 262147, 65536, 2, 262148, 131072, 4, 262149, 131072, 4, -262138, 131072, 1, -196602, 131072, 1, -131066, 131072, 1, -65530, 131072, 1, 6, 131072, 1, 65542, 131072, 1, 131078, 131072, 1, 196614, 131072, 1, -327674, 131072, 0, -262148, 65536, 0, -262147, 65536, 0, -262146, 65536, 0, -262145, 65536, 0, -327680, 65536, 0, -327679, 65536, 0, -327678, 65536, 0, -327677, 65536, 0, -327676, 65536, 0, -327675, 65536, 0, -262149, 0, 0, -196613, 0, 1, -131077, 0, 1, -65541, 0, 1, -5, 0, 1, 65531, 0, 1, 131067, 0, 1, 196603, 0, 1, 262139, 0, 1, 327675, 0, 2, 262150, 131072, 2)
layer_1/name = "OuterWallsLayer"
layer_1/enabled = true
layer_1/modulate = Color(1, 1, 1, 1)
layer_1/y_sort_enabled = false
layer_1/y_sort_origin = 0
layer_1/z_index = 0
layer_1/tile_data = PackedInt32Array(262150, 327680, 2, -327674, 327680, 0, -262138, 327680, 1, -196602, 327680, 1, -131066, 327680, 1, -65530, 327680, 1, 6, 327680, 1, 65542, 327680, 1, 131078, 327680, 1, 196614, 327680, 1, -262149, 196608, 0, -262148, 262144, 0, -262147, 262144, 0, -262146, 262144, 0, -262145, 262144, 0, -327680, 262144, 0, -327679, 262144, 0, -327678, 262144, 0, -327677, 262144, 0, -327676, 262144, 0, -327675, 262144, 0, 327675, 196608, 2, -196613, 196608, 1, -131077, 196608, 1, -65541, 196608, 1, -5, 196608, 1, 65531, 196608, 1, 131067, 196608, 1, 196603, 196608, 1, 262139, 196608, 1, 327676, 262144, 2, 327677, 262144, 2, 327678, 262144, 2, 327679, 262144, 2, 262144, 262144, 2, 262145, 262144, 2, 262146, 262144, 2, 262147, 262144, 2, 262148, 393216, 3, 262149, 393216, 4)
layer_2/name = "InnerWallsLayer"
layer_2/enabled = true
layer_2/modulate = Color(1, 1, 1, 1)
layer_2/y_sort_enabled = false
layer_2/y_sort_origin = 0
layer_2/z_index = 0
layer_2/tile_data = PackedInt32Array(262147, 327680, 8, 131075, 65536, 6, 196611, 65536, 6, 65539, 65536, 7, 131071, 0, 6, 65536, 0, 6, 65537, 0, 6, 65538, 0, 6, 131067, 262144, 7, 131068, 0, 6, 131069, 393216, 7, 131070, 262144, 7, -196613, 262144, 7, -262139, 0, 6, -262138, 393216, 7, -196612, 0, 6, -196611, 0, 6, -196610, 0, 6, -196609, 0, 6, -262144, 0, 6, -262142, 0, 6, -262141, 0, 6, -262140, 0, 6, -262143, 196608, 8, -327679, 327680, 6)