Streamlined advisor window

- Streamlined advisor window messages through signals.
- Added TODO file
- Ignore /except directory
- News ticker based on the advisor code with text from SC3k with news from the game, with some exceptions.
- New SC3k-like interface.
- Added icons from Font Awesome.
This commit is contained in:
Tony Bark 2021-05-26 03:35:52 -04:00
parent e5505a3244
commit d1da70a099
38 changed files with 1738 additions and 413 deletions

1
.gitignore vendored
View file

@ -171,3 +171,4 @@ $RECYCLE.BIN/
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
/export

6
TODO.md Normal file
View file

@ -0,0 +1,6 @@
# To-do
- Make zones upgradeable, similar to SimCity BuildIt
- Add Casey Universe buildings
- Central Tower
- Pawprint Press

44
dialog/ticker.json Normal file
View file

@ -0,0 +1,44 @@
{
"1": {
"text": "50 Car Pile-Up Results In New City Sculpture."
},
"2": {
"text": "After 36 Years Of Marriage, Man Discovers Wife Is Actually A Rare Yucca Plant."
},
"3": {
"text": "All Raccoons Cheat At Poker, Animal Researchers Say."
},
"4": {
"text": "Pawprint News. Always there."
},
"5": {
"text": "Cat Hijacks Municipal Bus; Riders Applaud Good Timing At Stops And Courteous Meows."
},
"6": {
"text": "From The Desk Of Wise Guy Sammy: Check Your Facts Before Making A Fool Of Yourself."
},
"7": {
"text": "Rumor Of Kitty Kibble Shortage Causes Futures To Drop; Consumers Stockpile."
},
"8": {
"text": "From The Desk Of Wise Guy Sammy: The Insides Of Golf Balls Are Mostly Rubber Bands."
},
"9": {
"text": "Tommy B. Saif Sez: No Left Turn, Except Buses."
},
"10": {
"text": "Truckload Of Apples Overturns, [city] Diner Offers Applesauce Special."
},
"11": {
"text": "Ordinary Days In [city] Become Common."
},
"12": {
"text": "Semicolon Declared Sexier Than Comma At Grammarian's Fete."
},
"13": {
"text": "Spotted Owl Spotted."
},
"14": {
"text": "This Space For Rent."
}
}

View file

@ -0,0 +1,5 @@
{
"1": {
"text": ""
}
}

View file

@ -1,9 +1,8 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scripts/city_planner.gd" type="Script" id=1]
[ext_resource path="res://sprites/avatars/zc.png" type="Texture" id=2]
[ext_resource path="res://scripts/advisor_window.gd" type="Script" id=1]
[node name="CityPlanner" type="AcceptDialog"]
[node name="Advisor" type="AcceptDialog"]
anchor_left = 0.293945
anchor_top = 0.303333
anchor_right = 0.706055
@ -12,10 +11,6 @@ script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": true
}
dialogue_file = "res://dialog/cityplanner.json"
character = "Zack Casey"
rank = "City Planner"
avatar = ExtResource( 2 )
[node name="Container" type="HSplitContainer" parent="."]
anchor_right = 1.0

View file

@ -1,6 +1,7 @@
[gd_scene format=2]
[node name="Credits" type="WindowDialog"]
visible = true
anchor_left = 0.394043
anchor_top = 0.293333
anchor_right = 0.605957
@ -21,6 +22,9 @@ Tony Bark
Assets by
Maxis
Interface Icons by
Font Awesome
Powered by
Godot Engine
@ -34,6 +38,9 @@ Tony Bark
Assets by
Maxis
Interface Icons by
Font Awesome
Powered by
Godot Engine

View file

@ -1,46 +0,0 @@
[gd_scene load_steps=2 format=2]
[sub_resource type="GDScript" id=1]
script/source = "extends WindowDialog
onready var avatar_texture = $Avatar
onready var desc_text = $Description
func hint_message(description: String, avatar: Texture, hint_title: String):
avatar_texture.texture = avatar
desc_text.text = description
"
[node name="HintDialog" type="WindowDialog"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -196.5
margin_top = -75.0
margin_right = 196.5
margin_bottom = 75.0
script = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Avatar" type="TextureRect" parent="."]
anchor_left = 0.0305344
anchor_top = 0.0866667
anchor_right = 0.284987
anchor_bottom = 0.793333
rect_min_size = Vector2( 100, 106 )
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Description" type="RichTextLabel" parent="."]
anchor_left = 0.310433
anchor_top = 0.126667
anchor_right = 0.964377
anchor_bottom = 0.753333
__meta__ = {
"_edit_use_anchors_": true
}

76
scenes/Menu.tscn Normal file
View file

@ -0,0 +1,76 @@
[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

View file

@ -10,17 +10,13 @@
[node name="Controls" type="CanvasLayer" parent="."]
[node name="Start" type="Panel" parent="Controls"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -142.0
margin_top = -76.0
margin_right = 130.0
margin_bottom = 70.0
anchor_left = 0.367188
anchor_top = 0.378333
anchor_right = 0.632812
anchor_bottom = 0.646667
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
"_edit_use_anchors_": true
}
[node name="Container" type="VBoxContainer" parent="Controls/Start"]
@ -44,7 +40,17 @@ align = 1
margin_top = 18.0
margin_right = 219.0
margin_bottom = 42.0
text = "Furtropolis"
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 = 219.0
margin_bottom = 70.0
align = 1
caret_blink = true
caret_blink_speed = 0.5
@ -53,9 +59,9 @@ __meta__ = {
}
[node name="BudgetMenu" type="MenuButton" parent="Controls/Start/Container"]
margin_top = 46.0
margin_top = 74.0
margin_right = 219.0
margin_bottom = 66.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__ = {
@ -63,9 +69,9 @@ __meta__ = {
}
[node name="CreateBtn" type="Button" parent="Controls/Start/Container"]
margin_top = 70.0
margin_top = 98.0
margin_right = 219.0
margin_bottom = 90.0
margin_bottom = 118.0
text = "Create"
[connection signal="pressed" from="Controls/Start/Container/CreateBtn" to="Controls/Start" method="_on_CreateBtn_pressed"]

163
scenes/ToolsWindow.tscn Normal file
View file

@ -0,0 +1,163 @@
[gd_scene load_steps=24 format=2]
[ext_resource path="res://sprites/ui/iccom.png" type="Texture" id=1]
[ext_resource path="res://sprites/ui/icpolhi.png" type="Texture" id=2]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=3]
[ext_resource path="res://sprites/ui/icres.png" type="Texture" id=4]
[ext_resource path="res://sprites/ui/icreshi.png" type="Texture" id=5]
[ext_resource path="res://sprites/ui/icfire.png" type="Texture" id=6]
[ext_resource path="res://sprites/ui/icindhi.png" type="Texture" id=7]
[ext_resource path="res://sprites/ui/icind.png" type="Texture" id=8]
[ext_resource path="res://sprites/ui/icqry.png" type="Texture" id=9]
[ext_resource path="res://sprites/ui/icpol.png" type="Texture" id=10]
[ext_resource path="res://sprites/ui/icnuc.png" type="Texture" id=11]
[ext_resource path="res://sprites/ui/icpark.png" type="Texture" id=12]
[ext_resource path="res://sprites/ui/icseap.png" type="Texture" id=13]
[ext_resource path="res://sprites/ui/icseaphi.png" type="Texture" id=14]
[ext_resource path="res://sprites/ui/icstad.png" type="Texture" id=15]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=16]
[ext_resource path="res://sprites/ui/icfirehi.png" type="Texture" id=17]
[ext_resource path="res://sprites/ui/iccoal.png" type="Texture" id=18]
[ext_resource path="res://sprites/ui/icqryhi.png" type="Texture" id=19]
[ext_resource path="res://sprites/ui/icparkhi.png" type="Texture" id=20]
[ext_resource path="res://sprites/ui/icdozr.png" type="Texture" id=21]
[ext_resource path="res://sprites/ui/iccoalhi.png" type="Texture" id=22]
[ext_resource path="res://sprites/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 )

View file

@ -1,49 +0,0 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://scenes/advisors/CityPlanner.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/DebugConsole.tscn" type="PackedScene" id=7]
[ext_resource path="res://scenes/AdvisorMeet.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenes/advisors/FinanceAdvisor.tscn" type="PackedScene" id=9]
[ext_resource path="res://scripts/windows.gd" type="Script" id=10]
[ext_resource path="res://scenes/TaxWindow.tscn" type="PackedScene" id=11]
[node name="Windows" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Console" parent="." instance=ExtResource( 7 )]
anchor_left = 0.594727
anchor_top = 0.05
anchor_right = 0.985352
anchor_bottom = 0.3
margin_right = 0.0
margin_bottom = 0.0
rect_min_size = Vector2( 400, 150 )
resizable = true
[node name="TaxWindow" parent="." instance=ExtResource( 11 )]
anchor_left = 0.297863
anchor_top = 0.409167
anchor_right = 0.702137
anchor_bottom = 0.590833
margin_left = 0.0
margin_right = 0.0
margin_bottom = 3.05176e-05
[node name="AdvisorMeet" parent="." instance=ExtResource( 8 )]
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="CityPlanner" parent="." instance=ExtResource( 5 )]
[node name="FinancialAdvisor" parent="." instance=ExtResource( 9 )]

View file

@ -1,54 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://sprites/avatars/kit.png" type="Texture" id=1]
[ext_resource path="res://scripts/finance_advisor.gd" type="Script" id=2]
[node name="FinancialAdvisor" type="AcceptDialog"]
anchor_left = 0.293945
anchor_top = 0.303333
anchor_right = 0.706055
anchor_bottom = 0.696667
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": true
}
dialogue_file = "res://dialog/finacial.json"
character = "Kit Welsh"
rank = "Financial"
avatar = ExtResource( 1 )
[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

View file

@ -1,13 +1,13 @@
[gd_scene load_steps=28 format=2]
[gd_scene load_steps=38 format=2]
[ext_resource path="res://scenes/Map.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/Windows.tscn" type="PackedScene" id=2]
[ext_resource path="res://sprites/symbols/population.svg" type="Texture" id=2]
[ext_resource path="res://scripts/city_status.gd" type="Script" id=3]
[ext_resource path="res://sprites/ui/icpolhi.png" type="Texture" id=4]
[ext_resource path="res://scenes/Advisor.tscn" type="PackedScene" id=4]
[ext_resource path="res://sprites/ui/iccom.png" type="Texture" id=5]
[ext_resource path="res://sprites/ui/icfirehi.png" type="Texture" id=6]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=7]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=8]
[ext_resource path="res://scenes/DebugConsole.tscn" type="PackedScene" id=6]
[ext_resource path="res://sprites/symbols/graph.svg" type="Texture" id=7]
[ext_resource path="res://sprites/symbols/calendar.svg" type="Texture" id=8]
[ext_resource path="res://sprites/ui/icres.png" type="Texture" id=9]
[ext_resource path="res://sprites/ui/icreshi.png" type="Texture" id=10]
[ext_resource path="res://sprites/ui/icfire.png" type="Texture" id=11]
@ -20,6 +20,7 @@
[ext_resource path="res://sprites/ui/iccoalhi.png" type="Texture" id=18]
[ext_resource path="res://sprites/ui/iccoal.png" type="Texture" id=19]
[ext_resource path="res://scripts/game.gd" type="Script" id=20]
[ext_resource path="res://scenes/Meet.tscn" type="PackedScene" id=21]
[ext_resource path="res://sprites/ui/icparkhi.png" type="Texture" id=22]
[ext_resource path="res://sprites/ui/icnuc.png" type="Texture" id=23]
[ext_resource path="res://sprites/ui/icpark.png" type="Texture" id=24]
@ -27,291 +28,365 @@
[ext_resource path="res://sprites/ui/icseap.png" type="Texture" id=26]
[ext_resource path="res://sprites/ui/icseaphi.png" type="Texture" id=27]
[ext_resource path="res://sprites/ui/icstad.png" type="Texture" id=28]
[ext_resource path="res://sprites/ui/icpolhi.png" type="Texture" id=29]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=30]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=31]
[ext_resource path="res://scenes/TaxWindow.tscn" type="PackedScene" id=32]
[ext_resource path="res://sprites/ui/icfirehi.png" type="Texture" id=33]
[ext_resource path="res://scenes/Credits.tscn" type="PackedScene" id=34]
[ext_resource path="res://scripts/ticker.gd" type="Script" id=35]
[ext_resource path="res://sprites/symbols/building.svg" type="Texture" id=36]
[ext_resource path="res://scripts/windows.gd" type="Script" id=37]
[node name="Game" type="Node2D"]
script = ExtResource( 20 )
[node name="Quarters" type="Timer" parent="."]
wait_time = 15.0
wait_time = 150.0
autostart = true
[node name="RotateNews" type="Timer" parent="."]
wait_time = 5.0
autostart = true
[node name="Map" parent="." instance=ExtResource( 1 )]
[node name="Controls" type="CanvasLayer" parent="."]
[node name="Core" type="Control" parent="Controls"]
anchor_left = -0.00268195
anchor_top = -0.000954026
anchor_right = 0.997318
anchor_bottom = 0.999044
margin_left = -0.172424
margin_top = 2.77234
margin_right = -0.172424
margin_bottom = 2.77234
[node name="Windows" type="Control" parent="Controls"]
anchor_right = 0.938477
anchor_bottom = 0.935
script = ExtResource( 37 )
__meta__ = {
"_edit_use_anchors_": false
"_edit_lock_": true,
"_edit_use_anchors_": true
}
[node name="Windows" parent="Controls/Core" instance=ExtResource( 2 )]
anchor_bottom = 0.835002
margin_bottom = -3.05176e-05
[node name="Console" parent="Controls/Windows" instance=ExtResource( 6 )]
anchor_left = 0.594727
anchor_top = 0.05
anchor_right = 0.985352
anchor_bottom = 0.3
rect_min_size = Vector2( 400, 150 )
resizable = true
[node name="ControlPanel" type="Panel" parent="Controls/Core"]
anchor_left = 0.00195312
anchor_top = 0.828335
anchor_right = 1.00684
anchor_bottom = 1.00834
margin_bottom = -2.0
[node name="CityPlanner" parent="Controls/Windows" instance=ExtResource( 4 )]
[node name="TaxWindow" parent="Controls/Windows" instance=ExtResource( 32 )]
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/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/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="Tabs" type="TabContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.00485909
anchor_top = 0.0471698
anchor_right = 0.995141
anchor_bottom = 0.971698
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Zones" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterZones" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Zones"]
[node name="CenterCtr" type="CenterContainer" parent="Controls/Windows/ToolsWindow"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ZonesCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones"]
margin_left = 450.0
margin_top = 5.0
margin_right = 560.0
margin_bottom = 55.0
[node name="VertCtr" type="VBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr"]
margin_left = 6.0
margin_top = 17.0
margin_right = 186.0
margin_bottom = 189.0
[node name="LargeCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_right = 180.0
margin_bottom = 42.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ResBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_right = 34.0
margin_bottom = 50.0
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 10 )
[node name="ComBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 50.0
texture_normal = ExtResource( 5 )
texture_pressed = ExtResource( 8 )
[node name="IndBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 50.0
texture_normal = ExtResource( 13 )
texture_pressed = ExtResource( 12 )
[node name="Small" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterSmall" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Small"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="SmallCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall"]
margin_left = 450.0
margin_top = 13.0
margin_right = 560.0
margin_bottom = 47.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="PoliceBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 16 )
[node name="FireBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 11 )
[node name="ParkBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 34.0
texture_normal = ExtResource( 24 )
texture_pressed = ExtResource( 22 )
[node name="Large" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterLarge" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Large"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LargeCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Large/CenterLarge"]
margin_left = 415.0
margin_top = 9.0
margin_right = 595.0
margin_bottom = 51.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[node name="TextureButton" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
margin_right = 42.0
margin_bottom = 42.0
texture_normal = ExtResource( 28 )
[node name="TextureButton2" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[node name="TextureButton2" type="TextureButton" parent="Controls/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/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[node name="NuclearBtn" type="TextureButton" parent="Controls/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/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[node name="CoalBtn" type="TextureButton" parent="Controls/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="Tools" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterTools" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Tools"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ToolsCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Tools/CenterTools"]
margin_left = 469.0
margin_top = 13.0
margin_right = 541.0
margin_bottom = 47.0
[node name="SmallCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_top = 46.0
margin_right = 180.0
margin_bottom = 80.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="InfoBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Tools/CenterTools/ToolsCtr"]
[node name="PoliceBtn" type="TextureButton" parent="Controls/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/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/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/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/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/Core/ControlPanel/Tabs/Tools/CenterTools/ToolsCtr"]
[node name="BulldozeBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ToolsCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 17 )
texture_pressed = ExtResource( 7 )
texture_pressed = ExtResource( 31 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StatCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.0136054
anchor_top = 0.0571429
anchor_right = 0.312925
anchor_bottom = 0.214286
[node name="ZonesCtr" type="HBoxContainer" parent="Controls/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/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/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/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/Windows" instance=ExtResource( 34 )]
visible = false
[node name="Menu" type="Panel" parent="Controls"]
anchor_left = 0.919922
anchor_top = -0.02
anchor_right = 1.0
anchor_bottom = 0.963333
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}
[node name="ButtonCtr" type="VBoxContainer" parent="Controls/Menu"]
anchor_top = 0.0305085
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 7.62939e-06
__meta__ = {
"_edit_use_anchors_": true
}
[node name="TaxBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 10.0
margin_right = 72.0
margin_bottom = 56.0
size_flags_horizontal = 4
icon = ExtResource( 7 )
[node name="ToolsBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 13.0
margin_top = 60.0
margin_right = 68.0
margin_bottom = 121.0
size_flags_horizontal = 4
icon = ExtResource( 36 )
[node name="AdvsiorBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 7.0
margin_top = 125.0
margin_right = 74.0
margin_bottom = 145.0
size_flags_horizontal = 4
text = "Advisors"
[node name="Status" type="Panel" parent="Controls"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -55.0
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="StatCtr" type="HBoxContainer" parent="Controls/Status"]
anchor_left = 0.00878906
anchor_top = 0.527273
anchor_right = 1.0
anchor_bottom = 0.963636
custom_constants/separation = 100
alignment = 1
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": true
}
[node name="CityNameLbl" type="Label" parent="Controls/Core/ControlPanel/StatCtr"]
margin_top = 1.0
margin_right = 66.0
margin_bottom = 15.0
[node name="CityNameLbl" type="Label" parent="Controls/Status/StatCtr"]
margin_left = 123.0
margin_top = 4.0
margin_right = 189.0
margin_bottom = 18.0
text = "City Name"
align = 1
[node name="YearLbl" type="Label" parent="Controls/Core/ControlPanel/StatCtr"]
margin_left = 70.0
margin_top = 1.0
margin_right = 109.0
margin_bottom = 15.0
text = "Y1980"
align = 1
[node name="CityYearSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 289.0
margin_right = 293.0
margin_bottom = 23.0
[node name="BudgetLbl" type="Label" parent="Controls/Core/ControlPanel/StatCtr"]
margin_left = 113.0
margin_top = 1.0
margin_right = 128.0
margin_bottom = 15.0
[node name="YearCtr" type="HBoxContainer" parent="Controls/Status/StatCtr"]
margin_left = 393.0
margin_right = 443.0
margin_bottom = 23.0
[node name="CalIcon" type="TextureRect" parent="Controls/Status/StatCtr/YearCtr"]
margin_right = 14.0
margin_bottom = 23.0
texture = ExtResource( 8 )
stretch_mode = 4
[node name="YearLbl" type="Label" parent="Controls/Status/StatCtr/YearCtr"]
margin_left = 18.0
margin_top = 4.0
margin_right = 50.0
margin_bottom = 18.0
text = "1980"
[node name="YearBudgetSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 543.0
margin_right = 547.0
margin_bottom = 23.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BudgetLbl" type="Label" parent="Controls/Status/StatCtr"]
margin_left = 647.0
margin_top = 4.0
margin_right = 662.0
margin_bottom = 18.0
text = "§0"
align = 1
[node name="ButtonCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.733722
anchor_top = 0.0522911
anchor_right = 0.987366
anchor_bottom = 0.195148
margin_top = -0.906677
margin_bottom = 3.95047
alignment = 2
[node name="BudgetPopSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 762.0
margin_right = 766.0
margin_bottom = 23.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PopCtr" type="HBoxContainer" parent="Controls/Status/StatCtr"]
margin_left = 866.0
margin_right = 892.0
margin_bottom = 23.0
[node name="PopIcon" type="TextureRect" parent="Controls/Status/StatCtr/PopCtr"]
margin_right = 14.0
margin_bottom = 23.0
texture = ExtResource( 2 )
stretch_mode = 4
[node name="PopLbl" type="Label" parent="Controls/Status/StatCtr/PopCtr"]
margin_left = 18.0
margin_top = 4.0
margin_right = 26.0
margin_bottom = 18.0
text = "0"
[node name="TickerBg" type="ColorRect" parent="Controls/Status"]
anchor_left = 0.00976562
anchor_top = 0.0909091
anchor_right = 0.987305
anchor_bottom = 0.490909
color = Color( 0, 0, 0, 1 )
script = ExtResource( 35 )
__meta__ = {
"_edit_use_anchors_": true
}
[node name="TaxBtn" type="Button" parent="Controls/Core/ControlPanel/ButtonCtr"]
margin_left = 157.0
margin_right = 190.0
margin_bottom = 20.0
text = "RCI"
[node name="AdvsiorBtn" type="Button" parent="Controls/Core/ControlPanel/ButtonCtr"]
margin_left = 194.0
margin_right = 261.0
margin_bottom = 20.0
text = "Advisors"
[node name="TickerTxt" type="RichTextLabel" parent="Controls/Status/TickerBg"]
anchor_left = 0.00601721
anchor_top = 0.181818
anchor_right = 0.994298
anchor_bottom = 0.954545
__meta__ = {
"_edit_use_anchors_": true
}
[connection signal="timeout" from="Quarters" to="." method="_on_Quarters_timeout"]
[connection signal="pressed" from="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr/ResBtn" to="Map" method="_on_ResBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr/CoalBtn" to="Map" method="_on_CoalBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/ButtonCtr/TaxBtn" to="Controls/Core/Windows" method="_on_TaxBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/ButtonCtr/AdvsiorBtn" to="Controls/Core/Windows" method="_on_AdvsiorBtn_pressed"]
[connection signal="timeout" from="RotateNews" to="Controls/Status/TickerBg" method="_on_RotateNews_timeout"]
[connection signal="pressed" from="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr/CoalBtn" to="Map" method="_on_CoalBtn_pressed"]
[connection signal="pressed" from="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr/ResBtn" to="Map" method="_on_ResBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/TaxBtn" to="Controls/Windows" method="_on_TaxBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/ToolsBtn" to="Controls/Windows" method="_on_ToolsBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/AdvsiorBtn" to="Controls/Windows" method="_on_AdvsiorBtn_pressed"]

View file

@ -1,10 +1,10 @@
extends AcceptDialog
export(String, FILE, "*.json") var dialogue_file
var dialogue_file
# "character" would be "name" but it's already used by the base class
export var character: String
export var rank: String
export(Texture) var avatar
var character
var rank
var avatar
var dialogue_keys = []
var dialogue_name = ""
@ -15,27 +15,37 @@ onready var rank_label = $Container/Advisor/RankLbl
onready var name_label = $Container/Advisor/NameLbl
onready var description_label = $Container/DescriptionLbl
func _start_dialogue(message):
_load_dialogue(dialogue_file)
func _start_dialogue(advisor, message):
if advisor == SimData.Advisors.CITY_PLANNER:
dialogue_file = "res://dialog/cityplanner.json"
_load_dialogue()
avatar_texture.texture = preload("res://sprites/avatars/zc.png")
name_label.text = "Zack Casey"
rank_label.text = "City Planner"
elif advisor == SimData.Advisors.FINANCIAL:
dialogue_file = "res://dialog/finacial.json"
_load_dialogue()
avatar_texture.texture = preload("res://sprites/avatars/kit.png")
name_label.text = "Kit Welsh"
rank_label.text = "Financial Advisor"
_index_dialogue()
description_label.text = dialogue_keys[message].text
window_title = dialogue_keys[message].name
show()
func _index_dialogue():
var dialogue = _load_dialogue(dialogue_file)
var dialogue = _load_dialogue()
dialogue_keys.clear()
for key in dialogue:
dialogue_keys.append(dialogue[key])
func _load_dialogue(file_path):
func _load_dialogue():
var file = File.new()
if file.file_exists(file_path):
file.open(file_path, file.READ)
if file.file_exists(dialogue_file):
file.open(dialogue_file, file.READ)
var dialogue = parse_json(file.get_as_text())
return dialogue
func _ready():
avatar_texture.texture = avatar
name_label.text = character
rank_label.text = rank
SimEvents.connect("advisor_message", self, "_start_dialogue")

View file

@ -1,13 +1,14 @@
extends Node
var city_name: String = "Furtropolis" # Hard-coded, for now
var mayor_name: String = "Defecto"
var year: int = 1980
var prev_quarter: int
var quarter: int = 1
var population: int = 0
var news_ticker: String
var budget: int = 20000
var expenses: int
var is_alert: bool = false
const currency: String = "§"
@ -29,7 +30,16 @@ var fire_tax: int
var police_tax: int
var power_tax: int
enum GameSpeed {SLOW, MEDIUM, FAST}
enum GameSpeed {
SLOW,
MEDIUM,
FAST
}
enum Advisors {
CITY_PLANNER,
FINANCIAL
}
func starting_budget(lev: int):

View file

@ -3,5 +3,8 @@ extends Node
signal has_power
signal budget
signal game_speed
signal city_planner(message)
signal financial_advisor(message)
signal advisor_message(advisor, message)
# News
signal send_alert(message)
signal resume_news

View file

@ -1,4 +0,0 @@
extends "res://scripts/advisor_window.gd"
func _ready():
SimEvents.connect("city_planner", self, "_start_dialogue")

View file

@ -2,9 +2,9 @@ extends HBoxContainer
onready var city_name = $CityNameLbl
onready var budget = $BudgetLbl
onready var year = $YearLbl
onready var year = $YearCtr/YearLbl
func _process(delta):
city_name.text = SimData.city_name
budget.text = SimData.currency + str(SimData.budget)
year.text = "Y" + str(SimData.year)
year.text = str(SimData.year)

View file

@ -1,4 +0,0 @@
extends "res://scripts/advisor_window.gd"
func _ready():
SimEvents.connect("financial_advisor", self, "_start_dialogue")

View file

@ -1,10 +1,20 @@
extends Node2D
onready var rotate_news = $RotateNews
onready var quarters = $Quarters
func _ready():
SimEvents.connect("resume_news", self, "_resume_rotation")
SimEvents.connect("send_alert", self, "_stop_news")
func _on_Quarters_timeout():
SimData.year += 1
SimData.prev_quarter = SimData.quarter
SimEvents.emit_signal("budget")
quarters.start()
SimEvents.emit_signal("budget")
func _stop_news():
rotate_news.stop()
func _resume_rotation():
rotate_news.start()

View file

@ -1,9 +1,15 @@
extends Panel
onready var city_name = $Container/CityNameEdit.text
onready var city_name = $Container/CityNameEdit
onready var mayor_name = $Container/MayorNameEdit
onready var budget = $Container/BudgetMenu
func _ready():
city_name.text = SimData.city_name
mayor_name.text = SimData.mayor_name
func _on_CreateBtn_pressed():
SimData.city_name = city_name
SimData.city_name = city_name.text
SimData.mayor_name = mayor_name.text
get_tree().change_scene("res://scenes/Game.tscn")

57
scripts/ticker.gd Normal file
View file

@ -0,0 +1,57 @@
extends ColorRect
onready var ticker_text = $TickerTxt
var news_file = ""
var rng = RandomNumberGenerator.new()
var news_keys = []
func _index_news():
var news = _load_news()
news_keys.clear()
for key in news:
news_keys.append(news[key])
func _load_news():
var file = File.new()
if file.file_exists(news_file):
file.open(news_file, file.READ)
var dialogue = parse_json(file.get_as_text())
return dialogue
func _ready():
SimEvents.connect("send_alert", self, "_start_alert")
SimEvents.connect("resume_news", self, "_resume_ticker")
_random_news("res://dialog/ticker.json")
func _process(delta):
if get_tree().paused:
ticker_text.text = "Simulation Paused"
func _start_alert(message):
SimData.is_alert = true
news_file = "res://dialog/ticker_alerts.json"
ticker_text.text = news_keys[message].text
func _random_news(file):
news_file = file
_load_news()
_index_news()
rng.randomize()
var max_mange = news_keys.size() - 1
var ticker_range = rng.randi_range(0, max_mange)
var news = news_keys[ticker_range].text
if "[city]" in news:
news = news.replace("[city]", SimData.city_name)
if "[mayor]" in news:
news = news.replace("[mayor]", SimData.mayor_name)
ticker_text.text = news
func _resume_ticker():
_random_news("res://dialog/ticker.json")
func _on_RotateNews_timeout():
_random_news("res://dialog/ticker.json")

View file

@ -3,9 +3,11 @@ extends Control
onready var debug_console = $Console
onready var tax_window = $TaxWindow
onready var advsior_meet_window = $AdvisorMeet
onready var tools_window = $ToolsWindow
# onready var news_ticker = $
func _ready():
SimEvents.emit_signal("city_planner", 0)
SimEvents.emit_signal("advisor_message", SimData.Advisors.CITY_PLANNER, 0)
func _process(delta):
if Input.is_action_pressed("ui_cheats"):
@ -16,3 +18,6 @@ func _on_TaxBtn_pressed():
func _on_AdvsiorBtn_pressed():
advsior_meet_window.show()
func _on_ToolsBtn_pressed():
tools_window.show()

View file

@ -0,0 +1,193 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="43"
height="55"
viewBox="0 0 42.999999 54.999998"
xml:space="preserve"
sodipodi:docname="building.svg"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)"><metadata
id="metadata2177"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs2175" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview2173"
showgrid="false"
inkscape:pagecheckerboard="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.121755"
inkscape:cx="351.16166"
inkscape:cy="290.04267"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" />
<g
id="g2140"
transform="matrix(0.10696571,0,0,0.10749998,-5.8633254,0)"
style="fill:#ffffff">
<g
id="g2138"
style="fill:#ffffff">
<path
d="M 451.385,5.424 C 447.768,1.809 443.486,0 438.538,0 H 73.089 c -4.952,0 -9.233,1.809 -12.85,5.424 -3.615,3.617 -5.424,7.898 -5.424,12.847 v 475.082 c 0,4.952 1.809,9.233 5.424,12.851 3.621,3.617 7.902,5.424 12.85,5.424 h 365.449 c 4.948,0 9.233,-1.807 12.847,-5.424 3.61,-3.617 5.428,-7.898 5.428,-12.851 V 18.271 C 456.809,13.323 455.002,9.042 451.385,5.424 Z M 420.264,475.085 H 310.632 v -63.953 c 0,-2.478 -0.907,-4.62 -2.707,-6.427 -1.817,-1.807 -3.949,-2.711 -6.427,-2.711 h -91.367 c -2.474,0 -4.615,0.904 -6.423,2.711 -1.807,1.807 -2.712,3.949 -2.712,6.427 v 63.953 H 91.36 V 36.542 h 328.904 z"
id="path2100"
style="fill:#ffffff" />
<path
d="m 137.042,401.994 h 18.271 c 2.474,0 4.616,-0.899 6.423,-2.71 1.809,-1.813 2.714,-3.949 2.714,-6.427 v -18.274 c 0,-2.471 -0.905,-4.609 -2.714,-6.42 -1.807,-1.807 -3.949,-2.71 -6.423,-2.71 h -18.271 c -2.474,0 -4.615,0.903 -6.423,2.71 -1.809,1.811 -2.712,3.949 -2.712,6.42 v 18.274 c 0,2.478 0.903,4.613 2.712,6.427 1.809,1.807 3.949,2.71 6.423,2.71 z"
id="path2102"
style="fill:#ffffff" />
<path
d="m 137.042,328.904 h 18.271 c 2.474,0 4.616,-0.904 6.423,-2.711 1.809,-1.813 2.714,-3.949 2.714,-6.427 v -18.274 c 0,-2.471 -0.905,-4.616 -2.714,-6.42 -1.807,-1.807 -3.949,-2.71 -6.423,-2.71 h -18.271 c -2.474,0 -4.615,0.903 -6.423,2.71 -1.809,1.804 -2.712,3.949 -2.712,6.42 v 18.274 c 0,2.478 0.903,4.613 2.712,6.427 1.809,1.807 3.949,2.711 6.423,2.711 z"
id="path2104"
style="fill:#ffffff" />
<path
d="m 210.135,328.904 h 18.272 c 2.473,0 4.615,-0.904 6.423,-2.711 1.807,-1.813 2.712,-3.949 2.712,-6.427 v -18.274 c 0,-2.471 -0.909,-4.613 -2.712,-6.42 -1.809,-1.807 -3.951,-2.71 -6.423,-2.71 h -18.272 c -2.474,0 -4.615,0.903 -6.423,2.71 -1.807,1.807 -2.712,3.949 -2.712,6.42 v 18.274 c 0,2.478 0.905,4.613 2.712,6.427 1.808,1.807 3.949,2.711 6.423,2.711 z"
id="path2106"
style="fill:#ffffff" />
<path
d="m 137.042,255.813 h 18.271 c 2.474,0 4.616,-0.903 6.423,-2.712 1.809,-1.809 2.714,-3.949 2.714,-6.424 v -18.271 c 0,-2.475 -0.905,-4.617 -2.714,-6.424 -1.807,-1.809 -3.949,-2.712 -6.423,-2.712 h -18.271 c -2.474,0 -4.615,0.903 -6.423,2.712 -1.809,1.807 -2.712,3.949 -2.712,6.424 v 18.271 c 0,2.475 0.903,4.615 2.712,6.424 1.809,1.809 3.949,2.712 6.423,2.712 z"
id="path2108"
style="fill:#ffffff" />
<path
d="m 356.311,401.994 h 18.274 c 2.478,0 4.616,-0.899 6.427,-2.71 1.811,-1.813 2.707,-3.949 2.707,-6.427 v -18.274 c 0,-2.471 -0.903,-4.609 -2.707,-6.42 -1.811,-1.807 -3.949,-2.71 -6.427,-2.71 h -18.274 c -2.471,0 -4.613,0.903 -6.42,2.71 -1.811,1.811 -2.711,3.949 -2.711,6.42 v 18.274 c 0,2.478 0.9,4.613 2.711,6.427 1.803,1.807 3.949,2.71 6.42,2.71 z"
id="path2110"
style="fill:#ffffff" />
<path
d="m 283.224,328.904 h 18.274 c 2.478,0 4.613,-0.904 6.427,-2.711 1.8,-1.813 2.703,-3.949 2.703,-6.427 v -18.274 c 0,-2.471 -0.903,-4.613 -2.703,-6.42 -1.813,-1.807 -3.949,-2.71 -6.427,-2.71 h -18.274 c -2.471,0 -4.62,0.903 -6.427,2.71 -1.801,1.807 -2.711,3.949 -2.711,6.42 v 18.274 c 0,2.478 0.907,4.613 2.711,6.427 1.813,1.807 3.956,2.711 6.427,2.711 z"
id="path2112"
style="fill:#ffffff" />
<path
d="m 210.135,255.813 h 18.272 c 2.473,0 4.615,-0.903 6.423,-2.712 1.807,-1.809 2.712,-3.949 2.712,-6.424 v -18.271 c 0,-2.475 -0.909,-4.613 -2.712,-6.424 -1.809,-1.809 -3.951,-2.712 -6.423,-2.712 h -18.272 c -2.474,0 -4.615,0.903 -6.423,2.712 -1.807,1.807 -2.712,3.949 -2.712,6.424 v 18.271 c 0,2.475 0.905,4.615 2.712,6.424 1.808,1.809 3.949,2.712 6.423,2.712 z"
id="path2114"
style="fill:#ffffff" />
<path
d="m 137.042,182.725 h 18.271 c 2.474,0 4.616,-0.905 6.423,-2.712 1.809,-1.809 2.714,-3.946 2.714,-6.423 v -18.271 c 0,-2.474 -0.905,-4.62 -2.714,-6.423 -1.807,-1.809 -3.949,-2.714 -6.423,-2.714 h -18.271 c -2.474,0 -4.615,0.905 -6.423,2.714 -1.809,1.807 -2.712,3.949 -2.712,6.423 v 18.271 c 0,2.474 0.903,4.615 2.712,6.423 1.809,1.806 3.949,2.712 6.423,2.712 z"
id="path2116"
style="fill:#ffffff" />
<path
d="m 356.311,328.904 h 18.274 c 2.478,0 4.616,-0.904 6.427,-2.711 1.811,-1.813 2.707,-3.949 2.707,-6.427 v -18.274 c 0,-2.471 -0.903,-4.613 -2.707,-6.42 -1.811,-1.807 -3.949,-2.71 -6.427,-2.71 h -18.274 c -2.471,0 -4.613,0.903 -6.42,2.71 -1.811,1.804 -2.711,3.949 -2.711,6.42 v 18.274 c 0,2.478 0.9,4.613 2.711,6.427 1.803,1.807 3.949,2.711 6.42,2.711 z"
id="path2118"
style="fill:#ffffff" />
<path
d="m 283.224,255.813 h 18.274 c 2.478,0 4.613,-0.903 6.427,-2.712 1.8,-1.809 2.703,-3.949 2.703,-6.424 v -18.271 c 0,-2.475 -0.903,-4.613 -2.703,-6.424 -1.813,-1.809 -3.949,-2.712 -6.427,-2.712 h -18.274 c -2.471,0 -4.62,0.903 -6.427,2.712 -1.801,1.807 -2.711,3.949 -2.711,6.424 v 18.271 c 0,2.475 0.907,4.615 2.711,6.424 1.813,1.809 3.956,2.712 6.427,2.712 z"
id="path2120"
style="fill:#ffffff" />
<path
d="m 210.135,182.725 h 18.272 c 2.473,0 4.615,-0.905 6.423,-2.712 1.807,-1.809 2.712,-3.946 2.712,-6.423 v -18.271 c 0,-2.474 -0.909,-4.62 -2.712,-6.423 -1.809,-1.809 -3.951,-2.714 -6.423,-2.714 h -18.272 c -2.474,0 -4.615,0.905 -6.423,2.714 -1.807,1.807 -2.712,3.949 -2.712,6.423 v 18.271 c 0,2.474 0.905,4.615 2.712,6.423 1.808,1.806 3.949,2.712 6.423,2.712 z"
id="path2122"
style="fill:#ffffff" />
<path
d="m 137.042,109.632 h 18.271 c 2.474,0 4.616,-0.905 6.423,-2.713 1.809,-1.807 2.714,-3.949 2.714,-6.424 v -18.27 c 0,-2.475 -0.905,-4.615 -2.714,-6.424 -1.807,-1.807 -3.949,-2.712 -6.423,-2.712 h -18.271 c -2.474,0 -4.615,0.905 -6.423,2.712 -1.809,1.809 -2.712,3.949 -2.712,6.424 v 18.271 c 0,2.475 0.903,4.617 2.712,6.424 1.809,1.808 3.949,2.712 6.423,2.712 z"
id="path2124"
style="fill:#ffffff" />
<path
d="m 356.311,255.813 h 18.274 c 2.478,0 4.616,-0.903 6.427,-2.712 1.811,-1.809 2.707,-3.949 2.707,-6.424 v -18.271 c 0,-2.475 -0.903,-4.613 -2.707,-6.424 -1.811,-1.809 -3.949,-2.712 -6.427,-2.712 h -18.274 c -2.471,0 -4.613,0.903 -6.42,2.712 -1.811,1.807 -2.711,3.949 -2.711,6.424 v 18.271 c 0,2.475 0.9,4.615 2.711,6.424 1.803,1.809 3.949,2.712 6.42,2.712 z"
id="path2126"
style="fill:#ffffff" />
<path
d="m 283.224,182.725 h 18.274 c 2.478,0 4.613,-0.905 6.427,-2.712 1.8,-1.809 2.703,-3.946 2.703,-6.423 v -18.271 c 0,-2.474 -0.903,-4.62 -2.703,-6.423 -1.813,-1.809 -3.949,-2.714 -6.427,-2.714 h -18.274 c -2.471,0 -4.613,0.905 -6.427,2.714 -1.801,1.807 -2.711,3.949 -2.711,6.423 v 18.271 c 0,2.474 0.907,4.615 2.711,6.423 1.813,1.806 3.956,2.712 6.427,2.712 z"
id="path2128"
style="fill:#ffffff" />
<path
d="m 210.135,109.632 h 18.272 c 2.473,0 4.615,-0.905 6.423,-2.713 1.807,-1.807 2.712,-3.949 2.712,-6.424 v -18.27 c 0,-2.475 -0.909,-4.615 -2.712,-6.424 -1.809,-1.807 -3.951,-2.712 -6.423,-2.712 h -18.272 c -2.474,0 -4.615,0.905 -6.423,2.712 C 201.905,77.61 201,79.75 201,82.225 v 18.271 c 0,2.475 0.905,4.617 2.712,6.424 1.808,1.808 3.949,2.712 6.423,2.712 z"
id="path2130"
style="fill:#ffffff" />
<path
d="m 356.311,182.725 h 18.274 c 2.478,0 4.616,-0.905 6.427,-2.712 1.811,-1.809 2.707,-3.946 2.707,-6.423 v -18.271 c 0,-2.474 -0.903,-4.62 -2.707,-6.423 -1.811,-1.809 -3.949,-2.714 -6.427,-2.714 h -18.274 c -2.471,0 -4.613,0.905 -6.42,2.714 -1.811,1.807 -2.711,3.949 -2.711,6.423 v 18.271 c 0,2.474 0.9,4.615 2.711,6.423 1.803,1.806 3.949,2.712 6.42,2.712 z"
id="path2132"
style="fill:#ffffff" />
<path
d="m 283.224,109.632 h 18.274 c 2.478,0 4.613,-0.905 6.427,-2.713 1.8,-1.807 2.703,-3.949 2.703,-6.424 v -18.27 c 0,-2.475 -0.903,-4.615 -2.703,-6.424 -1.813,-1.807 -3.949,-2.712 -6.427,-2.712 h -18.274 c -2.471,0 -4.62,0.905 -6.427,2.712 -1.801,1.809 -2.711,3.949 -2.711,6.424 v 18.271 c 0,2.475 0.907,4.617 2.711,6.424 1.813,1.808 3.956,2.712 6.427,2.712 z"
id="path2134"
style="fill:#ffffff" />
<path
d="m 356.311,109.632 h 18.274 c 2.478,0 4.616,-0.905 6.427,-2.713 1.811,-1.807 2.707,-3.949 2.707,-6.424 v -18.27 c 0,-2.475 -0.903,-4.615 -2.707,-6.424 -1.811,-1.807 -3.949,-2.712 -6.427,-2.712 h -18.274 c -2.471,0 -4.613,0.905 -6.42,2.712 -1.811,1.809 -2.711,3.949 -2.711,6.424 v 18.271 c 0,2.475 0.9,4.617 2.711,6.424 1.803,1.808 3.949,2.712 6.42,2.712 z"
id="path2136"
style="fill:#ffffff" />
</g>
</g>
<g
id="g2142"
transform="translate(-54.815)">
</g>
<g
id="g2144"
transform="translate(-54.815)">
</g>
<g
id="g2146"
transform="translate(-54.815)">
</g>
<g
id="g2148"
transform="translate(-54.815)">
</g>
<g
id="g2150"
transform="translate(-54.815)">
</g>
<g
id="g2152"
transform="translate(-54.815)">
</g>
<g
id="g2154"
transform="translate(-54.815)">
</g>
<g
id="g2156"
transform="translate(-54.815)">
</g>
<g
id="g2158"
transform="translate(-54.815)">
</g>
<g
id="g2160"
transform="translate(-54.815)">
</g>
<g
id="g2162"
transform="translate(-54.815)">
</g>
<g
id="g2164"
transform="translate(-54.815)">
</g>
<g
id="g2166"
transform="translate(-54.815)">
</g>
<g
id="g2168"
transform="translate(-54.815)">
</g>
<g
id="g2170"
transform="translate(-54.815)">
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/building.svg-565a4a6da30528637c52860f03f9ac31.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/building.svg"
dest_files=[ "res://.import/building.svg-565a4a6da30528637c52860f03f9ac31.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="14.000001"
height="14.000002"
viewBox="0 0 14.000001 14.000002"
xml:space="preserve"
sodipodi:docname="calendar.svg"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)"><metadata
id="metadata925"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs923" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview921"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:pagecheckerboard="true"
inkscape:zoom="1.1773093"
inkscape:cx="337.87557"
inkscape:cy="238.89055"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" />
<g
id="g888"
transform="matrix(0.0294686,0,0,0.02736326,-0.53856813,0)"
style="fill:#ffffff">
<path
d="m 482.513,83.942 c -7.225,-7.233 -15.797,-10.85 -25.694,-10.85 h -36.541 v -27.41 c 0,-12.56 -4.477,-23.315 -13.422,-32.261 C 397.906,4.475 387.157,0 374.591,0 h -18.268 c -12.565,0 -23.318,4.475 -32.264,13.422 -8.949,8.945 -13.422,19.701 -13.422,32.261 v 27.41 h -109.63 v -27.41 c 0,-12.56 -4.475,-23.315 -13.422,-32.261 C 178.64,4.475 167.886,0 155.321,0 H 137.05 C 124.488,0 113.733,4.475 104.786,13.422 95.841,22.367 91.365,33.123 91.365,45.683 v 27.41 H 54.823 c -9.9,0 -18.464,3.617 -25.697,10.85 -7.233,7.232 -10.85,15.8 -10.85,25.697 v 365.453 c 0,9.89 3.617,18.456 10.85,25.693 7.232,7.231 15.796,10.849 25.697,10.849 h 401.989 c 9.897,0 18.47,-3.617 25.694,-10.849 7.234,-7.234 10.852,-15.804 10.852,-25.693 V 109.639 c -10e-4,-9.9 -3.615,-18.464 -10.845,-25.697 z M 137.047,475.088 H 54.823 v -82.23 h 82.224 z m 0,-100.498 H 54.823 v -91.358 h 82.224 z m 0,-109.639 H 54.823 v -82.223 h 82.224 z m -6.42,-130.618 c -1.809,-1.809 -2.712,-3.946 -2.712,-6.423 V 45.686 c 0,-2.474 0.903,-4.617 2.712,-6.423 1.809,-1.809 3.946,-2.712 6.423,-2.712 h 18.271 c 2.474,0 4.617,0.903 6.423,2.712 1.809,1.807 2.714,3.949 2.714,6.423 v 82.224 c 0,2.478 -0.909,4.615 -2.714,6.423 -1.807,1.809 -3.946,2.712 -6.423,2.712 H 137.05 c -2.474,0.001 -4.614,-0.903 -6.423,-2.712 z m 116.056,340.755 h -91.365 v -82.23 h 91.365 z m 0,-100.498 h -91.365 v -91.358 h 91.365 z m 0,-109.639 h -91.365 v -82.223 h 91.365 z m 109.64,210.137 h -91.364 v -82.23 h 91.364 z m 0,-100.498 h -91.364 v -91.358 h 91.364 z m 0,-109.639 h -91.364 v -82.223 h 91.364 z m -6.427,-130.618 c -1.807,-1.809 -2.707,-3.946 -2.707,-6.423 V 45.686 c 0,-2.474 0.9,-4.617 2.707,-6.423 1.808,-1.809 3.949,-2.712 6.427,-2.712 h 18.268 c 2.478,0 4.617,0.903 6.427,2.712 1.808,1.807 2.707,3.949 2.707,6.423 v 82.224 c 0,2.478 -0.903,4.615 -2.707,6.423 -1.807,1.809 -3.949,2.712 -6.427,2.712 h -18.268 c -2.477,0.001 -4.626,-0.903 -6.427,-2.712 z m 106.916,340.755 h -82.228 v -82.23 h 82.228 z m 0,-100.498 h -82.228 v -91.358 h 82.228 z m 0,-109.639 h -82.228 v -82.223 h 82.228 z"
id="path886"
style="fill:#ffffff" />
</g>
<g
id="g890"
transform="translate(-18.276)">
</g>
<g
id="g892"
transform="translate(-18.276)">
</g>
<g
id="g894"
transform="translate(-18.276)">
</g>
<g
id="g896"
transform="translate(-18.276)">
</g>
<g
id="g898"
transform="translate(-18.276)">
</g>
<g
id="g900"
transform="translate(-18.276)">
</g>
<g
id="g902"
transform="translate(-18.276)">
</g>
<g
id="g904"
transform="translate(-18.276)">
</g>
<g
id="g906"
transform="translate(-18.276)">
</g>
<g
id="g908"
transform="translate(-18.276)">
</g>
<g
id="g910"
transform="translate(-18.276)">
</g>
<g
id="g912"
transform="translate(-18.276)">
</g>
<g
id="g914"
transform="translate(-18.276)">
</g>
<g
id="g916"
transform="translate(-18.276)">
</g>
<g
id="g918"
transform="translate(-18.276)">
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/calendar.svg-4fbe4e8ff7750f8c6b821d1ab5f5b51e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/calendar.svg"
dest_files=[ "res://.import/calendar.svg-4fbe4e8ff7750f8c6b821d1ab5f5b51e.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

47
sprites/symbols/fast.svg Normal file
View file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="511.63px" height="511.63px" viewBox="0 0 511.63 511.63" style="enable-background:new 0 0 511.63 511.63;"
xml:space="preserve">
<g>
<path d="M506.203,41.968c-3.617-3.617-7.902-5.426-12.851-5.426H456.81c-4.948,0-9.232,1.809-12.847,5.426
c-3.62,3.619-5.427,7.902-5.427,12.851v193.572c-0.955-2.091-2.19-3.899-3.717-5.424L232.11,40.257
c-3.616-3.615-6.658-4.853-9.136-3.709c-2.474,1.141-3.711,4.187-3.711,9.135v202.708c-0.95-2.091-2.187-3.899-3.709-5.424
L12.847,40.257c-3.617-3.615-6.661-4.853-9.135-3.709C1.237,37.689,0,40.735,0,45.683v420.262c0,4.948,1.241,7.998,3.715,9.141
c2.474,1.14,5.518-0.099,9.135-3.72l202.707-202.708c1.52-1.708,2.76-3.519,3.709-5.421v202.708c0,4.948,1.237,7.994,3.711,9.134
s5.52-0.1,9.136-3.717l202.709-202.708c1.523-1.711,2.762-3.524,3.714-5.428v193.571c0,4.948,1.81,9.229,5.427,12.847
c3.614,3.617,7.898,5.425,12.847,5.425h36.546c4.944,0,9.232-1.808,12.85-5.425c3.614-3.617,5.425-7.898,5.425-12.847V54.819
C511.626,49.863,509.82,45.584,506.203,41.968z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fast.svg-ed2ede9e5f07eaa54eda00268034b8f2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/fast.svg"
dest_files=[ "res://.import/fast.svg-ed2ede9e5f07eaa54eda00268034b8f2.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="438.536px" height="438.536px" viewBox="0 0 438.536 438.536" style="enable-background:new 0 0 438.536 438.536;"
xml:space="preserve">
<g>
<g>
<path d="M158.173,352.599c-3.049,0.568-4.381,1.999-3.999,4.281c0.38,2.283,2.093,3.046,5.138,2.283
c3.049-0.76,4.38-2.095,3.997-3.997C162.931,353.074,161.218,352.216,158.173,352.599z"/>
<path d="M141.898,354.885c-3.046,0-4.568,1.041-4.568,3.139c0,2.474,1.619,3.518,4.853,3.138c3.046,0,4.57-1.047,4.57-3.138
C146.753,355.553,145.134,354.502,141.898,354.885z"/>
<path d="M119.629,354.022c-0.76,2.095,0.478,3.519,3.711,4.284c2.855,1.137,4.664,0.568,5.424-1.714
c0.572-2.091-0.666-3.61-3.711-4.568C122.197,351.265,120.39,351.922,119.629,354.022z"/>
<path d="M414.41,24.123C398.326,8.042,378.964,0,356.309,0H82.225C59.577,0,40.208,8.042,24.123,24.123
C8.042,40.207,0,59.576,0,82.225v274.088c0,22.65,8.042,42.017,24.123,58.098c16.084,16.084,35.454,24.126,58.102,24.126h63.953
c4.184,0,7.327-0.144,9.42-0.424c2.092-0.288,4.184-1.526,6.279-3.717c2.096-2.187,3.14-5.376,3.14-9.562
c0-0.568-0.05-7.046-0.144-19.417c-0.097-12.375-0.144-22.176-0.144-29.41l-6.567,1.143c-4.187,0.76-9.469,1.095-15.846,0.999
c-6.374-0.096-12.99-0.76-19.841-1.998c-6.855-1.239-13.229-4.093-19.13-8.562c-5.898-4.477-10.085-10.328-12.56-17.559
l-2.856-6.571c-1.903-4.373-4.899-9.229-8.992-14.554c-4.093-5.332-8.232-8.949-12.419-10.852l-1.999-1.428
c-1.331-0.951-2.568-2.098-3.711-3.429c-1.141-1.335-1.997-2.669-2.568-3.997c-0.571-1.335-0.097-2.43,1.427-3.289
c1.524-0.855,4.281-1.279,8.28-1.279l5.708,0.855c3.808,0.76,8.516,3.042,14.134,6.851c5.614,3.806,10.229,8.754,13.846,14.843
c4.38,7.806,9.657,13.75,15.846,17.843c6.184,4.097,12.419,6.143,18.699,6.143s11.704-0.476,16.274-1.424
c4.565-0.954,8.848-2.385,12.847-4.288c1.713-12.751,6.377-22.559,13.988-29.41c-10.848-1.143-20.602-2.854-29.265-5.14
c-8.658-2.286-17.605-5.995-26.835-11.136c-9.234-5.14-16.894-11.512-22.985-19.13c-6.09-7.618-11.088-17.61-14.987-29.978
c-3.901-12.375-5.852-26.652-5.852-42.829c0-23.029,7.521-42.637,22.557-58.814c-7.044-17.32-6.379-36.732,1.997-58.242
c5.52-1.714,13.706-0.428,24.554,3.855c10.85,4.286,18.794,7.951,23.84,10.992c5.046,3.042,9.089,5.614,12.135,7.71
c17.705-4.949,35.976-7.423,54.818-7.423c18.841,0,37.115,2.474,54.821,7.423l10.849-6.852c7.426-4.57,16.18-8.757,26.269-12.562
c10.088-3.806,17.795-4.854,23.127-3.14c8.562,21.51,9.328,40.922,2.279,58.241c15.036,16.179,22.559,35.786,22.559,58.815
c0,16.18-1.951,30.505-5.852,42.969c-3.898,12.467-8.939,22.463-15.13,29.981c-6.184,7.519-13.894,13.843-23.124,18.986
c-9.232,5.137-18.178,8.853-26.84,11.132c-8.661,2.286-18.414,4.004-29.263,5.147c9.891,8.562,14.839,22.072,14.839,40.538v68.238
c0,3.237,0.472,5.852,1.424,7.851c0.958,1.998,2.478,3.374,4.571,4.141c2.102,0.76,3.949,1.235,5.571,1.424
c1.622,0.191,3.949,0.287,6.995,0.287h63.953c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102
V82.225C438.533,59.576,430.491,40.204,414.41,24.123z"/>
<path d="M86.793,319.195c-1.331,0.948-1.141,2.471,0.572,4.565c1.906,1.902,3.427,2.189,4.57,0.855
c1.331-0.948,1.141-2.471-0.575-4.569C89.458,318.336,87.936,318.049,86.793,319.195z"/>
<path d="M77.374,312.057c-0.57,1.335,0.096,2.478,1.999,3.426c1.521,0.955,2.762,0.767,3.711-0.568
c0.57-1.335-0.096-2.478-1.999-3.433C79.182,310.91,77.945,311.102,77.374,312.057z"/>
<path d="M95.646,330.331c-1.715,0.948-1.715,2.666,0,5.137c1.713,2.478,3.328,3.142,4.853,1.998c1.714-1.334,1.714-3.142,0-5.427
C98.978,329.571,97.359,328.993,95.646,330.331z"/>
<path d="M105.641,343.174c-1.714,1.526-1.336,3.327,1.142,5.428c2.281,2.279,4.185,2.566,5.708,0.849
c1.524-1.519,1.143-3.326-1.142-5.42C109.068,341.751,107.164,341.463,105.641,343.174z"/>
</g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/github-sign.svg-206b3863570889f5db50a3777e9d6707.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/github-sign.svg"
dest_files=[ "res://.import/github-sign.svg-206b3863570889f5db50a3777e9d6707.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

149
sprites/symbols/graph.svg Normal file
View file

@ -0,0 +1,149 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="50"
height="50.000004"
viewBox="0 0 49.999998 50.000001"
xml:space="preserve"
sodipodi:docname="graph.svg"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)"><metadata
id="metadata1537"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs1535" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview1533"
showgrid="false"
inkscape:pagecheckerboard="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.5378272"
inkscape:cx="274.08801"
inkscape:cy="219.26701"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" />
<g
id="g1500"
style="fill:#ffffff"
transform="matrix(0.09121158,0,0,0.11401625,0,-6.2504848)">
<g
id="g1498"
style="fill:#ffffff">
<path
d="M 534.75,68.238 C 525.805,59.293 515.056,54.821 502.489,54.821 H 45.681 c -12.562,0 -23.313,4.471 -32.264,13.417 C 4.471,77.185 0,87.936 0,100.499 v 347.173 c 0,12.566 4.471,23.318 13.417,32.264 8.951,8.946 19.702,13.419 32.264,13.419 h 456.815 c 12.56,0 23.312,-4.473 32.258,-13.419 8.945,-8.945 13.422,-19.697 13.422,-32.264 V 100.499 c 0,-12.563 -4.477,-23.314 -13.426,-32.261 z m -23.123,379.434 c 0,2.478 -0.903,4.62 -2.711,6.427 -1.81,1.807 -3.952,2.71 -6.427,2.71 H 45.681 c -2.473,0 -4.615,-0.903 -6.423,-2.71 -1.807,-1.813 -2.712,-3.949 -2.712,-6.427 V 100.499 c 0,-2.474 0.902,-4.611 2.712,-6.423 1.809,-1.804 3.951,-2.708 6.423,-2.708 h 456.815 c 2.471,0 4.613,0.902 6.42,2.708 1.808,1.812 2.711,3.949 2.711,6.423 z"
id="path1488"
style="fill:#ffffff" />
<rect
x="73.092003"
y="310.63501"
width="73.088997"
height="109.632"
id="rect1490"
style="fill:#ffffff" />
<rect
x="182.728"
y="164.452"
width="73.084999"
height="255.814"
id="rect1492"
style="fill:#ffffff" />
<rect
x="292.362"
y="237.541"
width="73.083"
height="182.726"
id="rect1494"
style="fill:#ffffff" />
<rect
x="401.99399"
y="127.907"
width="73.091003"
height="292.35999"
id="rect1496"
style="fill:#ffffff" />
</g>
</g>
<g
id="g1502"
transform="translate(0,-54.821)">
</g>
<g
id="g1504"
transform="translate(0,-54.821)">
</g>
<g
id="g1506"
transform="translate(0,-54.821)">
</g>
<g
id="g1508"
transform="translate(0,-54.821)">
</g>
<g
id="g1510"
transform="translate(0,-54.821)">
</g>
<g
id="g1512"
transform="translate(0,-54.821)">
</g>
<g
id="g1514"
transform="translate(0,-54.821)">
</g>
<g
id="g1516"
transform="translate(0,-54.821)">
</g>
<g
id="g1518"
transform="translate(0,-54.821)">
</g>
<g
id="g1520"
transform="translate(0,-54.821)">
</g>
<g
id="g1522"
transform="translate(0,-54.821)">
</g>
<g
id="g1524"
transform="translate(0,-54.821)">
</g>
<g
id="g1526"
transform="translate(0,-54.821)">
</g>
<g
id="g1528"
transform="translate(0,-54.821)">
</g>
<g
id="g1530"
transform="translate(0,-54.821)">
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/graph.svg-a3897e2373c1268fce188530eba003b4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/graph.svg"
dest_files=[ "res://.import/graph.svg-a3897e2373c1268fce188530eba003b4.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="14.000001"
height="13.999999"
viewBox="0 0 14.000001 13.999999"
xml:space="preserve"
sodipodi:docname="population.svg"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)"><metadata
id="metadata884"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs882" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview880"
showgrid="false"
inkscape:zoom="4.1041045"
inkscape:cx="43.36707"
inkscape:cy="-22.973465"
inkscape:window-x="1"
inkscape:window-y="23"
inkscape:window-maximized="0"
inkscape:current-layer="Capa_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:pagecheckerboard="true" />
<g
id="g847"
transform="matrix(0.02553957,0,0,0.02736363,0,-0.49996088)"
style="fill:#ffffff">
<g
id="g845"
style="fill:#ffffff">
<path
d="m 109.634,164.452 c 20.179,0 37.402,-7.135 51.674,-21.411 14.277,-14.275 21.416,-31.503 21.416,-51.678 0,-20.173 -7.139,-37.401 -21.416,-51.678 C 147.036,25.41 129.812,18.271 109.634,18.271 89.457,18.271 72.233,25.41 57.958,39.685 43.684,53.962 36.545,71.186 36.545,91.363 c 0,20.179 7.139,37.403 21.413,51.678 14.275,14.272 31.499,21.411 51.676,21.411 z"
id="path833"
style="fill:#ffffff" />
<path
d="m 196.569,278.519 c 21.413,21.406 47.248,32.114 77.516,32.114 30.269,0 56.103,-10.708 77.515,-32.114 21.409,-21.42 32.117,-47.258 32.117,-77.52 0,-30.264 -10.708,-56.101 -32.117,-77.515 -21.412,-21.414 -47.246,-32.121 -77.515,-32.121 -30.268,0 -56.105,10.709 -77.516,32.121 -21.411,21.411 -32.12,47.248 -32.12,77.515 0,30.267 10.709,56.103 32.12,77.52 z"
id="path835"
style="fill:#ffffff" />
<path
d="m 438.543,164.452 c 20.17,0 37.397,-7.135 51.671,-21.411 14.274,-14.275 21.409,-31.503 21.409,-51.678 0,-20.173 -7.135,-37.401 -21.409,-51.678 -14.273,-14.275 -31.501,-21.414 -51.671,-21.414 -20.184,0 -37.407,7.139 -51.682,21.414 -14.271,14.277 -21.409,31.501 -21.409,51.678 0,20.179 7.139,37.403 21.409,51.678 14.275,14.272 31.498,21.411 51.682,21.411 z"
id="path837"
style="fill:#ffffff" />
<path
d="m 512.763,164.456 c -1.136,0 -5.276,1.999 -12.415,5.996 -7.132,3.999 -16.416,8.044 -27.833,12.137 -11.416,4.089 -22.747,6.136 -33.972,6.136 -12.758,0 -25.406,-2.187 -37.973,-6.567 0.945,7.039 1.424,13.322 1.424,18.842 0,26.457 -7.71,50.819 -23.134,73.089 30.841,0.955 56.056,13.134 75.668,36.552 h 38.256 c 15.605,0 28.739,-3.863 39.396,-11.57 10.657,-7.703 15.989,-18.986 15.989,-33.83 0.003,-67.194 -11.793,-100.789 -35.406,-100.785 z"
id="path839"
style="fill:#ffffff" />
<path
d="m 470.096,395.284 c -1.999,-11.136 -4.524,-21.464 -7.57,-30.978 -3.046,-9.521 -7.139,-18.794 -12.271,-27.836 -5.141,-9.034 -11.044,-16.748 -17.706,-23.127 -6.667,-6.379 -14.805,-11.464 -24.414,-15.276 -9.609,-3.806 -20.225,-5.708 -31.833,-5.708 -1.906,0 -5.996,2.047 -12.278,6.14 -6.283,4.089 -13.224,8.665 -20.841,13.702 -7.615,5.037 -17.789,9.609 -30.55,13.702 -12.762,4.093 -25.608,6.14 -38.544,6.14 -12.941,0 -25.791,-2.047 -38.544,-6.14 -12.756,-4.093 -22.936,-8.665 -30.55,-13.702 -7.616,-5.037 -14.561,-9.613 -20.841,-13.702 -6.283,-4.093 -10.373,-6.14 -12.279,-6.14 -11.609,0 -22.22,1.902 -31.833,5.708 -9.613,3.812 -17.749,8.897 -24.41,15.276 -6.667,6.372 -12.562,14.093 -17.705,23.127 -5.137,9.042 -9.229,18.315 -12.275,27.836 -3.045,9.514 -5.564,19.842 -7.566,30.978 -2,11.136 -3.331,21.505 -3.997,31.121 -0.667,9.613 -0.999,19.466 -0.999,29.554 0,22.836 6.945,40.874 20.839,54.098 13.899,13.223 32.363,19.842 55.389,19.842 h 249.535 c 23.028,0 41.49,-6.619 55.392,-19.842 13.894,-13.224 20.841,-31.262 20.841,-54.098 0,-10.088 -0.335,-19.938 -0.992,-29.554 -0.676,-9.616 -2.007,-19.986 -3.998,-31.121 z"
id="path841"
style="fill:#ffffff" />
<path
d="m 169.303,274.088 c -15.418,-22.27 -23.125,-46.632 -23.122,-73.089 0,-5.52 0.477,-11.799 1.427,-18.842 -12.564,4.377 -25.221,6.567 -37.974,6.567 -11.23,0 -22.552,-2.046 -33.974,-6.136 C 64.243,178.495 54.961,174.45 47.826,170.451 40.688,166.454 36.545,164.455 35.404,164.455 11.801,164.456 0,198.051 0,265.24 c 0,14.844 5.33,26.127 15.987,33.83 10.66,7.707 23.794,11.563 39.397,11.563 h 38.26 c 19.607,-23.411 44.823,-35.591 75.659,-36.545 z"
id="path843"
style="fill:#ffffff" />
</g>
</g>
<g
id="g849"
transform="translate(0,-18.271)">
</g>
<g
id="g851"
transform="translate(0,-18.271)">
</g>
<g
id="g853"
transform="translate(0,-18.271)">
</g>
<g
id="g855"
transform="translate(0,-18.271)">
</g>
<g
id="g857"
transform="translate(0,-18.271)">
</g>
<g
id="g859"
transform="translate(0,-18.271)">
</g>
<g
id="g861"
transform="translate(0,-18.271)">
</g>
<g
id="g863"
transform="translate(0,-18.271)">
</g>
<g
id="g865"
transform="translate(0,-18.271)">
</g>
<g
id="g867"
transform="translate(0,-18.271)">
</g>
<g
id="g869"
transform="translate(0,-18.271)">
</g>
<g
id="g871"
transform="translate(0,-18.271)">
</g>
<g
id="g873"
transform="translate(0,-18.271)">
</g>
<g
id="g875"
transform="translate(0,-18.271)">
</g>
<g
id="g877"
transform="translate(0,-18.271)">
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/population.svg-3d56f4f7e17f6028aa5b7980dc8fdf72.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/population.svg"
dest_files=[ "res://.import/population.svg-3d56f4f7e17f6028aa5b7980dc8fdf72.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

43
sprites/symbols/slow.svg Normal file
View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="292.359px" height="292.359px" viewBox="0 0 292.359 292.359" style="enable-background:new 0 0 292.359 292.359;"
xml:space="preserve">
<g>
<path d="M222.979,133.331L95.073,5.424C91.456,1.807,87.178,0,82.226,0c-4.952,0-9.233,1.807-12.85,5.424
c-3.617,3.617-5.424,7.898-5.424,12.847v255.813c0,4.948,1.807,9.232,5.424,12.847c3.621,3.617,7.902,5.428,12.85,5.428
c4.949,0,9.23-1.811,12.847-5.428l127.906-127.907c3.614-3.613,5.428-7.897,5.428-12.847
C228.407,141.229,226.594,136.948,222.979,133.331z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1,023 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/slow.svg-1edfad60d84ce0c376f5c18d7946a2da.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/slow.svg"
dest_files=[ "res://.import/slow.svg-1edfad60d84ce0c376f5c18d7946a2da.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0