[gd_scene load_steps=6 format=3 uid="uid://ciperl36hv26g"] [ext_resource type="Script" path="res://scripts/Main.gd" id="1_ysxum"] [ext_resource type="Script" path="res://scripts/TileMapGenerator.gd" id="2_cbjcm"] [ext_resource type="Script" path="res://scripts/Control.gd" id="3_1t1c8"] [ext_resource type="PackedScene" uid="uid://2we3txfr812u" path="res://scenes/Camera_zoom_2d.tscn" id="4_rx82t"] [ext_resource type="Script" path="res://scripts/EntityPlacer.gd" id="5_8jju5"] [node name="Main" type="Node"] script = ExtResource("1_ysxum") [node name="TileMapGenerator" type="CanvasLayer" parent="."] script = ExtResource("2_cbjcm") [node name="EntityPlacer" type="Control" parent="."] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("5_8jju5") [node name="CameraZoom2D" parent="." 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 = 648.0 offset_top = 16.0 offset_right = 936.0 offset_bottom = 256.0 horizontal_alignment = 2 [connection signal="set_camera_position" from="." to="CameraZoom2D" method="_on_set_camera_position"] [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"]