Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Port the project to Godot 4 #167

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/.godot
/.import
export_presets.cfg
Catapult.x86_64
Catapult.exe
*.translation
*~lock*
*.tmp

# Godot Git plugin
/bin
Expand Down
33 changes: 33 additions & 0 deletions fonts/NotoSansKR-Regular.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://brp5nphtpm6dp"
path="res://.godot/imported/NotoSansKR-Regular.ttf-b1a5425772466f0b661760f5aaaf1bbb.fontdata"

[deps]

source_file="res://fonts/NotoSansKR-Regular.ttf"
dest_files=["res://.godot/imported/NotoSansKR-Regular.ttf-b1a5425772466f0b661760f5aaaf1bbb.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
8 changes: 4 additions & 4 deletions fonts/OpenSans-Italic.tres
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[gd_resource type="DynamicFont" load_steps=4 format=2]
[gd_resource type="FontFile" load_steps=4 format=2]

[ext_resource path="res://fonts/OpenSans-Italic.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="DynamicFontData" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://fonts/OpenSans-Italic.ttf" type="FontFile" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="FontFile" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="FontFile" id=3]

[resource]
size = 13
Expand Down
33 changes: 33 additions & 0 deletions fonts/OpenSans-Italic.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://ea3aqjevmcph"
path="res://.godot/imported/OpenSans-Italic.ttf-adae1b37e5fd020f98d112f9a5aec2ea.fontdata"

[deps]

source_file="res://fonts/OpenSans-Italic.ttf"
dest_files=["res://.godot/imported/OpenSans-Italic.ttf-adae1b37e5fd020f98d112f9a5aec2ea.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
8 changes: 4 additions & 4 deletions fonts/OpenSans-Regular.tres
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[gd_resource type="DynamicFont" load_steps=4 format=2]
[gd_resource type="FontFile" load_steps=4 format=2]

[ext_resource path="res://fonts/OpenSans-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="DynamicFontData" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://fonts/OpenSans-Regular.ttf" type="FontFile" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="FontFile" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="FontFile" id=3]

[resource]
size = 13
Expand Down
33 changes: 33 additions & 0 deletions fonts/OpenSans-Regular.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://dyjsahw2i1jqw"
path="res://.godot/imported/OpenSans-Regular.ttf-c0bf4f9c652cbc0f334e1d2022a5738d.fontdata"

[deps]

source_file="res://fonts/OpenSans-Regular.ttf"
dest_files=["res://.godot/imported/OpenSans-Regular.ttf-c0bf4f9c652cbc0f334e1d2022a5738d.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
8 changes: 4 additions & 4 deletions fonts/OpenSans-Semibold.tres
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[gd_resource type="DynamicFont" load_steps=4 format=2]
[gd_resource type="FontFile" load_steps=4 format=2]

[ext_resource path="res://fonts/OpenSans-Semibold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="DynamicFontData" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://fonts/OpenSans-Semibold.ttf" type="FontFile" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="FontFile" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="FontFile" id=3]

[resource]
size = 13
Expand Down
33 changes: 33 additions & 0 deletions fonts/OpenSans-Semibold.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://drimgjk8ew4gd"
path="res://.godot/imported/OpenSans-Semibold.ttf-181a2cfc7efa2af943b5054925a00594.fontdata"

[deps]

source_file="res://fonts/OpenSans-Semibold.ttf"
dest_files=["res://.godot/imported/OpenSans-Semibold.ttf-181a2cfc7efa2af943b5054925a00594.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
8 changes: 4 additions & 4 deletions fonts/OpenSans-SemiboldItalic.tres
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[gd_resource type="DynamicFont" load_steps=4 format=2]
[gd_resource type="FontFile" load_steps=4 format=2]

[ext_resource path="res://fonts/OpenSans-SemiboldItalic.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="DynamicFontData" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://fonts/OpenSans-SemiboldItalic.ttf" type="FontFile" id=1]
[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="FontFile" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="FontFile" id=3]

[resource]
size = 13
Expand Down
33 changes: 33 additions & 0 deletions fonts/OpenSans-SemiboldItalic.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://b2fhge6n6kpx2"
path="res://.godot/imported/OpenSans-SemiboldItalic.ttf-944643a573510b47648d0864cea49737.fontdata"

[deps]

source_file="res://fonts/OpenSans-SemiboldItalic.ttf"
dest_files=["res://.godot/imported/OpenSans-SemiboldItalic.ttf-944643a573510b47648d0864cea49737.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
33 changes: 33 additions & 0 deletions fonts/SourceHanSansCN-Regular.otf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://b2hnn2yyfwfrx"
path="res://.godot/imported/SourceHanSansCN-Regular.otf-cbd80afdc6964661916c3af65a3ce8ae.fontdata"

[deps]

source_file="res://fonts/SourceHanSansCN-Regular.otf"
dest_files=["res://.godot/imported/SourceHanSansCN-Regular.otf-cbd80afdc6964661916c3af65a3ce8ae.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
40 changes: 29 additions & 11 deletions fonts/default_ui_font.tres
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
[gd_resource type="DynamicFont" load_steps=4 format=2]
[gd_resource type="FontFile" load_steps=4 format=3 uid="uid://c7au221byxqth"]

[ext_resource path="res://fonts/SourceHanSansCN-Regular.otf" type="DynamicFontData" id=1]
[ext_resource path="res://fonts/OpenSans-Regular.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://fonts/NotoSansKR-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource type="FontFile" uid="uid://b2hnn2yyfwfrx" path="res://fonts/SourceHanSansCN-Regular.otf" id="1"]
[ext_resource type="FontFile" uid="uid://dyjsahw2i1jqw" path="res://fonts/OpenSans-Regular.ttf" id="2"]
[ext_resource type="FontFile" uid="uid://brp5nphtpm6dp" path="res://fonts/NotoSansKR-Regular.ttf" id="3"]

[resource]
size = 13
use_mipmaps = true
extra_spacing_top = -3
extra_spacing_bottom = -3
font_data = ExtResource( 2 )
fallback/0 = ExtResource( 1 )
fallback/1 = ExtResource( 3 )
fallbacks = Array[Font]([ExtResource("2"), ExtResource("1"), ExtResource("3")])
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/16/0/kerning_overrides/20/0 = Vector2(0, 0)
cache/0/16/0/kerning_overrides/50/0 = Vector2(0, 0)
cache/0/20/0/ascent = 0.0
cache/0/20/0/descent = 0.0
cache/0/20/0/underline_position = 0.0
cache/0/20/0/underline_thickness = 0.0
cache/0/20/0/scale = 1.0
cache/0/20/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/20/0/kerning_overrides/20/0 = Vector2(0, 0)
cache/0/20/0/kerning_overrides/50/0 = Vector2(0, 0)
cache/0/50/0/ascent = 0.0
cache/0/50/0/descent = 0.0
cache/0/50/0/underline_position = 0.0
cache/0/50/0/underline_thickness = 0.0
cache/0/50/0/scale = 1.0
cache/0/50/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/50/0/kerning_overrides/20/0 = Vector2(0, 0)
cache/0/50/0/kerning_overrides/50/0 = Vector2(0, 0)
33 changes: 33 additions & 0 deletions fonts/ingame/FantasqueSansMono-Bold.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://cdhxlrok2ylyd"
path="res://.godot/imported/FantasqueSansMono-Bold.ttf-b5b2734584638cee803ebc14ef71b1fb.fontdata"

[deps]

source_file="res://fonts/ingame/FantasqueSansMono-Bold.ttf"
dest_files=["res://.godot/imported/FantasqueSansMono-Bold.ttf-b5b2734584638cee803ebc14ef71b1fb.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
33 changes: 33 additions & 0 deletions fonts/ingame/FantasqueSansMono-Regular.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://cmdngu15kb3vi"
path="res://.godot/imported/FantasqueSansMono-Regular.ttf-39a6b4443508ce59032a6c2c710164b6.fontdata"

[deps]

source_file="res://fonts/ingame/FantasqueSansMono-Regular.ttf"
dest_files=["res://.godot/imported/FantasqueSansMono-Regular.ttf-39a6b4443508ce59032a6c2c710164b6.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
Loading