mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 09:24:44 -04:00
Major clean up and reorganization
- Upgraded to Godot 4 - Just remembered the basic principles are based on a tile editor, and dramatically simplified from there. Derp. - New state machine and license display add-ons. - Re-licensed under the GPL because Micropolis' assets aren't under a separate one.
This commit is contained in:
parent
55ed76c914
commit
c980445340
337 changed files with 5129 additions and 7661 deletions
|
@ -1,76 +0,0 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/city_status.gd" type="Script" id=1]
|
||||
|
||||
[node name="Menu" type="Panel"]
|
||||
anchor_right = 1.0
|
||||
margin_bottom = 32.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="StatCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.0136054
|
||||
anchor_top = 0.257143
|
||||
anchor_right = 0.312925
|
||||
anchor_bottom = 0.817143
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="CityNameLbl" type="Label" parent="StatCtr"]
|
||||
margin_top = 1.0
|
||||
margin_right = 66.0
|
||||
margin_bottom = 15.0
|
||||
text = "City Name"
|
||||
align = 1
|
||||
|
||||
[node name="YearLbl" type="Label" parent="StatCtr"]
|
||||
margin_left = 70.0
|
||||
margin_top = 1.0
|
||||
margin_right = 109.0
|
||||
margin_bottom = 15.0
|
||||
text = "Y1980"
|
||||
align = 1
|
||||
|
||||
[node name="BudgetLbl" type="Label" parent="StatCtr"]
|
||||
margin_left = 113.0
|
||||
margin_top = 1.0
|
||||
margin_right = 128.0
|
||||
margin_bottom = 15.0
|
||||
text = "§0"
|
||||
align = 1
|
||||
|
||||
[node name="ButtonCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.733722
|
||||
anchor_top = 0.212291
|
||||
anchor_right = 0.987366
|
||||
anchor_bottom = 0.818005
|
||||
margin_top = -0.906677
|
||||
margin_bottom = 3.95047
|
||||
alignment = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="TaxBtn" type="Button" parent="ButtonCtr"]
|
||||
margin_left = 105.0
|
||||
margin_right = 138.0
|
||||
margin_bottom = 24.0
|
||||
text = "RCI"
|
||||
flat = true
|
||||
|
||||
[node name="AdvsiorBtn" type="Button" parent="ButtonCtr"]
|
||||
margin_left = 142.0
|
||||
margin_right = 209.0
|
||||
margin_bottom = 24.0
|
||||
text = "Advisors"
|
||||
flat = true
|
||||
|
||||
[node name="ToolsBtn" type="Button" parent="ButtonCtr"]
|
||||
margin_left = 213.0
|
||||
margin_right = 259.0
|
||||
margin_bottom = 24.0
|
||||
text = "Tools"
|
||||
flat = true
|
|
@ -1,77 +0,0 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/start_game.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/maps/MapOne.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="SartMenu" type="Node"]
|
||||
|
||||
[node name="MapOne" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="Controls" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Start" type="Panel" parent="Controls"]
|
||||
anchor_left = 0.367188
|
||||
anchor_top = 0.378333
|
||||
anchor_right = 0.632812
|
||||
anchor_bottom = 0.646667
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Container" type="VBoxContainer" parent="Controls/Start"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 24.0
|
||||
margin_top = 28.0
|
||||
margin_right = -29.0
|
||||
margin_bottom = -28.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="Controls/Start/Container"]
|
||||
margin_right = 218.0
|
||||
margin_bottom = 14.0
|
||||
text = "Welcome to City Limits!"
|
||||
align = 1
|
||||
|
||||
[node name="CityNameEdit" type="LineEdit" parent="Controls/Start/Container"]
|
||||
margin_top = 18.0
|
||||
margin_right = 218.0
|
||||
margin_bottom = 42.0
|
||||
align = 1
|
||||
caret_blink = true
|
||||
caret_blink_speed = 0.5
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MayorNameEdit" type="LineEdit" parent="Controls/Start/Container"]
|
||||
margin_top = 46.0
|
||||
margin_right = 218.0
|
||||
margin_bottom = 70.0
|
||||
align = 1
|
||||
caret_blink = true
|
||||
caret_blink_speed = 0.5
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="BudgetMenu" type="MenuButton" parent="Controls/Start/Container"]
|
||||
margin_top = 74.0
|
||||
margin_right = 218.0
|
||||
margin_bottom = 94.0
|
||||
text = "Starting Budget"
|
||||
items = [ "20000", null, 0, false, false, 0, 0, null, "", false, "10000", null, 0, false, false, 1, 0, null, "", false, "500", null, 0, false, false, 2, 0, null, "", false ]
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CreateBtn" type="Button" parent="Controls/Start/Container"]
|
||||
margin_top = 98.0
|
||||
margin_right = 218.0
|
||||
margin_bottom = 118.0
|
||||
text = "Create"
|
||||
|
||||
[connection signal="pressed" from="Controls/Start/Container/CreateBtn" to="Controls/Start" method="_on_CreateBtn_pressed"]
|
|
@ -1,59 +0,0 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/simtactics/turn_on.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/coal.png" type="Texture" id=2]
|
||||
[ext_resource path="res://addons/beehave/nodes/composites/sequence.gd" type="Script" id=3]
|
||||
[ext_resource path="res://scripts/simtactics/zone.gd" type="Script" id=4]
|
||||
[ext_resource path="res://addons/beehave/nodes/beehave_root.gd" type="Script" id=6]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 32.2297, 31.8602 )
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "Animante"
|
||||
length = 5.0
|
||||
loop = true
|
||||
step = 1.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3, 4 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ 1, 2, 3, 4, 6 ]
|
||||
}
|
||||
|
||||
[node name="PowerStation" type="KinematicBody2D"]
|
||||
input_pickable = true
|
||||
|
||||
[node name="BeehaveRoot" type="Node" parent="."]
|
||||
script = ExtResource( 6 )
|
||||
|
||||
[node name="SequenceComposite" type="Node" parent="BeehaveRoot"]
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="TurnOn" type="Node" parent="BeehaveRoot/SequenceComposite"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ActionLeaf" type="Node" parent="BeehaveRoot/SequenceComposite"]
|
||||
script = ExtResource( 4 )
|
||||
zone_texture = "res://assets/res_houses.png"
|
||||
|
||||
[node name="Quarters" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
playback_speed = 5.0
|
||||
anims/Animante = SubResource( 2 )
|
||||
|
||||
[node name="RayCast2D" type="RayCast2D" parent="."]
|
|
@ -1,72 +0,0 @@
|
|||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/zone.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/res_zones.png" type="Texture" id=2]
|
||||
[ext_resource path="res://scripts/simtactics/has_power.gd" type="Script" id=4]
|
||||
[ext_resource path="res://addons/beehave/nodes/beehave_root.gd" type="Script" id=5]
|
||||
[ext_resource path="res://addons/beehave/nodes/composites/selector.gd" type="Script" id=7]
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "Animante"
|
||||
length = 5.0
|
||||
step = 1.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3, 4 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ 0, 1, 2, 3, 4 ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ 1 ]
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id=3]
|
||||
radius = 34.955
|
||||
|
||||
[node name="Zone" type="Area2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
vframes = 19
|
||||
frame = 1
|
||||
|
||||
[node name="BeehaveRoot" type="Node" parent="."]
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="SelectorComposite" type="Node" parent="BeehaveRoot"]
|
||||
script = ExtResource( 7 )
|
||||
|
||||
[node name="HasPower" type="Node" parent="BeehaveRoot/SelectorComposite"]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="Quarters" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/Animante = SubResource( 2 )
|
||||
anims/RESET = SubResource( 4 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_Zone_body_entered"]
|
||||
[connection signal="body_exited" from="." to="." method="_on_Zone_body_exited"]
|
487
scenes/game.tscn
487
scenes/game.tscn
|
@ -1,486 +1,13 @@
|
|||
[gd_scene load_steps=50 format=2]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bbputgwi8xsfd"]
|
||||
|
||||
[ext_resource path="res://scenes/maps/MapOne.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://addons/beehave/nodes/composites/selector.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/population.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://scenes/windows/Advisor.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://assets/ui/iccom.png" type="Texture" id=5]
|
||||
[ext_resource path="res://scenes/windows/DebugConsole.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/fast.svg" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/slow.svg" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/ui/icres.png" type="Texture" id=9]
|
||||
[ext_resource path="res://assets/ui/icreshi.png" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/ui/icfire.png" type="Texture" id=11]
|
||||
[ext_resource path="res://assets/ui/icindhi.png" type="Texture" id=12]
|
||||
[ext_resource path="res://assets/ui/icind.png" type="Texture" id=13]
|
||||
[ext_resource path="res://assets/ui/icqryhi.png" type="Texture" id=14]
|
||||
[ext_resource path="res://assets/ui/icqry.png" type="Texture" id=15]
|
||||
[ext_resource path="res://assets/ui/icpol.png" type="Texture" id=16]
|
||||
[ext_resource path="res://assets/ui/icdozr.png" type="Texture" id=17]
|
||||
[ext_resource path="res://assets/ui/iccoalhi.png" type="Texture" id=18]
|
||||
[ext_resource path="res://assets/ui/iccoal.png" type="Texture" id=19]
|
||||
[ext_resource path="res://scripts/game.gd" type="Script" id=20]
|
||||
[ext_resource path="res://scenes/windows/Meet.tscn" type="PackedScene" id=21]
|
||||
[ext_resource path="res://assets/ui/icparkhi.png" type="Texture" id=22]
|
||||
[ext_resource path="res://assets/ui/icnuc.png" type="Texture" id=23]
|
||||
[ext_resource path="res://assets/ui/icpark.png" type="Texture" id=24]
|
||||
[ext_resource path="res://assets/ui/icnuchi.png" type="Texture" id=25]
|
||||
[ext_resource path="res://assets/ui/icseap.png" type="Texture" id=26]
|
||||
[ext_resource path="res://assets/ui/icseaphi.png" type="Texture" id=27]
|
||||
[ext_resource path="res://assets/ui/icstad.png" type="Texture" id=28]
|
||||
[ext_resource path="res://assets/ui/icpolhi.png" type="Texture" id=29]
|
||||
[ext_resource path="res://assets/ui/iccomhi.png" type="Texture" id=30]
|
||||
[ext_resource path="res://assets/ui/icdozrhi.png" type="Texture" id=31]
|
||||
[ext_resource path="res://scenes/windows/TaxWindow.tscn" type="PackedScene" id=32]
|
||||
[ext_resource path="res://assets/ui/icfirehi.png" type="Texture" id=33]
|
||||
[ext_resource path="res://scenes/windows/Credits.tscn" type="PackedScene" id=34]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/cogs.svg" type="Texture" id=35]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/calendar.svg" type="Texture" id=36]
|
||||
[ext_resource path="res://scripts/windows.gd" type="Script" id=37]
|
||||
[ext_resource path="res://scripts/city_status.gd" type="Script" id=38]
|
||||
[ext_resource path="res://assets/ui/pause.svg" type="Texture" id=39]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/pie-chart.svg" type="Texture" id=40]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/coins.svg" type="Texture" id=41]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/city.svg" type="Texture" id=42]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/envelope.svg" type="Texture" id=43]
|
||||
[ext_resource path="res://scenes/windows/Ordinance.tscn" type="PackedScene" id=44]
|
||||
[ext_resource path="res://scripts/ticker.gd" type="Script" id=45]
|
||||
[ext_resource path="res://addons/beehave/nodes/beehave_root.gd" type="Script" id=46]
|
||||
[ext_resource path="res://scenes/deparments/CoalPlant.tscn" type="PackedScene" id=47]
|
||||
[ext_resource path="res://addons/beehave/nodes/beehave_node.gd" type="Script" id=48]
|
||||
[ext_resource path="res://scenes/deparments/Zone.tscn" type="PackedScene" id=49]
|
||||
[ext_resource type="PackedScene" uid="uid://bslfk5as420f7" path="res://scenes/item_select.tscn" id="1_rtv6q"]
|
||||
|
||||
[node name="Game" type="Node2D"]
|
||||
script = ExtResource( 20 )
|
||||
[node name="Game" type="Node"]
|
||||
|
||||
[node name="BeehaveRoot" type="Node" parent="."]
|
||||
script = ExtResource( 46 )
|
||||
[node name="Level" type="Node2D" parent="."]
|
||||
|
||||
[node name="DayCycle" type="Node" parent="BeehaveRoot"]
|
||||
script = ExtResource( 2 )
|
||||
[node name="Editor" type="Node2D" parent="."]
|
||||
|
||||
[node name="BeehaveNode" type="Node" parent="BeehaveRoot/DayCycle"]
|
||||
script = ExtResource( 48 )
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Editor"]
|
||||
|
||||
[node name="MapOne" parent="." instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Controls" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Control Panel" type="Control" parent="Controls"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
script = ExtResource( 45 )
|
||||
|
||||
[node name="Windows" type="Control" parent="Controls/Control Panel"]
|
||||
anchor_right = 25.65
|
||||
anchor_bottom = 12.9
|
||||
script = ExtResource( 37 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Console" parent="Controls/Control Panel/Windows" instance=ExtResource( 6 )]
|
||||
anchor_left = 0.590492
|
||||
anchor_top = 0.0604199
|
||||
anchor_right = 0.985023
|
||||
anchor_bottom = 0.312087
|
||||
rect_min_size = Vector2( 400, 150 )
|
||||
resizable = true
|
||||
|
||||
[node name="CityPlanner" parent="Controls/Control Panel/Windows" instance=ExtResource( 4 )]
|
||||
|
||||
[node name="TaxWindow" parent="Controls/Control Panel/Windows" instance=ExtResource( 32 )]
|
||||
visible = false
|
||||
anchor_left = 0.297863
|
||||
anchor_top = 0.409167
|
||||
anchor_right = 0.702137
|
||||
anchor_bottom = 0.590833
|
||||
margin_bottom = 3.05176e-05
|
||||
|
||||
[node name="AdvisorMeet" parent="Controls/Control Panel/Windows" instance=ExtResource( 21 )]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -234.609
|
||||
margin_top = -138.5
|
||||
margin_right = 234.609
|
||||
margin_bottom = 138.5
|
||||
|
||||
[node name="ToolsWindow" type="WindowDialog" parent="Controls/Control Panel/Windows"]
|
||||
anchor_left = 0.402435
|
||||
anchor_top = 0.315697
|
||||
anchor_right = 0.60263
|
||||
anchor_bottom = 0.684303
|
||||
window_title = "Tools"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="CenterCtr" type="CenterContainer" parent="Controls/Control Panel/Windows/ToolsWindow"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VertCtr" type="VBoxContainer" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr"]
|
||||
margin_left = 12.0
|
||||
margin_top = 9.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 181.0
|
||||
|
||||
[node name="LargeCtr" type="HBoxContainer" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr"]
|
||||
margin_right = 180.0
|
||||
margin_bottom = 42.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_right = 42.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 28 )
|
||||
|
||||
[node name="TextureButton2" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 46.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 26 )
|
||||
texture_pressed = ExtResource( 27 )
|
||||
|
||||
[node name="NuclearBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 92.0
|
||||
margin_right = 134.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 23 )
|
||||
texture_pressed = ExtResource( 25 )
|
||||
|
||||
[node name="CoalBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 138.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 19 )
|
||||
texture_pressed = ExtResource( 18 )
|
||||
|
||||
[node name="SmallCtr" type="HBoxContainer" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr"]
|
||||
margin_top = 46.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 80.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="PoliceBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 29 )
|
||||
texture_pressed = ExtResource( 16 )
|
||||
|
||||
[node name="FireBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 33 )
|
||||
texture_pressed = ExtResource( 11 )
|
||||
|
||||
[node name="ParkBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_left = 76.0
|
||||
margin_right = 110.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 24 )
|
||||
texture_pressed = ExtResource( 22 )
|
||||
|
||||
[node name="ToolsCtr" type="HBoxContainer" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr"]
|
||||
margin_top = 84.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 118.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="InfoBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/ToolsCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 15 )
|
||||
texture_pressed = ExtResource( 14 )
|
||||
|
||||
[node name="BulldozeBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/ToolsCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 17 )
|
||||
texture_pressed = ExtResource( 31 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ZonesCtr" type="HBoxContainer" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr"]
|
||||
margin_top = 122.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 172.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ResBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 9 )
|
||||
texture_pressed = ExtResource( 10 )
|
||||
|
||||
[node name="ComBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 5 )
|
||||
texture_pressed = ExtResource( 30 )
|
||||
|
||||
[node name="IndBtn" type="TextureButton" parent="Controls/Control Panel/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_left = 76.0
|
||||
margin_right = 110.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 13 )
|
||||
texture_pressed = ExtResource( 12 )
|
||||
|
||||
[node name="Credits" parent="Controls/Control Panel/Windows" instance=ExtResource( 34 )]
|
||||
anchor_left = 0.393762
|
||||
anchor_top = 0.292636
|
||||
anchor_right = 0.605263
|
||||
anchor_bottom = 0.78876
|
||||
|
||||
[node name="PauseIndicator" type="TextureRect" parent="Controls/Control Panel/Windows"]
|
||||
visible = false
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 39 )
|
||||
stretch_mode = 1
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Ordinance" parent="Controls/Control Panel/Windows" instance=ExtResource( 44 )]
|
||||
|
||||
[node name="VRMode" type="Button" parent="Controls/Control Panel/Windows"]
|
||||
visible = false
|
||||
anchor_left = 0.919922
|
||||
anchor_top = 0.0197812
|
||||
anchor_right = 0.989258
|
||||
anchor_bottom = 0.0664478
|
||||
text = "VR Mode"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="NewsWindow" type="WindowDialog" parent="Controls/Control Panel/Windows"]
|
||||
anchor_left = 0.0877193
|
||||
anchor_top = 0.234496
|
||||
anchor_right = 0.69883
|
||||
anchor_bottom = 0.591085
|
||||
window_title = "News"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="News" type="ItemList" parent="Controls/Control Panel/Windows/NewsWindow"]
|
||||
anchor_left = 0.00797449
|
||||
anchor_top = 0.0412844
|
||||
anchor_right = 0.992026
|
||||
anchor_bottom = 0.967889
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="VersionLbl" type="Label" parent="Controls/Control Panel/Windows"]
|
||||
anchor_left = 0.0146199
|
||||
anchor_top = 0.0271318
|
||||
anchor_right = 0.182261
|
||||
anchor_bottom = 0.0542636
|
||||
text = "Version"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Status" type="Panel" parent="Controls/Control Panel"]
|
||||
anchor_top = 12.95
|
||||
anchor_right = 25.65
|
||||
anchor_bottom = 15.25
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="SettingsBtn" type="Button" parent="Controls/Control Panel/Status"]
|
||||
anchor_left = 0.0115391
|
||||
anchor_top = 0.0555202
|
||||
anchor_right = 0.0525548
|
||||
anchor_bottom = 0.533132
|
||||
hint_tooltip = "Meet"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 35 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="StatCtr" type="HBoxContainer" parent="Controls/Control Panel/Status"]
|
||||
anchor_left = 0.0566406
|
||||
anchor_top = 0.0750188
|
||||
anchor_right = 0.996094
|
||||
anchor_bottom = 0.516879
|
||||
custom_constants/separation = 50
|
||||
alignment = 1
|
||||
script = ExtResource( 38 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="ButtonCtr" type="HBoxContainer" parent="Controls/Control Panel/Status/StatCtr"]
|
||||
margin_left = 233.0
|
||||
margin_right = 515.0
|
||||
margin_bottom = 40.0
|
||||
custom_constants/separation = 10
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TaxBtn" type="Button" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_right = 42.0
|
||||
margin_bottom = 40.0
|
||||
hint_tooltip = "RCI"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 40 )
|
||||
|
||||
[node name="ToolsBtn" type="Button" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 52.0
|
||||
margin_right = 94.0
|
||||
margin_bottom = 40.0
|
||||
hint_tooltip = "Tools"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 42 )
|
||||
|
||||
[node name="AdvsiorBtn" type="Button" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 104.0
|
||||
margin_right = 146.0
|
||||
margin_bottom = 40.0
|
||||
hint_tooltip = "Meet"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 43 )
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 156.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 40.0
|
||||
|
||||
[node name="TurtleBtn" type="Button" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 170.0
|
||||
margin_right = 211.0
|
||||
margin_bottom = 40.0
|
||||
hint_tooltip = "Slow"
|
||||
toggle_mode = true
|
||||
icon = ExtResource( 8 )
|
||||
|
||||
[node name="CheetaBtn" type="Button" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 221.0
|
||||
margin_right = 268.0
|
||||
margin_bottom = 40.0
|
||||
hint_tooltip = "Fast"
|
||||
toggle_mode = true
|
||||
icon = ExtResource( 7 )
|
||||
|
||||
[node name="VSeparator2" type="VSeparator" parent="Controls/Control Panel/Status/StatCtr/ButtonCtr"]
|
||||
margin_left = 278.0
|
||||
margin_right = 282.0
|
||||
margin_bottom = 40.0
|
||||
|
||||
[node name="NameDate" type="VBoxContainer" parent="Controls/Control Panel/Status/StatCtr"]
|
||||
margin_left = 565.0
|
||||
margin_right = 653.0
|
||||
margin_bottom = 40.0
|
||||
alignment = 1
|
||||
|
||||
[node name="CityNameLbl" type="Label" parent="Controls/Control Panel/Status/StatCtr/NameDate"]
|
||||
margin_top = 4.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 18.0
|
||||
text = "City Name"
|
||||
align = 1
|
||||
|
||||
[node name="YearCtr" type="HBoxContainer" parent="Controls/Control Panel/Status/StatCtr/NameDate"]
|
||||
margin_top = 22.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="CalIcon" type="TextureRect" parent="Controls/Control Panel/Status/StatCtr/NameDate/YearCtr"]
|
||||
margin_right = 10.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 36 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="CalendarLbl" type="Label" parent="Controls/Control Panel/Status/StatCtr/NameDate/YearCtr"]
|
||||
margin_left = 14.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 14.0
|
||||
text = "01/01/2000"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PopBudget" type="VBoxContainer" parent="Controls/Control Panel/Status/StatCtr"]
|
||||
margin_left = 703.0
|
||||
margin_right = 729.0
|
||||
margin_bottom = 40.0
|
||||
alignment = 1
|
||||
|
||||
[node name="BudgetCtr" type="HBoxContainer" parent="Controls/Control Panel/Status/StatCtr/PopBudget"]
|
||||
margin_top = 4.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 18.0
|
||||
|
||||
[node name="CoinsIcon" type="TextureRect" parent="Controls/Control Panel/Status/StatCtr/PopBudget/BudgetCtr"]
|
||||
margin_right = 14.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 41 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="BudgetLbl" type="Label" parent="Controls/Control Panel/Status/StatCtr/PopBudget/BudgetCtr"]
|
||||
margin_left = 18.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 14.0
|
||||
text = "0"
|
||||
|
||||
[node name="PopCtr" type="HBoxContainer" parent="Controls/Control Panel/Status/StatCtr/PopBudget"]
|
||||
margin_top = 22.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="PopIcon" type="TextureRect" parent="Controls/Control Panel/Status/StatCtr/PopBudget/PopCtr"]
|
||||
margin_right = 14.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 3 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="PopLbl" type="Label" parent="Controls/Control Panel/Status/StatCtr/PopBudget/PopCtr"]
|
||||
margin_left = 18.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 14.0
|
||||
text = "0"
|
||||
|
||||
[node name="NewsBtn" type="Button" parent="Controls/Control Panel/Status"]
|
||||
anchor_left = 0.0078125
|
||||
anchor_top = 0.633158
|
||||
anchor_right = 0.989258
|
||||
anchor_bottom = 0.888972
|
||||
text = "News"
|
||||
flat = true
|
||||
align = 0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Zone" parent="." instance=ExtResource( 49 )]
|
||||
position = Vector2( 650, 351 )
|
||||
|
||||
[node name="PowerStation" parent="." instance=ExtResource( 47 )]
|
||||
position = Vector2( 758, 277 )
|
||||
[node name="ItemSelect" parent="." instance=ExtResource("1_rtv6q")]
|
||||
|
|
38
scenes/item_select.tscn
Normal file
38
scenes/item_select.tscn
Normal file
|
@ -0,0 +1,38 @@
|
|||
[gd_scene format=3 uid="uid://bslfk5as420f7"]
|
||||
|
||||
[node name="ItemSelect" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_vertical = 10
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TabContainer" type="TabContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.830247
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Zones" type="TabBar" parent="TabContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/Zones"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Zones/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Zones/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
85
scenes/license_gui.tscn
Normal file
85
scenes/license_gui.tscn
Normal file
|
@ -0,0 +1,85 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://82qi4wgni4ac"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/license_gui.gd" id="1_esldu"]
|
||||
[ext_resource type="Script" path="res://addons/simplelicense/api/LicenseManager.gd" id="2_cpb2k"]
|
||||
|
||||
[node name="LicenseGUI" type="Control"]
|
||||
custom_minimum_size = Vector2(256, 256)
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_esldu")
|
||||
load_locations = Array[String](["res://licenses", "res://addons/simplelicense/mod_example/licenses/"])
|
||||
export_locations = Array[String](["user://licenses/game/", "user://licenses/mods/mod_1/"])
|
||||
|
||||
[node name="LicenseManager" type="Node" parent="."]
|
||||
script = ExtResource("2_cpb2k")
|
||||
|
||||
[node name="background" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.381076
|
||||
anchor_right = 0.461806
|
||||
anchor_bottom = 0.0401235
|
||||
offset_left = 3.05176e-05
|
||||
grow_horizontal = 2
|
||||
text = "License Info"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Tree" type="Tree" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.00694444
|
||||
anchor_top = 0.0462963
|
||||
anchor_right = 0.404514
|
||||
anchor_bottom = 0.987654
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 2
|
||||
hide_root = true
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Text" type="TextEdit" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.434028
|
||||
anchor_top = 0.0462963
|
||||
anchor_right = 0.993056
|
||||
anchor_bottom = 0.987654
|
||||
offset_left = -8.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
editable = false
|
||||
scroll_smooth = true
|
||||
minimap_draw = true
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="op_locations" type="OptionButton" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.00694444
|
||||
anchor_top = 0.00308642
|
||||
anchor_right = 0.172743
|
||||
anchor_bottom = 0.0416667
|
||||
theme_override_font_sizes/font_size = 12
|
||||
item_count = 2
|
||||
popup/item_0/text = "a"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "b"
|
||||
popup/item_1/id = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="item_activated" from="Tree" to="." method="_on_tree_item_activated"]
|
||||
[connection signal="item_selected" from="Tree" to="." method="_on_tree_item_selected"]
|
||||
[connection signal="item_selected" from="op_locations" to="." method="_on_op_locations_item_selected"]
|
File diff suppressed because one or more lines are too long
|
@ -1,45 +0,0 @@
|
|||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/window3d.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/windows/Status.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="QuadMesh" id=1]
|
||||
|
||||
[sub_resource type="ViewportTexture" id=2]
|
||||
viewport_path = NodePath("Viewport")
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=3]
|
||||
resource_local_to_scene = true
|
||||
flags_transparent = true
|
||||
flags_unshaded = true
|
||||
flags_albedo_tex_force_srgb = true
|
||||
albedo_texture = SubResource( 2 )
|
||||
|
||||
[sub_resource type="BoxShape" id=4]
|
||||
extents = Vector3( 0.237843, 0.217798, 0.109503 )
|
||||
|
||||
[node name="Status3D" type="Spatial"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.839162, 0, 0, 0 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Viewport" type="Viewport" parent="."]
|
||||
arvr = true
|
||||
hdr = false
|
||||
usage = 0
|
||||
render_target_v_flip = true
|
||||
render_target_update_mode = 3
|
||||
|
||||
[node name="Status" parent="Viewport" instance=ExtResource( 2 )]
|
||||
margin_top = 912.175
|
||||
margin_bottom = 912.175
|
||||
|
||||
[node name="Quad" type="MeshInstance" parent="."]
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = SubResource( 3 )
|
||||
|
||||
[node name="Area" type="Area" parent="Quad"]
|
||||
transform = Transform( 3.11254, 0, 0, 0, 2.91295, 0, 0, 0, 1, 0, 0, 0 )
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="Quad/Area"]
|
||||
shape = SubResource( 4 )
|
|
@ -1,49 +0,0 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/advisor_window.gd" type="Script" id=1]
|
||||
|
||||
[node name="Advisor" type="AcceptDialog"]
|
||||
anchor_left = 0.293945
|
||||
anchor_top = 0.303333
|
||||
anchor_right = 0.706055
|
||||
anchor_bottom = 0.696667
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Container" type="HSplitContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = -8.0
|
||||
margin_bottom = -36.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Advisor" type="VBoxContainer" parent="Container"]
|
||||
margin_right = 100.0
|
||||
margin_bottom = 192.0
|
||||
|
||||
[node name="Avatar" type="TextureRect" parent="Container/Advisor"]
|
||||
margin_right = 100.0
|
||||
rect_min_size = Vector2( 100, 0 )
|
||||
|
||||
[node name="RankLbl" type="Label" parent="Container/Advisor"]
|
||||
margin_top = 4.0
|
||||
margin_right = 100.0
|
||||
margin_bottom = 18.0
|
||||
align = 1
|
||||
|
||||
[node name="NameLbl" type="Label" parent="Container/Advisor"]
|
||||
margin_top = 22.0
|
||||
margin_right = 100.0
|
||||
margin_bottom = 36.0
|
||||
align = 1
|
||||
|
||||
[node name="DescriptionLbl" type="RichTextLabel" parent="Container"]
|
||||
margin_left = 112.0
|
||||
margin_right = 406.001
|
||||
margin_bottom = 192.0
|
|
@ -1,51 +0,0 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="Credits" type="WindowDialog"]
|
||||
anchor_left = 0.394043
|
||||
anchor_top = 0.293333
|
||||
anchor_right = 0.605957
|
||||
anchor_bottom = 0.706667
|
||||
window_title = "Credits"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="RichText" type="RichTextLabel" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
bbcode_enabled = true
|
||||
bbcode_text = "[center]
|
||||
Developed by
|
||||
Tony Bark
|
||||
|
||||
Sprites by
|
||||
Maxis
|
||||
|
||||
Icons by
|
||||
Font Awesome
|
||||
|
||||
Powered by
|
||||
Godot Engine
|
||||
|
||||
Inspired by
|
||||
SimCity
|
||||
[/center]"
|
||||
text = "
|
||||
Developed by
|
||||
Tony Bark
|
||||
|
||||
Sprites by
|
||||
Maxis
|
||||
|
||||
Icons by
|
||||
Font Awesome
|
||||
|
||||
Powered by
|
||||
Godot Engine
|
||||
|
||||
Inspired by
|
||||
SimCity
|
||||
"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
|
@ -1,60 +0,0 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/debug_console.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scripts/command_handler.gd" type="Script" id=2]
|
||||
|
||||
[node name="DebugConsole" type="WindowDialog"]
|
||||
pause_mode = 2
|
||||
anchor_left = 0.302734
|
||||
anchor_top = 0.365833
|
||||
anchor_right = 0.697266
|
||||
anchor_bottom = 0.634167
|
||||
margin_right = -4.0
|
||||
margin_bottom = -1.0
|
||||
window_title = "Console"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="CommandHandler" type="Node" parent="."]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Output" type="TextEdit" parent="."]
|
||||
anchor_left = 0.0148515
|
||||
anchor_top = 0.0372671
|
||||
anchor_right = 0.987624
|
||||
anchor_bottom = 0.751553
|
||||
readonly = true
|
||||
wrap_enabled = true
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Input" type="LineEdit" parent="."]
|
||||
anchor_left = 0.0173267
|
||||
anchor_top = 0.801242
|
||||
anchor_right = 0.80198
|
||||
anchor_bottom = 0.950311
|
||||
caret_blink = true
|
||||
caret_blink_speed = 0.5
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="SubmitBtn" type="Button" parent="."]
|
||||
anchor_left = 0.824257
|
||||
anchor_top = 0.796624
|
||||
anchor_right = 0.985148
|
||||
anchor_bottom = 0.951903
|
||||
margin_top = 7.62939e-06
|
||||
text = "Submit"
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[connection signal="text_entered" from="Input" to="." method="_on_Input_text_entered"]
|
||||
[connection signal="pressed" from="SubmitBtn" to="." method="_on_SubmitBtn_pressed"]
|
|
@ -1,63 +0,0 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/avatars/cindy.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/avatars/kit.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/avatars/zc.png" type="Texture" id=3]
|
||||
|
||||
[node name="AdvisorMeet" type="WindowDialog"]
|
||||
anchor_left = 0.328125
|
||||
anchor_top = 0.301667
|
||||
anchor_right = 0.722656
|
||||
anchor_bottom = 0.763333
|
||||
window_title = "Meet"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="Advsiors" type="HBoxContainer" parent="."]
|
||||
anchor_left = -0.00161441
|
||||
anchor_top = -0.00235459
|
||||
anchor_right = 0.998386
|
||||
anchor_bottom = -0.00235459
|
||||
margin_top = 4.0
|
||||
margin_bottom = 104.0
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CityPlannerBtn" type="TextureButton" parent="Advsiors"]
|
||||
margin_left = 47.0
|
||||
margin_right = 147.0
|
||||
margin_bottom = 100.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
|
||||
[node name="FinanceBtn" type="TextureButton" parent="Advsiors"]
|
||||
margin_left = 151.0
|
||||
margin_right = 251.0
|
||||
margin_bottom = 100.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
|
||||
[node name="TransportBtn" type="TextureButton" parent="Advsiors"]
|
||||
margin_left = 255.0
|
||||
margin_right = 355.0
|
||||
margin_bottom = 100.0
|
||||
texture_normal = ExtResource( 3 )
|
||||
|
||||
[node name="Tree" type="Tree" parent="."]
|
||||
anchor_left = 0.0148515
|
||||
anchor_top = 0.411552
|
||||
anchor_right = 0.987624
|
||||
anchor_bottom = 0.978339
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="."]
|
||||
anchor_left = 0.0170455
|
||||
anchor_top = 0.380995
|
||||
anchor_right = 0.985795
|
||||
anchor_bottom = 0.397731
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
|
@ -1,127 +0,0 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://assets/symbols/fontawesome/thumbs-down.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/thumbs-up.svg" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/question-circle.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://scripts/policy_window.gd" type="Script" id=4]
|
||||
|
||||
[node name="Ordinance" type="WindowDialog"]
|
||||
anchor_left = 0.324707
|
||||
anchor_top = 0.238333
|
||||
anchor_right = 0.675293
|
||||
anchor_bottom = 0.761667
|
||||
window_title = "Ordinance"
|
||||
script = ExtResource( 4 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="OrdinanceLbl" type="Label" parent="."]
|
||||
anchor_left = 0.0222841
|
||||
anchor_top = 0.022293
|
||||
anchor_right = 0.97493
|
||||
anchor_bottom = 0.0700637
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="ActionCtr" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.0278552
|
||||
anchor_top = 0.729299
|
||||
anchor_right = 0.245125
|
||||
anchor_bottom = 0.977707
|
||||
custom_constants/separation = 5
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="TakeActionLbl" type="Label" parent="ActionCtr"]
|
||||
margin_right = 78.0
|
||||
margin_bottom = 14.0
|
||||
text = "Take Action:"
|
||||
|
||||
[node name="EnectCtr" type="HBoxContainer" parent="ActionCtr"]
|
||||
margin_top = 19.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 39.0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="EnectBtn" type="Button" parent="ActionCtr/EnectCtr"]
|
||||
margin_right = 22.0
|
||||
margin_bottom = 20.0
|
||||
icon = ExtResource( 2 )
|
||||
|
||||
[node name="EnectLbl" type="Label" parent="ActionCtr/EnectCtr"]
|
||||
margin_left = 32.0
|
||||
margin_top = 3.0
|
||||
margin_right = 66.0
|
||||
margin_bottom = 17.0
|
||||
text = "Enact"
|
||||
|
||||
[node name="IgnoreCtr" type="HBoxContainer" parent="ActionCtr"]
|
||||
margin_top = 44.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 64.0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="IgnoreBtn" type="Button" parent="ActionCtr/IgnoreCtr"]
|
||||
margin_right = 22.0
|
||||
margin_bottom = 20.0
|
||||
icon = ExtResource( 1 )
|
||||
|
||||
[node name="IgnoreLbl" type="Label" parent="ActionCtr/IgnoreCtr"]
|
||||
margin_left = 32.0
|
||||
margin_top = 3.0
|
||||
margin_right = 73.0
|
||||
margin_bottom = 17.0
|
||||
text = "Ignore"
|
||||
|
||||
[node name="DescPanel" type="Panel" parent="."]
|
||||
anchor_left = 0.281337
|
||||
anchor_top = 0.0859873
|
||||
anchor_right = 0.97493
|
||||
anchor_bottom = 0.684713
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="DescriptionLbl" type="RichTextLabel" parent="DescPanel"]
|
||||
anchor_left = 0.0160643
|
||||
anchor_top = 0.0194175
|
||||
anchor_right = 0.971888
|
||||
anchor_bottom = 0.975728
|
||||
margin_left = 0.652039
|
||||
margin_right = 0.652039
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="AnalysisCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.549742
|
||||
anchor_top = 0.869427
|
||||
anchor_right = 0.967569
|
||||
anchor_bottom = 0.933121
|
||||
custom_constants/separation = 10
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="AnalysisLbl" type="Label" parent="AnalysisCtr"]
|
||||
margin_left = 5.0
|
||||
margin_top = 3.0
|
||||
margin_right = 111.0
|
||||
margin_bottom = 17.0
|
||||
text = "Impact Analysis:"
|
||||
|
||||
[node name="AnalysisBtn" type="Button" parent="AnalysisCtr"]
|
||||
margin_left = 121.0
|
||||
margin_right = 143.0
|
||||
margin_bottom = 20.0
|
||||
icon = ExtResource( 3 )
|
||||
|
||||
[connection signal="pressed" from="ActionCtr/EnectCtr/EnectBtn" to="." method="_on_EnectBtn_pressed"]
|
||||
[connection signal="pressed" from="ActionCtr/IgnoreCtr/IgnoreBtn" to="." method="_on_IgnoreBtn_pressed"]
|
||||
[connection signal="pressed" from="AnalysisCtr/AnalysisBtn" to="." method="_on_AnalysisBtn_pressed"]
|
|
@ -1,187 +0,0 @@
|
|||
[gd_scene load_steps=12 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/ticker.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/fast.svg" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/cogs.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://scripts/city_status.gd" type="Script" id=4]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/coins.svg" type="Texture" id=5]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/city.svg" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/envelope.svg" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/slow.svg" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/population.svg" type="Texture" id=9]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/pie-chart.svg" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/calendar.svg" type="Texture" id=11]
|
||||
|
||||
[node name="Status" type="Panel"]
|
||||
anchor_right = 1.0
|
||||
margin_bottom = 64.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="SettingsBtn" type="Button" parent="."]
|
||||
anchor_left = 0.0115391
|
||||
anchor_top = 0.193259
|
||||
anchor_right = 0.0525548
|
||||
anchor_bottom = 0.670871
|
||||
margin_top = -9.53674e-07
|
||||
hint_tooltip = "Meet"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="StatCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.0566406
|
||||
anchor_top = 0.208955
|
||||
anchor_right = 0.601562
|
||||
anchor_bottom = 0.746269
|
||||
margin_top = 9.53674e-07
|
||||
custom_constants/separation = 50
|
||||
alignment = 1
|
||||
script = ExtResource( 4 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="ButtonCtr" type="HBoxContainer" parent="StatCtr"]
|
||||
margin_left = 30.0
|
||||
margin_right = 312.0
|
||||
margin_bottom = 36.0
|
||||
custom_constants/separation = 10
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TaxBtn" type="Button" parent="StatCtr/ButtonCtr"]
|
||||
margin_right = 42.0
|
||||
margin_bottom = 36.0
|
||||
hint_tooltip = "RCI"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 10 )
|
||||
|
||||
[node name="ToolsBtn" type="Button" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 52.0
|
||||
margin_right = 94.0
|
||||
margin_bottom = 36.0
|
||||
hint_tooltip = "Tools"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 6 )
|
||||
|
||||
[node name="AdvsiorBtn" type="Button" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 104.0
|
||||
margin_right = 146.0
|
||||
margin_bottom = 36.0
|
||||
hint_tooltip = "Meet"
|
||||
size_flags_horizontal = 4
|
||||
icon = ExtResource( 7 )
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 156.0
|
||||
margin_right = 160.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="TurtleBtn" type="Button" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 170.0
|
||||
margin_right = 211.0
|
||||
margin_bottom = 36.0
|
||||
hint_tooltip = "Slow"
|
||||
toggle_mode = true
|
||||
icon = ExtResource( 8 )
|
||||
|
||||
[node name="CheetaBtn" type="Button" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 221.0
|
||||
margin_right = 268.0
|
||||
margin_bottom = 36.0
|
||||
hint_tooltip = "Fast"
|
||||
toggle_mode = true
|
||||
icon = ExtResource( 2 )
|
||||
|
||||
[node name="VSeparator2" type="VSeparator" parent="StatCtr/ButtonCtr"]
|
||||
margin_left = 278.0
|
||||
margin_right = 282.0
|
||||
margin_bottom = 36.0
|
||||
|
||||
[node name="NameDate" type="VBoxContainer" parent="StatCtr"]
|
||||
margin_left = 362.0
|
||||
margin_right = 450.0
|
||||
margin_bottom = 36.0
|
||||
alignment = 1
|
||||
|
||||
[node name="CityNameLbl" type="Label" parent="StatCtr/NameDate"]
|
||||
margin_top = 2.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 16.0
|
||||
text = "City Name"
|
||||
align = 1
|
||||
|
||||
[node name="YearCtr" type="HBoxContainer" parent="StatCtr/NameDate"]
|
||||
margin_top = 20.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 34.0
|
||||
|
||||
[node name="CalIcon" type="TextureRect" parent="StatCtr/NameDate/YearCtr"]
|
||||
margin_right = 10.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 11 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="CalendarLbl" type="Label" parent="StatCtr/NameDate/YearCtr"]
|
||||
margin_left = 14.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 14.0
|
||||
text = "01/01/2000"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PopBudget" type="VBoxContainer" parent="StatCtr"]
|
||||
margin_left = 500.0
|
||||
margin_right = 526.0
|
||||
margin_bottom = 36.0
|
||||
alignment = 1
|
||||
|
||||
[node name="BudgetCtr" type="HBoxContainer" parent="StatCtr/PopBudget"]
|
||||
margin_top = 2.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 16.0
|
||||
|
||||
[node name="CoinsIcon" type="TextureRect" parent="StatCtr/PopBudget/BudgetCtr"]
|
||||
margin_right = 14.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 5 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="BudgetLbl" type="Label" parent="StatCtr/PopBudget/BudgetCtr"]
|
||||
margin_left = 18.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 14.0
|
||||
text = "0"
|
||||
|
||||
[node name="PopCtr" type="HBoxContainer" parent="StatCtr/PopBudget"]
|
||||
margin_top = 20.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 34.0
|
||||
|
||||
[node name="PopIcon" type="TextureRect" parent="StatCtr/PopBudget/PopCtr"]
|
||||
margin_right = 14.0
|
||||
margin_bottom = 14.0
|
||||
texture = ExtResource( 9 )
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="PopLbl" type="Label" parent="StatCtr/PopBudget/PopCtr"]
|
||||
margin_left = 18.0
|
||||
margin_right = 26.0
|
||||
margin_bottom = 14.0
|
||||
text = "0"
|
||||
|
||||
[node name="Ticker" type="ItemList" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 622.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
|
@ -1,174 +0,0 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://assets/symbols/fontawesome/coins.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/tax_window.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/arrow-pointing-down.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/symbols/fontawesome/arrow-up.svg" type="Texture" id=4]
|
||||
|
||||
[node name="TaxWindow" type="WindowDialog"]
|
||||
visible = true
|
||||
anchor_left = 0.2809
|
||||
anchor_top = 0.265764
|
||||
anchor_right = 0.631486
|
||||
anchor_bottom = 0.447431
|
||||
margin_left = -0.641174
|
||||
margin_right = -0.641174
|
||||
window_title = "RCI"
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="TaxSlidersCtr" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.0167131
|
||||
anchor_top = 0.0666667
|
||||
anchor_right = 0.874652
|
||||
anchor_bottom = 0.6
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="ResCtr" type="HSplitContainer" parent="TaxSlidersCtr"]
|
||||
margin_top = 1.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 17.0
|
||||
dragger_visibility = 1
|
||||
|
||||
[node name="ResLbl" type="Label" parent="TaxSlidersCtr/ResCtr"]
|
||||
margin_top = 1.0
|
||||
margin_right = 71.0
|
||||
margin_bottom = 15.0
|
||||
text = "Residential"
|
||||
align = 2
|
||||
|
||||
[node name="ResSlider" type="HSlider" parent="TaxSlidersCtr/ResCtr"]
|
||||
margin_left = 83.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 16.0
|
||||
min_value = 1.0
|
||||
max_value = 10.0
|
||||
value = 1.0
|
||||
|
||||
[node name="ComCtr" type="HSplitContainer" parent="TaxSlidersCtr"]
|
||||
margin_top = 21.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 37.0
|
||||
dragger_visibility = 1
|
||||
|
||||
[node name="ComLbl" type="Label" parent="TaxSlidersCtr/ComCtr"]
|
||||
margin_top = 1.0
|
||||
margin_right = 77.0
|
||||
margin_bottom = 15.0
|
||||
text = "Commerical"
|
||||
align = 2
|
||||
|
||||
[node name="ComSlider" type="HSlider" parent="TaxSlidersCtr/ComCtr"]
|
||||
margin_left = 89.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 16.0
|
||||
min_value = 1.0
|
||||
max_value = 10.0
|
||||
value = 1.0
|
||||
|
||||
[node name="IndCtr" type="HSplitContainer" parent="TaxSlidersCtr"]
|
||||
margin_top = 41.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 57.0
|
||||
dragger_visibility = 1
|
||||
|
||||
[node name="IndLbl" type="Label" parent="TaxSlidersCtr/IndCtr"]
|
||||
margin_top = 1.0
|
||||
margin_right = 57.0
|
||||
margin_bottom = 15.0
|
||||
text = "Industral"
|
||||
align = 2
|
||||
|
||||
[node name="IndSlider" type="HSlider" parent="TaxSlidersCtr/IndCtr"]
|
||||
margin_left = 69.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 16.0
|
||||
min_value = 1.0
|
||||
max_value = 10.0
|
||||
value = 1.0
|
||||
|
||||
[node name="PrecentCtr" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.88329
|
||||
anchor_top = 0.0790961
|
||||
anchor_right = 0.991643
|
||||
anchor_bottom = 0.555287
|
||||
margin_bottom = -20.339
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="ResPctLbl" type="Label" parent="PrecentCtr"]
|
||||
margin_right = 38.0
|
||||
margin_bottom = 14.0
|
||||
text = "1%"
|
||||
|
||||
[node name="ComPctLbl" type="Label" parent="PrecentCtr"]
|
||||
margin_top = 18.0
|
||||
margin_right = 38.0
|
||||
margin_bottom = 32.0
|
||||
text = "1%"
|
||||
|
||||
[node name="IndPctLbl" type="Label" parent="PrecentCtr"]
|
||||
margin_top = 36.0
|
||||
margin_right = 38.0
|
||||
margin_bottom = 50.0
|
||||
text = "1%"
|
||||
|
||||
[node name="IncomeCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.00707957
|
||||
anchor_top = 0.650614
|
||||
anchor_right = 0.973653
|
||||
anchor_bottom = 0.843274
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CoinIcn" type="TextureRect" parent="IncomeCtr"]
|
||||
margin_left = 115.0
|
||||
margin_right = 129.0
|
||||
margin_bottom = 20.0
|
||||
texture = ExtResource( 1 )
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="UpArrowIcn" type="TextureRect" parent="IncomeCtr"]
|
||||
modulate = Color( 0.054902, 1, 0, 1 )
|
||||
margin_left = 133.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 20.0
|
||||
texture = ExtResource( 4 )
|
||||
stretch_mode = 6
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="IcnomeLbl" type="Label" parent="IncomeCtr"]
|
||||
margin_left = 146.0
|
||||
margin_top = 3.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 17.0
|
||||
text = "0/mo"
|
||||
|
||||
[node name="DownArrowIcn" type="TextureRect" parent="IncomeCtr"]
|
||||
modulate = Color( 1, 0, 0, 1 )
|
||||
margin_left = 184.0
|
||||
margin_right = 193.0
|
||||
margin_bottom = 20.0
|
||||
texture = ExtResource( 3 )
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="ExpensivesLbl" type="Label" parent="IncomeCtr"]
|
||||
margin_left = 197.0
|
||||
margin_top = 3.0
|
||||
margin_right = 231.0
|
||||
margin_bottom = 17.0
|
||||
text = "0/mo"
|
||||
|
||||
[connection signal="value_changed" from="TaxSlidersCtr/ResCtr/ResSlider" to="." method="_on_ResSlider_value_changed"]
|
||||
[connection signal="value_changed" from="TaxSlidersCtr/ComCtr/ComSlider" to="." method="_on_ComSlider_value_changed"]
|
||||
[connection signal="value_changed" from="TaxSlidersCtr/IndCtr/IndSlider" to="." method="_on_IndSlider_value_changed"]
|
|
@ -1,163 +0,0 @@
|
|||
[gd_scene load_steps=24 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/iccom.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/ui/icpolhi.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui/iccomhi.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/ui/icres.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/ui/icreshi.png" type="Texture" id=5]
|
||||
[ext_resource path="res://assets/ui/icfire.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/ui/icindhi.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/ui/icind.png" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/ui/icqry.png" type="Texture" id=9]
|
||||
[ext_resource path="res://assets/ui/icpol.png" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/ui/icnuc.png" type="Texture" id=11]
|
||||
[ext_resource path="res://assets/ui/icpark.png" type="Texture" id=12]
|
||||
[ext_resource path="res://assets/ui/icseap.png" type="Texture" id=13]
|
||||
[ext_resource path="res://assets/ui/icseaphi.png" type="Texture" id=14]
|
||||
[ext_resource path="res://assets/ui/icstad.png" type="Texture" id=15]
|
||||
[ext_resource path="res://assets/ui/icdozrhi.png" type="Texture" id=16]
|
||||
[ext_resource path="res://assets/ui/icfirehi.png" type="Texture" id=17]
|
||||
[ext_resource path="res://assets/ui/iccoal.png" type="Texture" id=18]
|
||||
[ext_resource path="res://assets/ui/icqryhi.png" type="Texture" id=19]
|
||||
[ext_resource path="res://assets/ui/icparkhi.png" type="Texture" id=20]
|
||||
[ext_resource path="res://assets/ui/icdozr.png" type="Texture" id=21]
|
||||
[ext_resource path="res://assets/ui/iccoalhi.png" type="Texture" id=22]
|
||||
[ext_resource path="res://assets/ui/icnuchi.png" type="Texture" id=23]
|
||||
|
||||
[node name="ToolsWindow" type="WindowDialog"]
|
||||
anchor_left = 0.40332
|
||||
anchor_top = 0.315
|
||||
anchor_right = 0.544922
|
||||
anchor_bottom = 0.683333
|
||||
window_title = "Tools"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="CenterCtr" type="CenterContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -90.0
|
||||
margin_right = 90.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VertCtr" type="VBoxContainer" parent="CenterCtr"]
|
||||
margin_top = 24.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 196.0
|
||||
|
||||
[node name="LargeCtr" type="HBoxContainer" parent="CenterCtr/VertCtr"]
|
||||
margin_right = 180.0
|
||||
margin_bottom = 42.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_right = 42.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 15 )
|
||||
|
||||
[node name="TextureButton2" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 46.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 13 )
|
||||
texture_pressed = ExtResource( 14 )
|
||||
|
||||
[node name="NuclearBtn" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 92.0
|
||||
margin_right = 134.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 11 )
|
||||
texture_pressed = ExtResource( 23 )
|
||||
|
||||
[node name="CoalBtn" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
|
||||
margin_left = 138.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 42.0
|
||||
texture_normal = ExtResource( 18 )
|
||||
texture_pressed = ExtResource( 22 )
|
||||
|
||||
[node name="SmallCtr" type="HBoxContainer" parent="CenterCtr/VertCtr"]
|
||||
margin_top = 46.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 80.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="PoliceBtn" type="TextureButton" parent="CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
texture_pressed = ExtResource( 10 )
|
||||
|
||||
[node name="FireBtn" type="TextureButton" parent="CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 17 )
|
||||
texture_pressed = ExtResource( 6 )
|
||||
|
||||
[node name="ParkBtn" type="TextureButton" parent="CenterCtr/VertCtr/SmallCtr"]
|
||||
margin_left = 76.0
|
||||
margin_right = 110.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 12 )
|
||||
texture_pressed = ExtResource( 20 )
|
||||
|
||||
[node name="ToolsCtr" type="HBoxContainer" parent="CenterCtr/VertCtr"]
|
||||
margin_top = 84.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 118.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="InfoBtn" type="TextureButton" parent="CenterCtr/VertCtr/ToolsCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 9 )
|
||||
texture_pressed = ExtResource( 19 )
|
||||
|
||||
[node name="BulldozeBtn" type="TextureButton" parent="CenterCtr/VertCtr/ToolsCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 34.0
|
||||
texture_normal = ExtResource( 21 )
|
||||
texture_pressed = ExtResource( 16 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ZonesCtr" type="HBoxContainer" parent="CenterCtr/VertCtr"]
|
||||
margin_top = 122.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 172.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ResBtn" type="TextureButton" parent="CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_right = 34.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 4 )
|
||||
texture_pressed = ExtResource( 5 )
|
||||
|
||||
[node name="ComBtn" type="TextureButton" parent="CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_left = 38.0
|
||||
margin_right = 72.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
texture_pressed = ExtResource( 3 )
|
||||
|
||||
[node name="IndBtn" type="TextureButton" parent="CenterCtr/VertCtr/ZonesCtr"]
|
||||
margin_left = 76.0
|
||||
margin_right = 110.0
|
||||
margin_bottom = 50.0
|
||||
texture_normal = ExtResource( 8 )
|
||||
texture_pressed = ExtResource( 7 )
|
Loading…
Add table
Add a link
Reference in a new issue