Add ark-pixel font
This commit is contained in:
@@ -32,7 +32,7 @@ compress=true
|
||||
preload=[{
|
||||
"chars": [],
|
||||
"glyphs": [],
|
||||
"name": "New Configuration",
|
||||
"name": "Language Config",
|
||||
"size": Vector2i(16, 0),
|
||||
&"variation_embolden": 0.0
|
||||
}]
|
||||
|
94
fonts/ark-pixel-font/10px/monospaced/OFL.txt
Normal file
94
fonts/ark-pixel-font/10px/monospaced/OFL.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
Copyright (c) 2021, TakWolf (https://takwolf.com),
|
||||
with Reserved Font Name 'Ark Pixel'.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bgmgoufsglbsi"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-ja.otf-38ba4666a3e1990287b02155293b9445.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-ja.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-ja.otf-38ba4666a3e1990287b02155293b9445.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://58epv4f0dajy"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-ko.otf-8341a65ffaff79c5f8b69a457b6b9819.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-ko.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-ko.otf-8341a65ffaff79c5f8b69a457b6b9819.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://37b5j0x5hkfw"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-latin.otf-9c9dff89c11fd86fe704be6e11ed4ec5.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-latin.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-latin.otf-9c9dff89c11fd86fe704be6e11ed4ec5.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=0
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=false
|
||||
force_autohinter=false
|
||||
hinting=2
|
||||
subpixel_positioning=0
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[{
|
||||
"chars": [],
|
||||
"glyphs": [35, 66, 85, 77, 70, 36, 80, 76, 74, 79, 72, 86, 84, 68, 38, 87, 42, 83, 90, 46, 1, 48, 88, 69, 50, 1721, 1713, 1748, 20066, 2668, 1684, 1708, 1696, 1765, 1756, 1677, 1730, 1747, 1738, 1716, 1742, 1683, 1752, 1714, 1688, 1681, 1698],
|
||||
"name": "New Configuration",
|
||||
&"size": Vector2i(10, 0),
|
||||
&"variation_embolden": 0.0
|
||||
}]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://ctflok6kaqmmr"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-zh_cn.otf-27baa59740a2826e03022b066005666c.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-zh_cn.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-zh_cn.otf-27baa59740a2826e03022b066005666c.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bqxsxe2db2cse"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-zh_hk.otf-bc34ed3d5ef13f516e1e9f634f6c40f9.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-zh_hk.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-zh_hk.otf-bc34ed3d5ef13f516e1e9f634f6c40f9.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://b84su101onshd"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-zh_tr.otf-70b638161ad4133cb5afc42af4d32b4e.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-zh_tr.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-zh_tr.otf-70b638161ad4133cb5afc42af4d32b4e.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://be77yaondpu24"
|
||||
path="res://.godot/imported/ark-pixel-10px-monospaced-zh_tw.otf-8ff41aa3f7b844697a8e2fa357d158c0.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/10px/monospaced/ark-pixel-10px-monospaced-zh_tw.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-10px-monospaced-zh_tw.otf-8ff41aa3f7b844697a8e2fa357d158c0.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
94
fonts/ark-pixel-font/12px/monospaced/OFL.txt
Normal file
94
fonts/ark-pixel-font/12px/monospaced/OFL.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
Copyright (c) 2021, TakWolf (https://takwolf.com),
|
||||
with Reserved Font Name 'Ark Pixel'.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bh385kaiy3gju"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-ja.otf-04d55f6dd91df9f963dc22d5cb3e011e.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-ja.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-ja.otf-04d55f6dd91df9f963dc22d5cb3e011e.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://c8cc3xaq3fkpb"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-ko.otf-b1318c2eff65e7d693111f676a62222a.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-ko.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-ko.otf-b1318c2eff65e7d693111f676a62222a.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://ck4rsg0nvvxtq"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-latin.otf-252d3af5082843874088eb2a25b164b0.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-latin.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-latin.otf-252d3af5082843874088eb2a25b164b0.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=0
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=false
|
||||
force_autohinter=false
|
||||
hinting=2
|
||||
subpixel_positioning=0
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[{
|
||||
"chars": [],
|
||||
"glyphs": [35, 66, 85, 77, 70, 36, 80, 76, 74, 79, 72, 86, 84, 68, 38, 87, 42, 83, 90, 46, 1, 48, 88, 69, 50, 1721, 1713, 1748, 20066, 2668, 1684, 1708, 1696, 1765, 1756, 1677, 1730, 1747, 1738, 1716, 1742, 1683, 1752, 1714, 1688, 1681, 1698],
|
||||
"name": "New Configuration",
|
||||
&"size": Vector2i(10, 0),
|
||||
&"variation_embolden": 0.0
|
||||
}]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bdrf0h5ee0d8h"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-zh_cn.otf-68b621c1e7601219a85b563834031d13.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-zh_cn.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-zh_cn.otf-68b621c1e7601219a85b563834031d13.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://87qflu7rgg4l"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-zh_hk.otf-529004a90ae5661e0d8ee5aa35fa2591.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-zh_hk.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-zh_hk.otf-529004a90ae5661e0d8ee5aa35fa2591.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://detvyvcqc6y1n"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-zh_tr.otf-a037d4b14237e45c066bf079220cf7ac.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-zh_tr.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-zh_tr.otf-a037d4b14237e45c066bf079220cf7ac.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bt0devpfk1mt2"
|
||||
path="res://.godot/imported/ark-pixel-12px-monospaced-zh_tw.otf-027d9d78140dcdd6a0d64a2f7912eaa4.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/ark-pixel-font/12px/monospaced/ark-pixel-12px-monospaced-zh_tw.otf"
|
||||
dest_files=["res://.godot/imported/ark-pixel-12px-monospaced-zh_tw.otf-027d9d78140dcdd6a0d64a2f7912eaa4.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
BIN
locale/en_AU.mo
BIN
locale/en_AU.mo
Binary file not shown.
@@ -1,58 +0,0 @@
|
||||
# LANGUAGE translation for Dawn Godot for the following files:
|
||||
# res://scenes/UI/DebugMenu.tscn
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Dawn Godot\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en_AU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.4.4\n"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_MAIN_MENU"
|
||||
msgstr "Main Menu"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_OVERWORLD"
|
||||
msgstr "Overworld"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_QUESTS"
|
||||
msgstr "Quests"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_INVENTORY"
|
||||
msgstr "Inventory"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_EVENTS"
|
||||
msgstr "Events"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_CUTSCENES"
|
||||
msgstr "Cutscenes"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_COOKING"
|
||||
msgstr "Cooking"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_BATTLE"
|
||||
msgstr "Battle"
|
||||
|
||||
#: scenes/Singletons/Recipe.tscn
|
||||
msgid "Ash-Baked Sweet Potato"
|
||||
msgstr ""
|
||||
|
||||
#: scripts/UI/DebugMenu.gd
|
||||
msgid "SOME_STRING_TRANSLATED"
|
||||
msgstr "This is ENGLISH MATE"
|
BIN
locale/en_US.mo
BIN
locale/en_US.mo
Binary file not shown.
@@ -18,41 +18,60 @@ msgstr ""
|
||||
"X-Generator: Poedit 3.4.4\n"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_MAIN_MENU"
|
||||
msgid "ui.debug_menu.main_menu"
|
||||
msgstr "Main Menu"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_OVERWORLD"
|
||||
msgid "ui.debug_menu.overworld"
|
||||
msgstr "Overworld"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_QUESTS"
|
||||
msgstr "Quests"
|
||||
msgid "ui.debug_menu.quest"
|
||||
msgstr "Quest"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_INVENTORY"
|
||||
msgid "ui.debug_menu.inventory"
|
||||
msgstr "Inventory"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_EVENTS"
|
||||
msgstr "Events"
|
||||
msgid "ui.debug_menu.event"
|
||||
msgstr "Event"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_CUTSCENES"
|
||||
msgstr "Cutscenes"
|
||||
msgid "ui.debug_menu.cutscene"
|
||||
msgstr "Cutscene"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_COOKING"
|
||||
msgid "ui.debug_menu.cooking"
|
||||
msgstr "Cooking"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_BATTLE"
|
||||
msgid "ui.debug_menu.battle"
|
||||
msgstr "Battle"
|
||||
|
||||
#: scenes/Singletons/Recipe.tscn
|
||||
msgid "Ash-Baked Sweet Potato"
|
||||
msgstr ""
|
||||
#~ msgid "UI_DEBUG_MAIN_MENU"
|
||||
#~ msgstr "Main Menu"
|
||||
|
||||
#: scripts/UI/DebugMenu.gd
|
||||
msgid "SOME_STRING_TRANSLATED"
|
||||
msgstr "This is english"
|
||||
#~ msgid "UI_DEBUG_OVERWORLD"
|
||||
#~ msgstr "Overworld"
|
||||
|
||||
#~ msgid "UI_DEBUG_QUESTS"
|
||||
#~ msgstr "Quests"
|
||||
|
||||
#~ msgid "UI_DEBUG_INVENTORY"
|
||||
#~ msgstr "Inventory"
|
||||
|
||||
#~ msgid "UI_DEBUG_EVENTS"
|
||||
#~ msgstr "Events"
|
||||
|
||||
#~ msgid "UI_DEBUG_CUTSCENES"
|
||||
#~ msgstr "Cutscenes"
|
||||
|
||||
#~ msgid "UI_DEBUG_COOKING"
|
||||
#~ msgstr "Cooking"
|
||||
|
||||
#~ msgid "UI_DEBUG_BATTLE"
|
||||
#~ msgstr "Battle"
|
||||
|
||||
#~ msgid "SOME_STRING_TRANSLATED"
|
||||
#~ msgstr "This is english"
|
||||
|
BIN
locale/ja_JP.mo
Normal file
BIN
locale/ja_JP.mo
Normal file
Binary file not shown.
77
locale/ja_JP.po
Normal file
77
locale/ja_JP.po
Normal file
@@ -0,0 +1,77 @@
|
||||
# LANGUAGE translation for Dawn Godot for the following files:
|
||||
# res://scenes/UI/DebugMenu.tscn
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Dawn Godot\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: ja_JP\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.4.4\n"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.main_menu"
|
||||
msgstr "メインメニュー"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.overworld"
|
||||
msgstr "オーバーワールド"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.quest"
|
||||
msgstr "クエスト"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.inventory"
|
||||
msgstr "インベントリ"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.event"
|
||||
msgstr "イベント"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.cutscene"
|
||||
msgstr "カットシーン"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.cooking"
|
||||
msgstr "料理"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "ui.debug_menu.battle"
|
||||
msgstr "バトル"
|
||||
|
||||
#~ msgid "UI_DEBUG_MAIN_MENU"
|
||||
#~ msgstr "メインメニュー"
|
||||
|
||||
#~ msgid "UI_DEBUG_OVERWORLD"
|
||||
#~ msgstr "オーバーワールド"
|
||||
|
||||
#~ msgid "UI_DEBUG_QUESTS"
|
||||
#~ msgstr "クエスト"
|
||||
|
||||
#~ msgid "UI_DEBUG_INVENTORY"
|
||||
#~ msgstr "インベントリ"
|
||||
|
||||
#~ msgid "UI_DEBUG_EVENTS"
|
||||
#~ msgstr "イベント"
|
||||
|
||||
#~ msgid "UI_DEBUG_CUTSCENES"
|
||||
#~ msgstr "カットシーン"
|
||||
|
||||
#~ msgid "UI_DEBUG_COOKING"
|
||||
#~ msgstr "料理"
|
||||
|
||||
#~ msgid "UI_DEBUG_BATTLE"
|
||||
#~ msgstr "バトル"
|
||||
|
||||
#~ msgid "SOME_STRING_TRANSLATED"
|
||||
#~ msgstr "これは英語です"
|
@@ -1,7 +1,5 @@
|
||||
# LANGUAGE translation for Dawn Godot for the following files:
|
||||
# res://scenes/UI/DebugMenu.tscn
|
||||
# res://scenes/Singletons/Recipe.tscn
|
||||
# res://scripts/UI/DebugMenu.gd
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
@@ -14,41 +12,33 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_MAIN_MENU"
|
||||
msgid "ui.debug_menu.main_menu"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_OVERWORLD"
|
||||
msgid "ui.debug_menu.overworld"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_QUESTS"
|
||||
msgid "ui.debug_menu.quest"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_INVENTORY"
|
||||
msgid "ui.debug_menu.inventory"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_EVENTS"
|
||||
msgid "ui.debug_menu.event"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_CUTSCENES"
|
||||
msgid "ui.debug_menu.cutscene"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_COOKING"
|
||||
msgid "ui.debug_menu.cooking"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/UI/DebugMenu.tscn
|
||||
msgid "UI_DEBUG_BATTLE"
|
||||
msgstr ""
|
||||
|
||||
#: scenes/Singletons/Recipe.tscn
|
||||
msgid "Ash-Baked Sweet Potato"
|
||||
msgstr ""
|
||||
|
||||
#: scripts/UI/DebugMenu.gd
|
||||
msgid "SOME_STRING_TRANSLATED"
|
||||
msgid "ui.debug_menu.battle"
|
||||
msgstr ""
|
||||
|
@@ -50,7 +50,7 @@ import/blender/enabled=false
|
||||
|
||||
fonts/dynamic_fonts/use_oversampling=false
|
||||
theme/custom="uid://dm7ee4aqjr2dl"
|
||||
theme/custom_font="uid://bnodbj3rhtd8v"
|
||||
theme/custom_font="uid://ck4rsg0nvvxtq"
|
||||
|
||||
[input]
|
||||
|
||||
@@ -111,8 +111,10 @@ run={
|
||||
|
||||
[internationalization]
|
||||
|
||||
locale/translations=PackedStringArray("res://locale/en_US.mo", "res://locale/en_AU.mo")
|
||||
locale/translations_pot_files=PackedStringArray("res://scenes/UI/DebugMenu.tscn", "res://scenes/Singletons/Recipe.tscn", "res://scripts/UI/DebugMenu.gd")
|
||||
locale/translations=PackedStringArray("res://locale/en_US.mo", "res://locale/ja_JP.mo")
|
||||
locale/translations_pot_files=PackedStringArray("res://scenes/UI/DebugMenu.tscn")
|
||||
locale/language_filter=["ja"]
|
||||
locale/country_filter=["JP"]
|
||||
|
||||
[layer_names]
|
||||
|
||||
|
@@ -50,3 +50,15 @@ text = "ui.debug_menu.cooking"
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
text = "ui.debug_menu.battle"
|
||||
|
||||
[node name="LanguageOption" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
|
||||
[node name="LangDropdown" type="OptionButton" parent="LanguageOption"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="RegDropdown" type="OptionButton" parent="LanguageOption"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
@@ -21,8 +21,8 @@ const LANGUAGE_MATCH:Dictionary[String, Language] = {
|
||||
|
||||
const REGION_MATCH:Dictionary[String, Region] = {
|
||||
"US": Region.US,
|
||||
"EU": Region.EU,
|
||||
"AU": Region.AU,
|
||||
"EU": Region.EU,
|
||||
"JP": Region.JP
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ func setLocale(language:Language, region:Region) -> void:
|
||||
|
||||
var matchRegion = REGION_MATCH.find_key(region)
|
||||
if matchRegion:
|
||||
l += matchRegion.to_upper
|
||||
l += matchRegion.to_upper()
|
||||
else:
|
||||
print("Invalid region: " + str(region))
|
||||
l += REGION_MATCH.find_key(DEFAULT_REGION).to_upper()
|
||||
|
@@ -1,7 +1,5 @@
|
||||
class_name DebugMenu extends VBoxContainer
|
||||
|
||||
var whatever:String = tr("SOME_STRING_TRANSLATED")
|
||||
|
||||
func _ready() -> void:
|
||||
show()
|
||||
|
||||
@@ -14,12 +12,31 @@ func _ready() -> void:
|
||||
$Cooking.connect("pressed", _on_Cooking_pressed);
|
||||
$Battle.connect("pressed", _on_Battle_pressed);
|
||||
|
||||
$LanguageOption/LangDropdown.item_selected.connect(_on_LanguageSelected)
|
||||
$LanguageOption/RegDropdown.item_selected.connect(_on_RegionSelected)
|
||||
|
||||
# Overworld List
|
||||
var i:int = 0;
|
||||
for map in OVERWORLD.MAPS.keys():
|
||||
$OverworldOption/MapDropdown.add_item(map, i);
|
||||
i = i + 1;
|
||||
|
||||
# Language list
|
||||
i = 0
|
||||
for lang in LOCALE.LANGUAGE_MATCH.keys():
|
||||
$LanguageOption/LangDropdown.add_item(lang, i);
|
||||
if LOCALE.LANGUAGE_MATCH[lang] == LOCALE.language:
|
||||
$LanguageOption/LangDropdown.selected = i
|
||||
i = i + 1;
|
||||
|
||||
# Region list
|
||||
i = 0
|
||||
for reg in LOCALE.REGION_MATCH.keys():
|
||||
$LanguageOption/RegDropdown.add_item(reg, i);
|
||||
if LOCALE.REGION_MATCH[reg] == LOCALE.region:
|
||||
$LanguageOption/RegDropdown.selected = i
|
||||
i = i + 1;
|
||||
|
||||
func _exit_tree() -> void:
|
||||
$MainMenu.disconnect("pressed", _on_MainMenu_pressed);
|
||||
$OverworldOption/Overworld.disconnect("pressed", _on_Overworld_pressed);
|
||||
@@ -55,7 +72,6 @@ func _on_Quests_pressed():
|
||||
|
||||
func _on_Custscene_pressed():
|
||||
print("Cutscene pressed")
|
||||
print(whatever)
|
||||
|
||||
func _on_Cooking_pressed():
|
||||
print("Cooking pressed")
|
||||
@@ -77,6 +93,14 @@ func _on_Inventory_pressed():
|
||||
else:
|
||||
UI.INVENTORY_MENU.open()
|
||||
|
||||
func _on_LanguageSelected(index:int) -> void:
|
||||
var lang:String = $LanguageOption/LangDropdown.get_item_text(index)
|
||||
LOCALE.setLocale(LOCALE.LANGUAGE_MATCH[lang], LOCALE.region)
|
||||
|
||||
func _on_RegionSelected(index:int) -> void:
|
||||
var reg:String = $LanguageOption/RegDropdown.get_item_text(index)
|
||||
LOCALE.setLocale(LOCALE.language, LOCALE.REGION_MATCH[reg])
|
||||
|
||||
func open() -> void:
|
||||
show()
|
||||
|
||||
|
Reference in New Issue
Block a user