citylimits-next/scenes/Main.tscn
2023-02-08 13:45:34 +02:00

564 lines
10 KiB
Text

[gd_scene load_steps=12 format=3 uid="uid://ciperl36hv26g"]
[ext_resource type="Script" path="res://scripts/Main.gd" id="1_ysxum"]
[ext_resource type="Texture2D" uid="uid://byy4k72uxx7sj" path="res://art/buildings/residential/med/med20x20res001.png" id="2_sfv1p"]
[ext_resource type="Script" path="res://scripts/Control.gd" id="3_1t1c8"]
[ext_resource type="Script" path="res://scripts/World.gd" id="3_6q5ju"]
[ext_resource type="Texture2D" uid="uid://dakvtfpnjuwwl" path="res://art/placeholder/outdoors.png" id="3_yddbk"]
[ext_resource type="Texture2D" uid="uid://bor3gkli3s8eg" path="res://art/terrain/water.png" id="4_i5fj4"]
[ext_resource type="PackedScene" uid="uid://2we3txfr812u" path="res://scenes/Camera_zoom_2d.tscn" id="4_rx82t"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3q7ue"]
texture = ExtResource("2_sfv1p")
0:0/size_in_atlas = Vector2i(20, 20)
0:0/next_alternative_id = 2
0:0/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_s55i2"]
texture = ExtResource("3_yddbk")
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
8:0/0 = 0
9:0/0 = 0
10:0/0 = 0
14:0/0 = 0
15:0/0 = 0
16:0/0 = 0
17:0/0 = 0
20:0/0 = 0
21:0/0 = 0
22:0/0 = 0
23:0/0 = 0
24:0/0 = 0
25:0/0 = 0
26:0/0 = 0
27:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
8:1/0 = 0
9:1/0 = 0
10:1/0 = 0
14:1/0 = 0
15:1/0 = 0
16:1/0 = 0
17:1/0 = 0
21:1/0 = 0
23:1/0 = 0
25:1/0 = 0
27:1/0 = 0
28:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
8:2/0 = 0
9:2/0 = 0
10:2/0 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21:7/0 = 0
24:7/0 = 0
25:7/0 = 0
26:7/0 = 0
27:7/0 = 0
0:8/0 = 0
1:8/0 = 0
2:8/0 = 0
3:8/0 = 0
8:8/0 = 0
9:8/0 = 0
10:8/0 = 0
11:8/0 = 0
12:8/0 = 0
13:8/0 = 0
14:8/0 = 0
15:8/0 = 0
16:8/0 = 0
17:8/0 = 0
18:8/0 = 0
19:8/0 = 0
20:8/0 = 0
21:8/0 = 0
22:8/0 = 0
23:8/0 = 0
24:8/0 = 0
25:8/0 = 0
26:8/0 = 0
27:8/0 = 0
0:9/0 = 0
1:9/0 = 0
2:9/0 = 0
3:9/0 = 0
8:9/0 = 0
9:9/0 = 0
10:9/0 = 0
11:9/0 = 0
12:9/0 = 0
13:9/0 = 0
14:9/0 = 0
15:9/0 = 0
16:9/0 = 0
17:9/0 = 0
18:9/0 = 0
19:9/0 = 0
22:9/0 = 0
23:9/0 = 0
26:9/0 = 0
27:9/0 = 0
0:10/0 = 0
1:10/0 = 0
2:10/0 = 0
3:10/0 = 0
8:10/0 = 0
9:10/0 = 0
10:10/0 = 0
12:10/0 = 0
13:10/0 = 0
14:10/0 = 0
15:10/0 = 0
16:10/0 = 0
17:10/0 = 0
18:10/0 = 0
19:10/0 = 0
22:10/0 = 0
23:10/0 = 0
26:10/0 = 0
27:10/0 = 0
0:11/0 = 0
8:11/0 = 0
9:11/0 = 0
10:11/0 = 0
12:11/0 = 0
13:11/0 = 0
14:11/0 = 0
15:11/0 = 0
16:11/0 = 0
17:11/0 = 0
18:11/0 = 0
19:11/0 = 0
20:11/0 = 0
21:11/0 = 0
22:11/0 = 0
23:11/0 = 0
24:11/0 = 0
25:11/0 = 0
26:11/0 = 0
0:12/0 = 0
8:12/0 = 0
9:12/0 = 0
10:12/0 = 0
11:12/0 = 0
12:12/0 = 0
13:12/0 = 0
14:12/0 = 0
15:12/0 = 0
16:12/0 = 0
17:12/0 = 0
18:12/0 = 0
19:12/0 = 0
21:12/0 = 0
22:12/0 = 0
24:12/0 = 0
25:12/0 = 0
26:12/0 = 0
0:13/0 = 0
8:13/0 = 0
9:13/0 = 0
10:13/0 = 0
11:13/0 = 0
12:13/0 = 0
13:13/0 = 0
14:13/0 = 0
15:13/0 = 0
16:13/0 = 0
17:13/0 = 0
18:13/0 = 0
19:13/0 = 0
21:13/0 = 0
22:13/0 = 0
24:13/0 = 0
25:13/0 = 0
26:13/0 = 0
0:14/0 = 0
8:14/0 = 0
9:14/0 = 0
10:14/0 = 0
11:14/0 = 0
12:14/0 = 0
13:14/0 = 0
14:14/0 = 0
15:14/0 = 0
16:14/0 = 0
17:14/0 = 0
18:14/0 = 0
19:14/0 = 0
24:14/0 = 0
10:15/0 = 0
11:15/0 = 0
12:15/0 = 0
13:15/0 = 0
14:15/0 = 0
15:15/0 = 0
16:15/0 = 0
17:15/0 = 0
18:15/0 = 0
19:15/0 = 0
21:15/0 = 0
22:15/0 = 0
23:15/0 = 0
24:15/0 = 0
25:15/0 = 0
26:15/0 = 0
27:15/0 = 0
28:15/0 = 0
21:16/0 = 0
22:16/0 = 0
23:16/0 = 0
24:16/0 = 0
25:16/0 = 0
26:16/0 = 0
27:16/0 = 0
28:16/0 = 0
21:17/0 = 0
22:17/0 = 0
23:17/0 = 0
24:17/0 = 0
25:17/0 = 0
26:17/0 = 0
27:17/0 = 0
28:17/0 = 0
8:18/0 = 0
9:18/0 = 0
10:18/0 = 0
11:18/0 = 0
21:18/0 = 0
22:18/0 = 0
23:18/0 = 0
24:18/0 = 0
25:18/0 = 0
26:18/0 = 0
27:18/0 = 0
28:18/0 = 0
8:19/0 = 0
11:19/0 = 0
21:19/0 = 0
22:19/0 = 0
23:19/0 = 0
24:19/0 = 0
25:19/0 = 0
26:19/0 = 0
27:19/0 = 0
28:19/0 = 0
8:20/0 = 0
9:20/0 = 0
10:20/0 = 0
11:20/0 = 0
21:20/0 = 0
22:20/0 = 0
23:20/0 = 0
24:20/0 = 0
25:20/0 = 0
26:20/0 = 0
27:20/0 = 0
28:20/0 = 0
9:21/0 = 0
10:21/0 = 0
11:21/0 = 0
21:21/0 = 0
22:21/0 = 0
23:21/0 = 0
24:21/0 = 0
25:21/0 = 0
26:21/0 = 0
27:21/0 = 0
28:21/0 = 0
9:22/0 = 0
10:22/0 = 0
21:22/0 = 0
22:22/0 = 0
23:22/0 = 0
24:22/0 = 0
25:22/0 = 0
26:22/0 = 0
27:22/0 = 0
28:22/0 = 0
21:23/0 = 0
22:23/0 = 0
23:23/0 = 0
24:23/0 = 0
21:24/0 = 0
22:24/0 = 0
23:24/0 = 0
24:24/0 = 0
7:0/size_in_atlas = Vector2i(1, 3)
7:0/0 = 0
7:3/0 = 0
4:3/size_in_atlas = Vector2i(3, 1)
4:3/0 = 0
4:0/size_in_atlas = Vector2i(3, 3)
4:0/0 = 0
13:18/size_in_atlas = Vector2i(2, 5)
13:18/0 = 0
12:20/size_in_atlas = Vector2i(1, 3)
12:20/0 = 0
15:20/size_in_atlas = Vector2i(1, 3)
15:20/0 = 0
4:24/size_in_atlas = Vector2i(3, 3)
4:24/0 = 0
4:27/size_in_atlas = Vector2i(3, 1)
4:27/0 = 0
7:27/0 = 0
7:24/size_in_atlas = Vector2i(1, 3)
7:24/0 = 0
4:20/size_in_atlas = Vector2i(3, 3)
4:20/0 = 0
4:23/size_in_atlas = Vector2i(3, 1)
4:23/0 = 0
7:23/0 = 0
7:20/size_in_atlas = Vector2i(1, 3)
7:20/0 = 0
4:16/size_in_atlas = Vector2i(3, 3)
4:16/0 = 0
4:19/size_in_atlas = Vector2i(3, 1)
4:19/0 = 0
7:19/0 = 0
7:16/size_in_atlas = Vector2i(1, 3)
7:16/0 = 0
7:15/0 = 0
4:15/size_in_atlas = Vector2i(3, 1)
4:15/0 = 0
4:12/size_in_atlas = Vector2i(3, 3)
4:12/0 = 0
7:12/size_in_atlas = Vector2i(1, 3)
7:12/0 = 0
4:4/size_in_atlas = Vector2i(3, 3)
4:4/0 = 0
7:4/size_in_atlas = Vector2i(1, 3)
7:4/0 = 0
7:7/0 = 0
4:7/size_in_atlas = Vector2i(3, 1)
4:7/0 = 0
4:8/size_in_atlas = Vector2i(3, 3)
4:8/0 = 0
7:8/size_in_atlas = Vector2i(1, 3)
7:8/0 = 0
7:11/0 = 0
4:11/size_in_atlas = Vector2i(3, 1)
4:11/0 = 0
8:15/size_in_atlas = Vector2i(2, 3)
8:15/0 = 0
10:16/size_in_atlas = Vector2i(3, 2)
10:16/0 = 0
13:16/size_in_atlas = Vector2i(3, 2)
13:16/0 = 0
16:16/size_in_atlas = Vector2i(2, 2)
16:16/0 = 0
14:2/size_in_atlas = Vector2i(4, 4)
14:2/0 = 0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_bcy6h"]
texture = ExtResource("4_i5fj4")
0:0/0 = 0
[sub_resource type="TileSet" id="TileSet_t3bbo"]
terrain_set_0/mode = 0
sources/1 = SubResource("TileSetAtlasSource_s55i2")
sources/0 = SubResource("TileSetAtlasSource_3q7ue")
sources/2 = SubResource("TileSetAtlasSource_bcy6h")
[node name="Main" type="Node"]
script = ExtResource("1_ysxum")
[node name="World" type="TileMap" parent="."]
tile_set = SubResource("TileSet_t3bbo")
format = 2
layer_0/name = "Buildings"
layer_1/name = "Terrain"
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()
script = ExtResource("3_6q5ju")
[node name="CameraZoom2D" parent="World" instance=ExtResource("4_rx82t")]
position = Vector2(960, 536)
limit_left = -40000
limit_top = -40000
limit_right = 40000
limit_bottom = 40000
editor_draw_limits = true
[node name="UILayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="UILayer"]
layout_mode = 3
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
grow_horizontal = 2
script = ExtResource("3_1t1c8")
metadata/_edit_use_anchors_ = true
[node name="ConstructionPanel" type="Panel" parent="UILayer/Control"]
custom_minimum_size = Vector2(500, 100)
layout_mode = 0
offset_left = -248.0
offset_right = 252.0
offset_bottom = 120.0
[node name="button_residental" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_commercial" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_industrial" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_roads" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_demolish" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_services" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="button_social" type="Button" parent="UILayer/Control/ConstructionPanel"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
[node name="DebugInfo" type="Label" parent="UILayer/Control"]
layout_mode = 0
offset_left = 568.0
offset_top = 24.0
offset_right = 928.0
offset_bottom = 280.0
[connection signal="button_pressed" from="UILayer/Control" to="World" method="_on_control_button_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_residental" to="UILayer/Control" method="_on_button_residental_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_commercial" to="UILayer/Control" method="_on_button_commercial_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_industrial" to="UILayer/Control" method="_on_button_industrial_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_roads" to="UILayer/Control" method="_on_button_roads_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_demolish" to="UILayer/Control" method="_on_button_demolish_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_services" to="UILayer/Control" method="_on_button_services_pressed"]
[connection signal="pressed" from="UILayer/Control/ConstructionPanel/button_social" to="UILayer/Control" method="_on_button_social_pressed"]