diff --git a/Clean_theme.tres b/Clean_theme.tres new file mode 100644 index 0000000..ef0e660 --- /dev/null +++ b/Clean_theme.tres @@ -0,0 +1,7 @@ +[gd_resource type="Theme" load_steps=2 format=3 uid="uid://buma708jpxqrn"] + +[ext_resource type="FontFile" uid="uid://dvs6gb073wnke" path="res://assets/fonts/Rubik/static/Rubik-Medium.ttf" id="1_tck2e"] + +[resource] +default_font = ExtResource("1_tck2e") +default_font_size = 80 diff --git a/DefaultTheme.tres b/DefaultTheme.tres index 62637da..f55f0b8 100644 --- a/DefaultTheme.tres +++ b/DefaultTheme.tres @@ -1,7 +1,7 @@ [gd_resource type="Theme" load_steps=2 format=3 uid="uid://clek42ofxr45f"] -[ext_resource type="FontFile" uid="uid://d2h2tjhxiv5wo" path="res://assets/fonts/White On Black.ttf" id="1_f2df7"] +[ext_resource type="FontFile" uid="uid://xwew7f8vgxe5" path="res://assets/fonts/Rubik/static/Rubik-Light.ttf" id="1_hgcho"] [resource] -default_font = ExtResource("1_f2df7") +default_font = ExtResource("1_hgcho") default_font_size = 100 diff --git a/assets/fonts/Rubik/OFL.txt b/assets/fonts/Rubik/OFL.txt new file mode 100644 index 0000000..4f8bfd9 --- /dev/null +++ b/assets/fonts/Rubik/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2015 The Rubik Project Authors (https://github.com/googlefonts/rubik) + +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. diff --git a/assets/fonts/Rubik/README.txt b/assets/fonts/Rubik/README.txt new file mode 100644 index 0000000..c5792a2 --- /dev/null +++ b/assets/fonts/Rubik/README.txt @@ -0,0 +1,77 @@ +Rubik Variable Font +=================== + +This download contains Rubik as both variable fonts and static fonts. + +Rubik is a variable font with this axis: + wght + +This means all the styles are contained in these files: + Rubik-VariableFont_wght.ttf + Rubik-Italic-VariableFont_wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Rubik: + static/Rubik-Light.ttf + static/Rubik-Regular.ttf + static/Rubik-Medium.ttf + static/Rubik-SemiBold.ttf + static/Rubik-Bold.ttf + static/Rubik-ExtraBold.ttf + static/Rubik-Black.ttf + static/Rubik-LightItalic.ttf + static/Rubik-Italic.ttf + static/Rubik-MediumItalic.ttf + static/Rubik-SemiBoldItalic.ttf + static/Rubik-BoldItalic.ttf + static/Rubik-ExtraBoldItalic.ttf + static/Rubik-BlackItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf b/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf new file mode 100644 index 0000000..36dbec5 Binary files /dev/null and b/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf differ diff --git a/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf.import b/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf.import new file mode 100644 index 0000000..ee3ef40 --- /dev/null +++ b/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c4i7f5jqdlga3" +path="res://.godot/imported/Rubik-Italic-VariableFont_wght.ttf-3c510436b09887f01f5168a08ea93c41.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf" +dest_files=["res://.godot/imported/Rubik-Italic-VariableFont_wght.ttf-3c510436b09887f01f5168a08ea93c41.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf b/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf new file mode 100644 index 0000000..bbab349 Binary files /dev/null and b/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf differ diff --git a/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf.import b/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf.import new file mode 100644 index 0000000..e0e26c6 --- /dev/null +++ b/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://bq172ahqfai5u" +path="res://.godot/imported/Rubik-VariableFont_wght.ttf-212a3d88c9cce8bfddfc08cc7e05d1bf.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/Rubik-VariableFont_wght.ttf" +dest_files=["res://.godot/imported/Rubik-VariableFont_wght.ttf-212a3d88c9cce8bfddfc08cc7e05d1bf.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Black.ttf b/assets/fonts/Rubik/static/Rubik-Black.ttf new file mode 100644 index 0000000..055ad22 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Black.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Black.ttf.import b/assets/fonts/Rubik/static/Rubik-Black.ttf.import new file mode 100644 index 0000000..2eba034 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Black.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c65rqcnlge85q" +path="res://.godot/imported/Rubik-Black.ttf-ab384772501148334bff9867b96efd3d.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Black.ttf" +dest_files=["res://.godot/imported/Rubik-Black.ttf-ab384772501148334bff9867b96efd3d.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf b/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf new file mode 100644 index 0000000..308529c Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf.import new file mode 100644 index 0000000..eee2630 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-BlackItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c1s6sx0yhtjdp" +path="res://.godot/imported/Rubik-BlackItalic.ttf-0899ea626b311de88e8abcd145889103.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-BlackItalic.ttf" +dest_files=["res://.godot/imported/Rubik-BlackItalic.ttf-0899ea626b311de88e8abcd145889103.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Bold.ttf b/assets/fonts/Rubik/static/Rubik-Bold.ttf new file mode 100644 index 0000000..1a9693d Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Bold.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Bold.ttf.import b/assets/fonts/Rubik/static/Rubik-Bold.ttf.import new file mode 100644 index 0000000..9baad8e --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Bold.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://5xalf16n57je" +path="res://.godot/imported/Rubik-Bold.ttf-a51c0b71991900295c42bf52cc341494.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Bold.ttf" +dest_files=["res://.godot/imported/Rubik-Bold.ttf-a51c0b71991900295c42bf52cc341494.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf b/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf new file mode 100644 index 0000000..abf7604 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf.import new file mode 100644 index 0000000..60642ee --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-BoldItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://wxjgy8m1ctcd" +path="res://.godot/imported/Rubik-BoldItalic.ttf-be8aa0c829e42474ac2673d3baae45c2.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-BoldItalic.ttf" +dest_files=["res://.godot/imported/Rubik-BoldItalic.ttf-be8aa0c829e42474ac2673d3baae45c2.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf b/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf new file mode 100644 index 0000000..3b1e190 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf.import b/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf.import new file mode 100644 index 0000000..99c1061 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-ExtraBold.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://cn31l4amjl2uc" +path="res://.godot/imported/Rubik-ExtraBold.ttf-92767cdb0d1416deb1d2214044c0b849.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-ExtraBold.ttf" +dest_files=["res://.godot/imported/Rubik-ExtraBold.ttf-92767cdb0d1416deb1d2214044c0b849.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf b/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf new file mode 100644 index 0000000..59cd758 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf.import new file mode 100644 index 0000000..3a91586 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://05laabggl0fs" +path="res://.godot/imported/Rubik-ExtraBoldItalic.ttf-58b2ddbc561bd1e8a44f550064a43426.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf" +dest_files=["res://.godot/imported/Rubik-ExtraBoldItalic.ttf-58b2ddbc561bd1e8a44f550064a43426.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Italic.ttf b/assets/fonts/Rubik/static/Rubik-Italic.ttf new file mode 100644 index 0000000..1683a76 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Italic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Italic.ttf.import b/assets/fonts/Rubik/static/Rubik-Italic.ttf.import new file mode 100644 index 0000000..0f74b35 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Italic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dqaneuaji1355" +path="res://.godot/imported/Rubik-Italic.ttf-154d31bcb1a02eac0209c4b817e0f49d.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Italic.ttf" +dest_files=["res://.godot/imported/Rubik-Italic.ttf-154d31bcb1a02eac0209c4b817e0f49d.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Light.ttf b/assets/fonts/Rubik/static/Rubik-Light.ttf new file mode 100644 index 0000000..8a5a50a Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Light.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Light.ttf.import b/assets/fonts/Rubik/static/Rubik-Light.ttf.import new file mode 100644 index 0000000..7117a70 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Light.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://xwew7f8vgxe5" +path="res://.godot/imported/Rubik-Light.ttf-e873e569f5195ab93986e92350bf6e36.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Light.ttf" +dest_files=["res://.godot/imported/Rubik-Light.ttf-e873e569f5195ab93986e92350bf6e36.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-LightItalic.ttf b/assets/fonts/Rubik/static/Rubik-LightItalic.ttf new file mode 100644 index 0000000..b028d93 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-LightItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-LightItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-LightItalic.ttf.import new file mode 100644 index 0000000..8e860ea --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-LightItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dw1ty7ls2syr0" +path="res://.godot/imported/Rubik-LightItalic.ttf-c4b39181ae20dedb5be135e4fb939c6e.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-LightItalic.ttf" +dest_files=["res://.godot/imported/Rubik-LightItalic.ttf-c4b39181ae20dedb5be135e4fb939c6e.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Medium.ttf b/assets/fonts/Rubik/static/Rubik-Medium.ttf new file mode 100644 index 0000000..f0bd595 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Medium.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Medium.ttf.import b/assets/fonts/Rubik/static/Rubik-Medium.ttf.import new file mode 100644 index 0000000..3cdb148 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Medium.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dvs6gb073wnke" +path="res://.godot/imported/Rubik-Medium.ttf-64a3e68e444e7fee7c337a14fe2198b7.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Medium.ttf" +dest_files=["res://.godot/imported/Rubik-Medium.ttf-64a3e68e444e7fee7c337a14fe2198b7.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf b/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf new file mode 100644 index 0000000..1a7d7f9 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf.import new file mode 100644 index 0000000..ea0898b --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-MediumItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c6r6k4c4uf746" +path="res://.godot/imported/Rubik-MediumItalic.ttf-cb6c9aeb89344768f74fdc5117786ca1.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-MediumItalic.ttf" +dest_files=["res://.godot/imported/Rubik-MediumItalic.ttf-cb6c9aeb89344768f74fdc5117786ca1.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-Regular.ttf b/assets/fonts/Rubik/static/Rubik-Regular.ttf new file mode 100644 index 0000000..8b7b632 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-Regular.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-Regular.ttf.import b/assets/fonts/Rubik/static/Rubik-Regular.ttf.import new file mode 100644 index 0000000..0837e59 --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-Regular.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://xtgqi16dlfmk" +path="res://.godot/imported/Rubik-Regular.ttf-9b1572b4a19a2f5512ba4f48a561376d.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-Regular.ttf" +dest_files=["res://.godot/imported/Rubik-Regular.ttf-9b1572b4a19a2f5512ba4f48a561376d.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-SemiBold.ttf b/assets/fonts/Rubik/static/Rubik-SemiBold.ttf new file mode 100644 index 0000000..26f657d Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-SemiBold.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-SemiBold.ttf.import b/assets/fonts/Rubik/static/Rubik-SemiBold.ttf.import new file mode 100644 index 0000000..6f2a0bd --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-SemiBold.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://cbrof60hloj6d" +path="res://.godot/imported/Rubik-SemiBold.ttf-4900763770863686b2cc9d5684d844ca.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-SemiBold.ttf" +dest_files=["res://.godot/imported/Rubik-SemiBold.ttf-4900763770863686b2cc9d5684d844ca.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf b/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf new file mode 100644 index 0000000..8872983 Binary files /dev/null and b/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf differ diff --git a/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf.import b/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf.import new file mode 100644 index 0000000..af3e5ff --- /dev/null +++ b/assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c8x2ys1hwr0ry" +path="res://.godot/imported/Rubik-SemiBoldItalic.ttf-0c75aa92c85b986c72a3dc9fbd6c6695.fontdata" + +[deps] + +source_file="res://assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf" +dest_files=["res://.godot/imported/Rubik-SemiBoldItalic.ttf-0c75aa92c85b986c72a3dc9fbd6c6695.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=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/hud.tscn b/hud.tscn index ec7a703..04545c1 100644 --- a/hud.tscn +++ b/hud.tscn @@ -1,16 +1,21 @@ -[gd_scene load_steps=8 format=3 uid="uid://br882tlh3cfwu"] +[gd_scene load_steps=9 format=3 uid="uid://br882tlh3cfwu"] [ext_resource type="Script" path="res://scripts/hud.gd" id="1_7hukm"] [ext_resource type="Theme" uid="uid://clek42ofxr45f" path="res://DefaultTheme.tres" id="1_22trs"] +[ext_resource type="Theme" uid="uid://buma708jpxqrn" path="res://Clean_theme.tres" id="2_eqnx7"] [ext_resource type="Texture2D" uid="uid://b8r7mp1r4xqv1" path="res://assets/UI/Edit Files/0.5x/Stamina_White@0.5x.png" id="3_2injg"] [ext_resource type="Texture2D" uid="uid://mcay8s80071h" path="res://assets/UI/Crosshair/SVG/Reticle 1_svg.svg" id="3_tmj0x"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2hn4h"] -bg_color = Color(0, 0, 0, 0.25098) -expand_margin_left = 2.0 -expand_margin_top = 2.0 -expand_margin_right = 2.0 -expand_margin_bottom = 2.0 +bg_color = Color(1, 1, 1, 0.129412) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 +expand_margin_left = 10.0 +expand_margin_top = 10.0 +expand_margin_right = 10.0 +expand_margin_bottom = 10.0 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axtce"] bg_color = Color(1, 1, 1, 0.498039) @@ -27,6 +32,39 @@ grow_vertical = 2 script = ExtResource("1_7hukm") radial_stamina = true +[node name="Money" type="Label" parent="."] +layout_mode = 1 +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_left = 44.975 +offset_top = -247.09 +offset_right = 244.975 +offset_bottom = -142.09 +grow_vertical = 0 +theme = ExtResource("2_eqnx7") +theme_type_variation = &"TextShadow" +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_font_sizes/font_size = 80 +text = "$" + +[node name="HealthBar" type="ProgressBar" parent="."] +custom_minimum_size = Vector2(300, 50) +layout_mode = 1 +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_left = 50.38 +offset_top = -105.315 +offset_right = 350.38 +offset_bottom = -55.315 +grow_vertical = 0 +theme = ExtResource("1_22trs") +theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h") +theme_override_styles/fill = SubResource("StyleBoxFlat_axtce") +value = 30.45 +show_percentage = false + [node name="LeftMargin" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 2 @@ -44,40 +82,6 @@ theme_override_constants/margin_bottom = 50 layout_mode = 2 theme_override_constants/separation = 10 -[node name="Money" type="Label" parent="LeftMargin/VBoxContainer"] -layout_mode = 2 -theme = ExtResource("1_22trs") -theme_type_variation = &"TextShadow" -theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) -text = "$" - -[node name="HealthBar" type="ProgressBar" parent="LeftMargin/VBoxContainer"] -custom_minimum_size = Vector2(300, 50) -layout_mode = 2 -theme = ExtResource("1_22trs") -theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h") -theme_override_styles/fill = SubResource("StyleBoxFlat_axtce") -value = 30.45 -show_percentage = false - -[node name="StaminaBar" type="TextureProgressBar" parent="."] -material = SubResource("CanvasItemMaterial_ytfhs") -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -23.5 -offset_top = -23.5 -offset_right = 23.5 -offset_bottom = 23.5 -grow_horizontal = 2 -grow_vertical = 2 -value = 49.0 -fill_mode = 5 -texture_progress = ExtResource("3_2injg") - [node name="StaminaBar2" type="ProgressBar" parent="."] custom_minimum_size = Vector2(30, 10) layout_mode = 1 @@ -114,6 +118,24 @@ grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("3_tmj0x") +[node name="StaminaBar" type="TextureProgressBar" parent="."] +material = SubResource("CanvasItemMaterial_ytfhs") +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -23.5 +offset_top = -23.5 +offset_right = 23.5 +offset_bottom = 23.5 +grow_horizontal = 2 +grow_vertical = 2 +value = 49.0 +fill_mode = 5 +texture_progress = ExtResource("3_2injg") + [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 3 @@ -140,7 +162,7 @@ theme_override_constants/separation = 10 [node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 -theme = ExtResource("1_22trs") +theme = ExtResource("2_eqnx7") theme_type_variation = &"TextShadow" theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) text = "Gun Name" @@ -148,7 +170,7 @@ horizontal_alignment = 2 [node name="Ammo" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 -theme = ExtResource("1_22trs") +theme = ExtResource("2_eqnx7") theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) text = "XX - XX" horizontal_alignment = 1 diff --git a/scripts/hud.gd b/scripts/hud.gd index dde99e0..b8bd87d 100644 --- a/scripts/hud.gd +++ b/scripts/hud.gd @@ -10,10 +10,10 @@ var interact_visible : bool = false @onready var player = level_control.player @onready var stamina_bar: TextureProgressBar = $StaminaBar @onready var stamina_bar_2: ProgressBar = $StaminaBar2 -@onready var health_bar: ProgressBar = $LeftMargin/VBoxContainer/HealthBar +@onready var health_bar: ProgressBar = $HealthBar @onready var gun_name: Label = $"MarginContainer/VBoxContainer/Gun Name" @onready var ammo: Label = $MarginContainer/VBoxContainer/Ammo -@onready var money: Label = $LeftMargin/VBoxContainer/Money +@onready var money: Label = $Money @onready var crosshair: TextureRect = $Crosshair const FULL_WHITE = Color(1, 1, 1, 1) @@ -42,6 +42,7 @@ func _process(delta: float) -> void: health_bar.value = level_control.health if level_control.health <= 2: change_color(health_bar,RED_COLOR,10,delta) + health_bar.position += wiggle_element() else: change_color(health_bar,FULL_WHITE,10,delta) #MONEY @@ -83,6 +84,11 @@ func _process(delta: float) -> void: ## FADE ELEMENTS IN AND OUT fade_in_out(current_stam_bar,STAM_BAR_MAX_OPACITY,stam_bar_visible,delta) +func wiggle_element(): + var rand_x = randf_range(-5,5) + var rand_y = randf_range(-5,5) + return Vector2(rand_x,rand_y) + func change_color(element,color,speed,delta): element.modulate = lerp(element.modulate, Color(color.r,color.g,color.b,element.modulate.a), (delta * speed)/Engine.time_scale)