Skip to content

Commit fba26dc

Browse files
committed
change font
1 parent e1e7af5 commit fba26dc

File tree

4 files changed

+47
-1393
lines changed

4 files changed

+47
-1393
lines changed

Buttonthemes.tres

Lines changed: 3 additions & 1389 deletions
Large diffs are not rendered by default.

Silkscreen-Regular.ttf

31.2 KB
Binary file not shown.

Silkscreen-Regular.ttf.import

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[remap]
2+
3+
importer="font_data_dynamic"
4+
type="FontFile"
5+
uid="uid://bu8t6fcjbd13w"
6+
path="res://.godot/imported/Silkscreen-Regular.ttf-7d4ce4c524cbef72da6c7df94febda6d.fontdata"
7+
8+
[deps]
9+
10+
source_file="res://Silkscreen-Regular.ttf"
11+
dest_files=["res://.godot/imported/Silkscreen-Regular.ttf-7d4ce4c524cbef72da6c7df94febda6d.fontdata"]
12+
13+
[params]
14+
15+
Rendering=null
16+
antialiasing=1
17+
generate_mipmaps=false
18+
multichannel_signed_distance_field=false
19+
msdf_pixel_range=8
20+
msdf_size=48
21+
allow_system_fallback=true
22+
force_autohinter=false
23+
hinting=1
24+
subpixel_positioning=1
25+
oversampling=0.0
26+
Fallbacks=null
27+
fallbacks=[]
28+
Compress=null
29+
compress=true
30+
preload=[]
31+
language_support={}
32+
script_support={}
33+
opentype_features={}

main scene.tscn

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=20 format=3 uid="uid://dlewy2ppts022"]
1+
[gd_scene load_steps=21 format=3 uid="uid://dlewy2ppts022"]
22

33
[ext_resource type="TileSet" uid="uid://bigbiha614tnl" path="res://tileset.tres" id="1_dur42"]
44
[ext_resource type="Script" path="res://main scene.gd" id="1_xhh2k"]
@@ -16,6 +16,7 @@
1616
[ext_resource type="Texture2D" uid="uid://dyxfr110a1xsu" path="res://uistuff/bitsui.png" id="9_oegee"]
1717
[ext_resource type="Texture2D" uid="uid://bcv16fbofoniw" path="res://uistuff/oilui.png" id="13_xw0jl"]
1818
[ext_resource type="Theme" uid="uid://bpvpg7fswoucc" path="res://Buttonthemes.tres" id="15_07nre"]
19+
[ext_resource type="FontFile" uid="uid://bu8t6fcjbd13w" path="res://Silkscreen-Regular.ttf" id="17_dsinh"]
1920

2021
[sub_resource type="Environment" id="Environment_xdtrx"]
2122
background_mode = 3
@@ -113,17 +114,17 @@ texture = ExtResource("9_oegee")
113114
[node name="Powerplantbutton" type="Button" parent="Camera2D"]
114115
offset_left = -214.0
115116
offset_top = 106.0
116-
offset_right = 1460.0
117+
offset_right = 1757.0
117118
offset_bottom = 448.0
118119
scale = Vector2(0.05, 0.05)
119120
theme = ExtResource("15_07nre")
120121
theme_override_font_sizes/font_size = 250
121122
text = "Power Plant"
122123

123124
[node name="Waterpumpbutton" type="Button" parent="Camera2D"]
124-
offset_left = -124.0
125+
offset_left = -109.0
125126
offset_top = 106.0
126-
offset_right = 1476.0
127+
offset_right = 1830.0
127128
offset_bottom = 456.0
128129
scale = Vector2(0.05, 0.05)
129130
theme = ExtResource("15_07nre")
@@ -176,6 +177,7 @@ offset_top = -135.0
176177
offset_right = 943.0
177178
offset_bottom = 411.0
178179
scale = Vector2(0.05, 0.05)
180+
theme_override_fonts/font = ExtResource("17_dsinh")
179181
theme_override_font_sizes/font_size = 400
180182

181183
[node name="woodui" type="Label" parent="Camera2D"]
@@ -184,6 +186,7 @@ offset_top = -117.0
184186
offset_right = 296.0
185187
offset_bottom = 429.0
186188
scale = Vector2(0.05, 0.05)
189+
theme_override_fonts/font = ExtResource("17_dsinh")
187190
theme_override_font_sizes/font_size = 400
188191

189192
[node name="waterui" type="Label" parent="Camera2D"]
@@ -192,6 +195,7 @@ offset_top = -100.0
192195
offset_right = 291.0
193196
offset_bottom = 446.0
194197
scale = Vector2(0.05, 0.05)
198+
theme_override_fonts/font = ExtResource("17_dsinh")
195199
theme_override_font_sizes/font_size = 400
196200

197201
[node name="coalui" type="Label" parent="Camera2D"]
@@ -200,6 +204,7 @@ offset_top = -83.0
200204
offset_right = 292.0
201205
offset_bottom = 463.0
202206
scale = Vector2(0.05, 0.05)
207+
theme_override_fonts/font = ExtResource("17_dsinh")
203208
theme_override_font_sizes/font_size = 400
204209

205210
[node name="oilui" type="Label" parent="Camera2D"]
@@ -208,6 +213,7 @@ offset_top = -66.0
208213
offset_right = 295.0
209214
offset_bottom = 480.0
210215
scale = Vector2(0.05, 0.05)
216+
theme_override_fonts/font = ExtResource("17_dsinh")
211217
theme_override_font_sizes/font_size = 400
212218

213219
[node name="bitsui" type="Label" parent="Camera2D"]
@@ -216,6 +222,7 @@ offset_top = -47.0
216222
offset_right = 299.0
217223
offset_bottom = 499.0
218224
scale = Vector2(0.05, 0.05)
225+
theme_override_fonts/font = ExtResource("17_dsinh")
219226
theme_override_font_sizes/font_size = 400
220227

221228
[node name="Climatechange" type="ProgressBar" parent="Camera2D"]

0 commit comments

Comments
 (0)