mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 17:34:43 -04:00
Redid interface
- Redid the interface with everything now at the bottom. - Advisors can now address the mayor and city - Updated tax window with red and green arrow icons - Tweaked income algorithm
This commit is contained in:
parent
7a4619f874
commit
d3350dd8a6
18 changed files with 529 additions and 186 deletions
|
@ -1,12 +1,16 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/symbols/fontawesome/coins.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/tax_window.gd" type="Script" id=2]
|
||||
[ext_resource path="res://sprites/symbols/fontawesome/arrow-pointing-down.svg" type="Texture" id=3]
|
||||
[ext_resource path="res://sprites/symbols/fontawesome/arrow-up.svg" type="Texture" id=4]
|
||||
|
||||
[node name="TaxWindow" type="WindowDialog"]
|
||||
visible = true
|
||||
anchor_left = 0.2809
|
||||
anchor_top = 0.265
|
||||
anchor_top = 0.265764
|
||||
anchor_right = 0.631486
|
||||
anchor_bottom = 0.446667
|
||||
anchor_bottom = 0.447431
|
||||
margin_left = -0.641174
|
||||
margin_right = -0.641174
|
||||
window_title = "RCI"
|
||||
|
@ -116,26 +120,54 @@ margin_bottom = 50.0
|
|||
text = "1%"
|
||||
|
||||
[node name="IncomeCtr" type="HBoxContainer" parent="."]
|
||||
anchor_left = 0.00835655
|
||||
anchor_top = 0.642202
|
||||
anchor_right = 0.97493
|
||||
anchor_bottom = 0.834862
|
||||
anchor_left = 0.00707957
|
||||
anchor_top = 0.650614
|
||||
anchor_right = 0.973653
|
||||
anchor_bottom = 0.843274
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
"_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 = 90.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 17.0
|
||||
text = "Income: $0/yr"
|
||||
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 = 94.0
|
||||
margin_left = 197.0
|
||||
margin_top = 3.0
|
||||
margin_right = 206.0
|
||||
margin_right = 231.0
|
||||
margin_bottom = 17.0
|
||||
text = "Expensives: $0/yr"
|
||||
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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue