Skip to content

Commit 3c11773

Browse files
committed
ui improvements
1 parent 6ea7a52 commit 3c11773

25 files changed

+147
-141
lines changed

main scene.tscn

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
[ext_resource type="Script" path="res://CanvasModulate.gd" id="3_28gw3"]
1010
[ext_resource type="Script" path="res://place on tilemap.gd" id="3_m5c11"]
1111
[ext_resource type="Script" path="res://Camera2D.gd" id="4_e6nis"]
12-
[ext_resource type="Texture2D" uid="uid://cgfp808fwvwe2" path="res://uistuff/powerui.png" id="5_j07yd"]
13-
[ext_resource type="Texture2D" uid="uid://oqfo5i7bo0ew" path="res://uistuff/woodui.png" id="6_708gw"]
14-
[ext_resource type="Texture2D" uid="uid://cij3ermexjjux" path="res://uistuff/waterui.png" id="7_hrffa"]
15-
[ext_resource type="Texture2D" uid="uid://d3h27yw28kbem" path="res://uistuff/coalui.png" id="8_00j3h"]
16-
[ext_resource type="Texture2D" uid="uid://dyxfr110a1xsu" path="res://uistuff/bitsui.png" id="9_oegee"]
1712
[ext_resource type="Script" path="res://TimePowerLabel.gd" id="10_5bt7y"]
18-
[ext_resource type="Texture2D" uid="uid://bcv16fbofoniw" path="res://uistuff/oilui.png" id="13_xw0jl"]
13+
[ext_resource type="Texture2D" uid="uid://dihjnfo6fb26n" path="res://uistuff/powerNew.png" id="12_dd6jf"]
14+
[ext_resource type="Texture2D" uid="uid://brk4t453wq7ej" path="res://uistuff/woodNew.png" id="13_5cnpj"]
15+
[ext_resource type="Texture2D" uid="uid://c5m6qvhxx8pmq" path="res://uistuff/waterNew.png" id="14_63uny"]
1916
[ext_resource type="Theme" uid="uid://bpvpg7fswoucc" path="res://Buttonthemes.tres" id="15_07nre"]
17+
[ext_resource type="Texture2D" uid="uid://bxdypmrpveba1" path="res://uistuff/coalNew.png" id="15_sey5y"]
18+
[ext_resource type="Texture2D" uid="uid://c87es7tpoy2mf" path="res://uistuff/oilNew.png" id="16_2khdx"]
19+
[ext_resource type="Texture2D" uid="uid://bs0j5v5dfh7r0" path="res://uistuff/coinNew.png" id="17_coqb7"]
2020
[ext_resource type="FontFile" uid="uid://bu8t6fcjbd13w" path="res://Silkscreen-Regular.ttf" id="17_dsinh"]
2121

2222
[sub_resource type="Environment" id="Environment_xdtrx"]
@@ -99,36 +99,37 @@ offset_right = 234.0
9999
offset_bottom = -17.0
100100

101101
[node name="Powerui" type="Sprite2D" parent="Camera2D"]
102+
texture_filter = 1
102103
position = Vector2(177.375, -119.25)
103-
scale = Vector2(0.0375, 0.049)
104-
texture = ExtResource("5_j07yd")
104+
texture = ExtResource("12_dd6jf")
105105

106106
[node name="Woodui" type="Sprite2D" parent="Camera2D"]
107-
position = Vector2(176, -100)
108-
scale = Vector2(0.0719999, 0.078)
109-
texture = ExtResource("6_708gw")
107+
texture_filter = 1
108+
position = Vector2(177.375, -100)
109+
texture = ExtResource("13_5cnpj")
110110

111111
[node name="Waterui" type="Sprite2D" parent="Camera2D"]
112-
position = Vector2(175, -83)
113-
scale = Vector2(0.088889, 0.104861)
114-
texture = ExtResource("7_hrffa")
112+
texture_filter = 1
113+
position = Vector2(177.375, -83)
114+
texture = ExtResource("14_63uny")
115115

116116
[node name="Coalui" type="Sprite2D" parent="Camera2D"]
117-
position = Vector2(176, -66)
118-
scale = Vector2(0.025, 0.0280001)
119-
texture = ExtResource("8_00j3h")
117+
texture_filter = 1
118+
position = Vector2(177.375, -66)
119+
texture = ExtResource("15_sey5y")
120120

121121
[node name="Oilui" type="Sprite2D" parent="Camera2D"]
122-
position = Vector2(176, -49)
123-
scale = Vector2(0.058, 0.051)
124-
texture = ExtResource("13_xw0jl")
122+
texture_filter = 1
123+
position = Vector2(177.375, -49)
124+
texture = ExtResource("16_2khdx")
125125

126126
[node name="Bitsui" type="Sprite2D" parent="Camera2D"]
127-
position = Vector2(179, -31)
128-
scale = Vector2(0.0405405, 0.0486111)
129-
texture = ExtResource("9_oegee")
127+
texture_filter = 1
128+
position = Vector2(177.375, -31)
129+
texture = ExtResource("17_coqb7")
130130

131131
[node name="Powerplantbutton" type="Button" parent="Camera2D"]
132+
texture_filter = 1
132133
offset_left = -214.0
133134
offset_top = 106.0
134135
offset_right = 1757.0
@@ -139,6 +140,7 @@ theme_override_font_sizes/font_size = 250
139140
text = "Power Plant"
140141

141142
[node name="Waterpumpbutton" type="Button" parent="Camera2D"]
143+
texture_filter = 1
142144
offset_left = -109.0
143145
offset_top = 106.0
144146
offset_right = 1830.0
@@ -149,6 +151,7 @@ theme_override_font_sizes/font_size = 250
149151
text = "Water Plant"
150152

151153
[node name="Oilpumpbutton" type="Button" parent="Camera2D"]
154+
texture_filter = 1
152155
offset_left = -214.0
153156
offset_top = 83.0
154157
offset_right = 1184.0
@@ -159,6 +162,7 @@ theme_override_font_sizes/font_size = 250
159162
text = "Oil Pump"
160163

161164
[node name="Recyclebutton" type="Button" parent="Camera2D"]
165+
texture_filter = 1
162166
offset_left = -135.0
163167
offset_top = 83.0
164168
offset_right = 1685.0
@@ -169,6 +173,7 @@ theme_override_font_sizes/font_size = 250
169173
text = "Recycle Plant"
170174

171175
[node name="Bankbutton" type="Button" parent="Camera2D"]
176+
texture_filter = 1
172177
offset_left = -213.0
173178
offset_top = 59.0
174179
offset_right = 1267.0
@@ -179,6 +184,7 @@ theme_override_font_sizes/font_size = 250
179184
text = "Bank"
180185

181186
[node name="Coalminebutton" type="Button" parent="Camera2D"]
187+
texture_filter = 1
182188
offset_left = -133.0
183189
offset_top = 60.0
184190
offset_right = 1687.0

uistuff/bitsui.png

-116 KB
Binary file not shown.

uistuff/coalNew.png

255 Bytes
Loading

uistuff/bitsui.png.import renamed to uistuff/coalNew.png.import

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://dyxfr110a1xsu"
6-
path="res://.godot/imported/bitsui.png-056fad8b4efd5ada352860f479486a71.ctex"
5+
uid="uid://bxdypmrpveba1"
6+
path="res://.godot/imported/coalNew.png-419c9a355fa6f1eac2a17f316cffea72.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://uistuff/bitsui.png"
14-
dest_files=["res://.godot/imported/bitsui.png-056fad8b4efd5ada352860f479486a71.ctex"]
13+
source_file="res://uistuff/coalNew.png"
14+
dest_files=["res://.godot/imported/coalNew.png-419c9a355fa6f1eac2a17f316cffea72.ctex"]
1515

1616
[params]
1717

uistuff/coalui.png

-49 KB
Binary file not shown.

uistuff/coinNew.png

231 Bytes
Loading

uistuff/oilui.png.import renamed to uistuff/coinNew.png.import

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://bcv16fbofoniw"
6-
path="res://.godot/imported/oilui.png-01ce72853f46ede0682a3e80d0c5d0c1.ctex"
5+
uid="uid://bs0j5v5dfh7r0"
6+
path="res://.godot/imported/coinNew.png-353cd40b217c01498d6769becafff990.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://uistuff/oilui.png"
14-
dest_files=["res://.godot/imported/oilui.png-01ce72853f46ede0682a3e80d0c5d0c1.ctex"]
13+
source_file="res://uistuff/coinNew.png"
14+
dest_files=["res://.godot/imported/coinNew.png-353cd40b217c01498d6769becafff990.ctex"]
1515

1616
[params]
1717

uistuff/foodNew.png

282 Bytes
Loading

uistuff/coalui.png.import renamed to uistuff/foodNew.png.import

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://d3h27yw28kbem"
6-
path="res://.godot/imported/coalui.png-e2a1c7c992aa43c00a9b61353ad900d4.ctex"
5+
uid="uid://bjwsdbb2fwivo"
6+
path="res://.godot/imported/foodNew.png-1bd2496cd9f4583141d10cd9284f0190.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://uistuff/coalui.png"
14-
dest_files=["res://.godot/imported/coalui.png-e2a1c7c992aa43c00a9b61353ad900d4.ctex"]
13+
source_file="res://uistuff/foodNew.png"
14+
dest_files=["res://.godot/imported/foodNew.png-1bd2496cd9f4583141d10cd9284f0190.ctex"]
1515

1616
[params]
1717

uistuff/foodui.png

-49 KB
Binary file not shown.

0 commit comments

Comments
 (0)