From c2292b5b62558708cae1c28496ce1426e5d3c5b7 Mon Sep 17 00:00:00 2001 From: Lucas Peter Date: Thu, 25 Jul 2024 12:02:17 +0200 Subject: [PATCH] Font import + cleanup --- core/player.gd | 5 --- extracted/Font/Bangers.ttf.import | 33 ++++++++++++++++++ extracted/Font/Oswald-Bold.ttf.import | 33 ++++++++++++++++++ extracted/Font/PerfectDOSVGA437.ttf.import | 33 ++++++++++++++++++ extracted/Font/ShortStack-Regular.ttf.import | 33 ++++++++++++++++++ .../GroundExtensions_All_01_SPRT.png.import | 34 +++++++++++++++++++ extracted/Texture2D/Happy.png.import | 34 +++++++++++++++++++ extracted/Texture2D/char_fisherman.png.import | 34 +++++++++++++++++++ project.godot | 1 - 9 files changed, 234 insertions(+), 6 deletions(-) create mode 100644 extracted/Font/Bangers.ttf.import create mode 100644 extracted/Font/Oswald-Bold.ttf.import create mode 100644 extracted/Font/PerfectDOSVGA437.ttf.import create mode 100644 extracted/Font/ShortStack-Regular.ttf.import create mode 100644 extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import create mode 100644 extracted/Texture2D/Happy.png.import create mode 100644 extracted/Texture2D/char_fisherman.png.import diff --git a/core/player.gd b/core/player.gd index 639ab18..b054690 100644 --- a/core/player.gd +++ b/core/player.gd @@ -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 diff --git a/extracted/Font/Bangers.ttf.import b/extracted/Font/Bangers.ttf.import new file mode 100644 index 0000000..1c1d76d --- /dev/null +++ b/extracted/Font/Bangers.ttf.import @@ -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={} diff --git a/extracted/Font/Oswald-Bold.ttf.import b/extracted/Font/Oswald-Bold.ttf.import new file mode 100644 index 0000000..bcba1c8 --- /dev/null +++ b/extracted/Font/Oswald-Bold.ttf.import @@ -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={} diff --git a/extracted/Font/PerfectDOSVGA437.ttf.import b/extracted/Font/PerfectDOSVGA437.ttf.import new file mode 100644 index 0000000..0706205 --- /dev/null +++ b/extracted/Font/PerfectDOSVGA437.ttf.import @@ -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={} diff --git a/extracted/Font/ShortStack-Regular.ttf.import b/extracted/Font/ShortStack-Regular.ttf.import new file mode 100644 index 0000000..c2b34e3 --- /dev/null +++ b/extracted/Font/ShortStack-Regular.ttf.import @@ -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={} diff --git a/extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import b/extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import new file mode 100644 index 0000000..c033712 --- /dev/null +++ b/extracted/Texture2D/GroundExtensions_All_01_SPRT.png.import @@ -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 diff --git a/extracted/Texture2D/Happy.png.import b/extracted/Texture2D/Happy.png.import new file mode 100644 index 0000000..d4ed771 --- /dev/null +++ b/extracted/Texture2D/Happy.png.import @@ -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 diff --git a/extracted/Texture2D/char_fisherman.png.import b/extracted/Texture2D/char_fisherman.png.import new file mode 100644 index 0000000..d5a6193 --- /dev/null +++ b/extracted/Texture2D/char_fisherman.png.import @@ -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 diff --git a/project.godot b/project.godot index 9c4fbb5..8745515 100644 --- a/project.godot +++ b/project.godot @@ -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"