Font import + cleanup
This commit is contained in:
parent
3859c3da62
commit
c2292b5b62
9 changed files with 234 additions and 6 deletions
|
@ -21,10 +21,6 @@ func changeSkin(NewSkin:CanvasTexture,_NewHat:CanvasTexture = null):
|
|||
Sprite.texture = CurrentSkin
|
||||
if (Sprite.has_meta("Type") and Sprite.get_meta("Type") == "Hat"):
|
||||
Sprite.texture = CurrentHat
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
func get_input():
|
||||
var directionX = Input.get_axis("move_left", "move_right")
|
||||
|
@ -45,7 +41,6 @@ func get_input():
|
|||
$Skeleton2D/root/Hips.set_scale(Vector2(1, 1))
|
||||
if (directionX > 0):
|
||||
$Skeleton2D/root/Hips.set_scale(Vector2(-1, 1))
|
||||
|
||||
$AnimationTree.set("parameters/WalkRun/blend_position",max(abs(velocity.x),abs(velocity.y)))
|
||||
#endregion
|
||||
|
||||
|
|
33
extracted/Font/Bangers.ttf.import
Normal file
33
extracted/Font/Bangers.ttf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dv5knvxu4yekf"
|
||||
path="res://.godot/imported/Bangers.ttf-4f11207bb3b9f35b34fda7975f1924fb.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Font/Bangers.ttf"
|
||||
dest_files=["res://.godot/imported/Bangers.ttf-4f11207bb3b9f35b34fda7975f1924fb.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
extracted/Font/Oswald-Bold.ttf.import
Normal file
33
extracted/Font/Oswald-Bold.ttf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://b8i42e44ibqvy"
|
||||
path="res://.godot/imported/Oswald-Bold.ttf-79f2e9d28b36fff7a79ee35d9b486ef9.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Font/Oswald-Bold.ttf"
|
||||
dest_files=["res://.godot/imported/Oswald-Bold.ttf-79f2e9d28b36fff7a79ee35d9b486ef9.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
extracted/Font/PerfectDOSVGA437.ttf.import
Normal file
33
extracted/Font/PerfectDOSVGA437.ttf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bfbrlmbpf0xau"
|
||||
path="res://.godot/imported/PerfectDOSVGA437.ttf-71796ab40d4e073302c462ceb54d272e.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Font/PerfectDOSVGA437.ttf"
|
||||
dest_files=["res://.godot/imported/PerfectDOSVGA437.ttf-71796ab40d4e073302c462ceb54d272e.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
extracted/Font/ShortStack-Regular.ttf.import
Normal file
33
extracted/Font/ShortStack-Regular.ttf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bdlaqxu7r2n41"
|
||||
path="res://.godot/imported/ShortStack-Regular.ttf-b8f792f00bec9790ac69e5070bf6d141.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Font/ShortStack-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/ShortStack-Regular.ttf-b8f792f00bec9790ac69e5070bf6d141.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={}
|
34
extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import
Normal file
34
extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cypb81fuw4w44"
|
||||
path="res://.godot/imported/GroundExtensions_All_01_SPRT.png-5c1cdd42acb7add9ff8cd748828f96b8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Texture2D/GroundExtensions_All_01_SPRT.png"
|
||||
dest_files=["res://.godot/imported/GroundExtensions_All_01_SPRT.png-5c1cdd42acb7add9ff8cd748828f96b8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
34
extracted/Texture2D/Happy.png.import
Normal file
34
extracted/Texture2D/Happy.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dtjlddkbxulcd"
|
||||
path="res://.godot/imported/Happy.png-5c81f2bb5ce88becc770b02d8333cf6a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Texture2D/Happy.png"
|
||||
dest_files=["res://.godot/imported/Happy.png-5c81f2bb5ce88becc770b02d8333cf6a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
34
extracted/Texture2D/char_fisherman.png.import
Normal file
34
extracted/Texture2D/char_fisherman.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b8yvvi02g5nvd"
|
||||
path="res://.godot/imported/char_fisherman.png-934c76c230d6a580b42fda9b423070e2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://extracted/Texture2D/char_fisherman.png"
|
||||
dest_files=["res://.godot/imported/char_fisherman.png-934c76c230d6a580b42fda9b423070e2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -86,4 +86,3 @@ menu={
|
|||
renderer/rendering_method="mobile"
|
||||
environment/defaults/default_clear_color=Color(0.265979, 0.419145, 0.409015, 1)
|
||||
2d/snap/snap_2d_transforms_to_pixel=true
|
||||
environment/defaults/default_environment="res://shaders/new_environment.tres"
|
||||
|
|
Loading…
Reference in a new issue