teststrecke-game/scenes/map_04.tscn
2024-11-30 19:16:24 +01:00

294 lines
7.2 KiB
Text

[gd_scene load_steps=17 format=4 uid="uid://dji2ku3464aus"]
[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_m3cjb"]
[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_u1rh5"]
[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_xmt4t"]
[ext_resource type="Texture2D" uid="uid://cvkrjllwsen6r" path="res://sprites/htrohr/ht_rohr.png" id="4_46p8j"]
[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_unub2"]
[ext_resource type="Script" path="res://scripts/line2d_to_collisionpolygon.gd" id="6_50nf2"]
[ext_resource type="Texture2D" uid="uid://bal4r8rnh38dx" path="res://sprites/htrohr/ht_rohr_fitting.png" id="6_lu60n"]
[ext_resource type="Texture2D" uid="uid://b0h14qq3jgbcw" path="res://sprites/htrohr/weights.png" id="7_7xqft"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"]
texture = ExtResource("1_m3cjb")
texture_region_size = Vector2i(256, 256)
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
4:0/0 = 0
5:0/0 = 0
6:0/0 = 0
7:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
4:1/0 = 0
5:1/0 = 0
6:1/0 = 0
7:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
5:2/0 = 0
6:2/0 = 0
7:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
[sub_resource type="TileSet" id="TileSet_5knbn"]
tile_size = Vector2i(256, 256)
sources/1 = SubResource("TileSetAtlasSource_qbu02")
[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"]
size = Vector2(23, 222)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"]
size = Vector2(19, 108)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"]
size = Vector2(20, 126)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"]
size = Vector2(20, 231)
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"]
texture = ExtResource("5_unub2")
texture_region_size = Vector2i(128, 128)
2:0/0 = 0
3:0/0 = 0
6:0/0 = 0
7:0/0 = 0
8:0/0 = 0
9:0/0 = 0
10:0/0 = 0
11:0/0 = 0
12:0/0 = 0
13:0/0 = 0
14:0/0 = 0
15:0/0 = 0
2:1/0 = 0
3:1/0 = 0
6:1/0 = 0
7:1/0 = 0
8:1/0 = 0
9:1/0 = 0
10:1/0 = 0
11:1/0 = 0
12:1/0 = 0
13:1/0 = 0
14:1/0 = 0
15:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
5:2/0 = 0
6:2/0 = 0
7:2/0 = 0
8:2/0 = 0
9:2/0 = 0
10:2/0 = 0
11:2/0 = 0
12:2/0 = 0
13:2/0 = 0
14:2/0 = 0
15:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:3/0 = 0
5:3/0 = 0
6:3/0 = 0
7:3/0 = 0
8:3/0 = 0
9:3/0 = 0
10:3/0 = 0
11:3/0 = 0
12:3/0 = 0
13:3/0 = 0
14:3/0 = 0
15:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
3:4/0 = 0
4:4/0 = 0
5:4/0 = 0
6:4/0 = 0
7:4/0 = 0
8:4/0 = 0
9:4/0 = 0
10:4/0 = 0
11:4/0 = 0
12:4/0 = 0
13:4/0 = 0
14:4/0 = 0
15:4/0 = 0
0:5/0 = 0
1:5/0 = 0
2:5/0 = 0
3:5/0 = 0
4:5/0 = 0
5:5/0 = 0
6:5/0 = 0
7:5/0 = 0
8:5/0 = 0
9:5/0 = 0
10:5/0 = 0
11:5/0 = 0
12:5/0 = 0
13:5/0 = 0
14:5/0 = 0
15:5/0 = 0
0:6/0 = 0
1:6/0 = 0
2:6/0 = 0
3:6/0 = 0
4:6/0 = 0
5:6/0 = 0
6:6/0 = 0
7:6/0 = 0
8:6/0 = 0
9:6/0 = 0
10:6/0 = 0
11:6/0 = 0
12:6/0 = 0
13:6/0 = 0
14:6/0 = 0
15:6/0 = 0
0:7/0 = 0
1:7/0 = 0
2:7/0 = 0
3:7/0 = 0
4:7/0 = 0
5:7/0 = 0
6:7/0 = 0
7:7/0 = 0
8:7/0 = 0
9:7/0 = 0
10:7/0 = 0
11:7/0 = 0
12:7/0 = 0
13:7/0 = 0
14:7/0 = 0
15:7/0 = 0
0:0/size_in_atlas = Vector2i(2, 2)
0:0/0 = 0
4:0/size_in_atlas = Vector2i(2, 2)
4:0/0 = 0
[sub_resource type="TileSet" id="TileSet_s6rw7"]
tile_size = Vector2i(128, 128)
sources/0 = SubResource("TileSetAtlasSource_hclam")
[node name="Map" type="Node"]
[node name="Background" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAD+/wEAAQAAAAAAAAD+/wAAAQAAAAAAAAD+////AQAAAAAAAAD+//7/AQABAAAAAAD///7/AQAAAAAAAAD///3/AQAAAAAAAAAAAP3/AQAAAAAAAAD+//3/AQABAAAAAAABAP3/AQAAAAAAAAACAP3/AQAAAAAAAAADAP3/AQABAAAAAAADAP7/AQAAAAAAAAAEAP7/AQAAAAAAAAACAP7/AQAAAAAAAAABAP7/AQAAAAAAAAAAAP7/AQAAAAAAAAAAAP//AQAAAAAAAAD/////AQAAAAAAAAABAP//AQAAAAAAAAACAP//AQAAAAAAAAADAP//AQAAAAAAAAAEAP//AQAAAAAAAAAEAAAAAQAAAAAAAAADAAAAAQABAAAAAAACAAAAAQAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAD//wAAAQAAAAAAAAD//wEAAQAAAAAAAAAAAAEAAQAAAAAAAAABAAEAAQAAAAAAAAACAAEAAQAAAAAAAAADAAEAAQAAAAAAAAAEAAEAAQABAAAAAAAEAP3/AQABAAAAAAA=")
tile_set = SubResource("TileSet_5knbn")
collision_enabled = false
[node name="road_bg" type="TileMapLayer" parent="."]
tile_set = ExtResource("2_u1rh5")
[node name="road_bg2" type="TileMapLayer" parent="."]
tile_set = ExtResource("2_u1rh5")
[node name="road_bg_fixes" type="TileMapLayer" parent="."]
tile_set = ExtResource("2_u1rh5")
[node name="markings" type="TileMapLayer" parent="."]
z_index = 1
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHA=")
tile_set = ExtResource("3_xmt4t")
[node name="Line2D" type="Line2D" parent="."]
z_index = 1
texture_filter = 1
points = PackedVector2Array(-137, 119, 353, 120, 429, 83, 498, 39, 621, 8, 744, 1, 859, -10, 935, -52, 935, -178, 888, -246, 825, -299, 471, -448, 256, -445, 121, -532, -32, -502, -250, -181, -308, -42, -260, 59, -146, 119, -147, 136)
width = 8.0
texture = ExtResource("4_46p8j")
texture_mode = 1
script = ExtResource("6_50nf2")
[node name="road_r" type="StaticBody2D" parent="Line2D"]
collision_layer = 3
[node name="fitting" type="Sprite2D" parent="Line2D"]
texture_filter = 1
position = Vector2(259, 120)
texture = ExtResource("6_lu60n")
[node name="weight" type="Sprite2D" parent="Line2D"]
texture = ExtResource("7_7xqft")
region_enabled = true
region_rect = Rect2(32, 0, 32, 32)
[node name="Line2D2" type="Line2D" parent="."]
z_index = 1
points = PackedVector2Array(-97, -109, 236, -111, 298, -107, 370, -83, 452, -64, 517, -82, 661, -85, 745, -98, 784, -149, 784, -228, 466, -384, 295, -358, 207, -356, 143, -399, 106, -433, 58, -433, -177, -159, -203, -92, -176, -55, -80, -127)
width = 6.0
texture = ExtResource("4_46p8j")
texture_mode = 1
script = ExtResource("6_50nf2")
[node name="road_l" type="StaticBody2D" parent="Line2D2"]
collision_layer = 3
[node name="fitting" type="Sprite2D" parent="Line2D2"]
texture_filter = 1
position = Vector2(259, 120)
texture = ExtResource("6_lu60n")
[node name="weight" type="Sprite2D" parent="Line2D2"]
texture = ExtResource("7_7xqft")
region_enabled = true
region_rect = Rect2(32, 0, 32, 32)
[node name="area_finish" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"]
position = Vector2(89.5, -1)
shape = SubResource("RectangleShape2D_daqun")
[node name="area_cp0" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"]
position = Vector2(536, -25)
shape = SubResource("RectangleShape2D_dltky")
[node name="area_cp1" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"]
position = Vector2(364, -411)
shape = SubResource("RectangleShape2D_uys5r")
[node name="area_cp2" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"]
position = Vector2(-123, -283)
shape = SubResource("RectangleShape2D_82iti")
[node name="scenery" type="TileMapLayer" parent="."]
z_index = 20
tile_set = SubResource("TileSet_s6rw7")