Skip to content

Commit d86b853

Browse files
ui blurryness fixes
1 parent 7ec0a48 commit d86b853

File tree

2 files changed

+70
-43
lines changed

2 files changed

+70
-43
lines changed

Buttonthemes.tres

Lines changed: 36 additions & 16 deletions
Large diffs are not rendered by default.

main scene.tscn

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ offset_bottom = 448.0
110110
scale = Vector2(0.05, 0.05)
111111
theme = ExtResource("15_07nre")
112112
theme_override_font_sizes/font_size = 250
113-
toggle_mode = true
114113
text = "Power Plant"
115114

116115
[node name="Waterpumpbutton" type="Button" parent="Camera2D"]
@@ -121,7 +120,6 @@ offset_bottom = 456.0
121120
scale = Vector2(0.05, 0.05)
122121
theme = ExtResource("15_07nre")
123122
theme_override_font_sizes/font_size = 250
124-
toggle_mode = true
125123
text = "Water Plant"
126124

127125
[node name="Oilpumpbutton" type="Button" parent="Camera2D"]
@@ -132,7 +130,6 @@ offset_bottom = 433.0
132130
scale = Vector2(0.05, 0.05)
133131
theme = ExtResource("15_07nre")
134132
theme_override_font_sizes/font_size = 250
135-
toggle_mode = true
136133
text = "Oil Pump"
137134

138135
[node name="Recyclebutton" type="Button" parent="Camera2D"]
@@ -143,7 +140,6 @@ offset_bottom = 433.0
143140
scale = Vector2(0.05, 0.05)
144141
theme = ExtResource("15_07nre")
145142
theme_override_font_sizes/font_size = 250
146-
toggle_mode = true
147143
text = "Recycle Plant"
148144

149145
[node name="Bankbutton" type="Button" parent="Camera2D"]
@@ -154,7 +150,6 @@ offset_bottom = 409.0
154150
scale = Vector2(0.05, 0.05)
155151
theme = ExtResource("15_07nre")
156152
theme_override_font_sizes/font_size = 250
157-
toggle_mode = true
158153
text = "Bank"
159154

160155
[node name="Coalminebutton" type="Button" parent="Camera2D"]
@@ -165,7 +160,6 @@ offset_bottom = 410.0
165160
scale = Vector2(0.05, 0.05)
166161
theme = ExtResource("15_07nre")
167162
theme_override_font_sizes/font_size = 250
168-
toggle_mode = true
169163
text = "Coal Mine"
170164

171165
[node name="powerui" type="Label" parent="Camera2D"]
@@ -238,8 +232,10 @@ offset_bottom = 13.0
238232
visible = false
239233
offset_left = -194.0
240234
offset_top = -104.0
241-
offset_right = -14.0
242-
offset_bottom = -3.0
235+
offset_right = 3173.0
236+
offset_bottom = 2136.0
237+
scale = Vector2(0.05, 0.05)
238+
theme_override_font_sizes/font_size = 300
243239
text = "Oil pump:
244240
Costs 5 bits
245241
Generates 1 oil per sec
@@ -255,10 +251,12 @@ offset_bottom = 13.0
255251

256252
[node name="recycletext" type="Label" parent="Camera2D"]
257253
visible = false
258-
offset_left = -202.0
259-
offset_top = -116.0
260-
offset_right = -10.0
261-
offset_bottom = 11.0
254+
offset_left = -196.0
255+
offset_top = -111.0
256+
offset_right = 3290.0
257+
offset_bottom = 1946.0
258+
scale = Vector2(0.05, 0.05)
259+
theme_override_font_sizes/font_size = 300
262260
text = "Recycle Plant
263261
Costs 10 bits
264262
Uses 4 wood per second
@@ -275,10 +273,12 @@ offset_bottom = 3.0
275273

276274
[node name="powerplanttext" type="Label" parent="Camera2D"]
277275
visible = false
278-
offset_left = -201.0
279-
offset_top = -126.0
280-
offset_right = -16.0
281-
offset_bottom = 1.0
276+
offset_left = -194.0
277+
offset_top = -118.0
278+
offset_right = 3262.0
279+
offset_bottom = 1939.0
280+
scale = Vector2(0.05, 0.05)
281+
theme_override_font_sizes/font_size = 300
282282
text = "Power Plant
283283
Costs 5 bits
284284
Uses 2 coal or oil
@@ -295,9 +295,12 @@ offset_bottom = 4.0
295295

296296
[node name="waterplanttext" type="Label" parent="Camera2D"]
297297
visible = false
298-
offset_left = -200.0
299-
offset_top = -127.0
300-
offset_right = -15.0
298+
offset_left = -191.0
299+
offset_top = -116.0
300+
offset_right = 3190.0
301+
offset_bottom = 1941.0
302+
scale = Vector2(0.05, 0.05)
303+
theme_override_font_sizes/font_size = 300
301304
text = "Water Plant
302305
Costs 5 bits
303306
Uses 2 power per sec
@@ -314,10 +317,12 @@ offset_bottom = 5.0
314317

315318
[node name="coalminetext" type="Label" parent="Camera2D"]
316319
visible = false
317-
offset_left = -199.0
318-
offset_top = -126.0
319-
offset_right = -14.0
320-
offset_bottom = 1.0
320+
offset_left = -193.0
321+
offset_top = -117.0
322+
offset_right = 3234.0
323+
offset_bottom = 1940.0
324+
scale = Vector2(0.05, 0.05)
325+
theme_override_font_sizes/font_size = 300
321326
text = "Coal Mine
322327
Costs 5 bits
323328
Uses 2 power per sec
@@ -334,10 +339,12 @@ offset_bottom = 9.0
334339

335340
[node name="banktext" type="Label" parent="Camera2D"]
336341
visible = false
337-
offset_left = -200.0
338-
offset_top = -124.0
339-
offset_right = -15.0
340-
offset_bottom = 3.0
342+
offset_left = -193.0
343+
offset_top = -111.0
344+
offset_right = 3188.0
345+
offset_bottom = 1946.0
346+
scale = Vector2(0.05, 0.05)
347+
theme_override_font_sizes/font_size = 300
341348
text = "Bank
342349
Costs 5 bits
343350
Uses 5 power ps

0 commit comments

Comments
 (0)