more UI tweaks
This commit is contained in:
7
Clean_theme.tres
Normal file
7
Clean_theme.tres
Normal file
@@ -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
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://clek42ofxr45f"]
|
[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]
|
[resource]
|
||||||
default_font = ExtResource("1_f2df7")
|
default_font = ExtResource("1_hgcho")
|
||||||
default_font_size = 100
|
default_font_size = 100
|
||||||
|
|||||||
93
assets/fonts/Rubik/OFL.txt
Normal file
93
assets/fonts/Rubik/OFL.txt
Normal file
@@ -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.
|
||||||
77
assets/fonts/Rubik/README.txt
Normal file
77
assets/fonts/Rubik/README.txt
Normal file
@@ -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.
|
||||||
BIN
assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf
Normal file
BIN
assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf.import
Normal file
34
assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/Rubik-VariableFont_wght.ttf
Normal file
BIN
assets/fonts/Rubik/Rubik-VariableFont_wght.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/Rubik-VariableFont_wght.ttf.import
Normal file
34
assets/fonts/Rubik/Rubik-VariableFont_wght.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Black.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Black.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Black.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Black.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-BlackItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-BlackItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-BlackItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-BlackItalic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Bold.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Bold.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Bold.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Bold.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-BoldItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-BoldItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-BoldItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-BoldItalic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-ExtraBold.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-ExtraBold.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-ExtraBold.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-ExtraBold.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-ExtraBoldItalic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Italic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Italic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Italic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Italic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Light.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Light.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Light.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Light.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-LightItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-LightItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-LightItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-LightItalic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Medium.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Medium.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Medium.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Medium.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-MediumItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-MediumItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-MediumItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-MediumItalic.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-Regular.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-Regular.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-Regular.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-Regular.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-SemiBold.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-SemiBold.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-SemiBold.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-SemiBold.ttf.import
Normal file
@@ -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={}
|
||||||
BIN
assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf
Normal file
BIN
assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf
Normal file
Binary file not shown.
34
assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf.import
Normal file
34
assets/fonts/Rubik/static/Rubik-SemiBoldItalic.ttf.import
Normal file
@@ -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={}
|
||||||
106
hud.tscn
106
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="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://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://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"]
|
[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"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2hn4h"]
|
||||||
bg_color = Color(0, 0, 0, 0.25098)
|
bg_color = Color(1, 1, 1, 0.129412)
|
||||||
expand_margin_left = 2.0
|
corner_radius_top_left = 5
|
||||||
expand_margin_top = 2.0
|
corner_radius_top_right = 5
|
||||||
expand_margin_right = 2.0
|
corner_radius_bottom_right = 5
|
||||||
expand_margin_bottom = 2.0
|
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"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axtce"]
|
||||||
bg_color = Color(1, 1, 1, 0.498039)
|
bg_color = Color(1, 1, 1, 0.498039)
|
||||||
@@ -27,6 +32,39 @@ grow_vertical = 2
|
|||||||
script = ExtResource("1_7hukm")
|
script = ExtResource("1_7hukm")
|
||||||
radial_stamina = true
|
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="."]
|
[node name="LeftMargin" type="MarginContainer" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 2
|
anchors_preset = 2
|
||||||
@@ -44,40 +82,6 @@ theme_override_constants/margin_bottom = 50
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 10
|
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="."]
|
[node name="StaminaBar2" type="ProgressBar" parent="."]
|
||||||
custom_minimum_size = Vector2(30, 10)
|
custom_minimum_size = Vector2(30, 10)
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
@@ -114,6 +118,24 @@ grow_horizontal = 2
|
|||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
texture = ExtResource("3_tmj0x")
|
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="."]
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 3
|
anchors_preset = 3
|
||||||
@@ -140,7 +162,7 @@ theme_override_constants/separation = 10
|
|||||||
|
|
||||||
[node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"]
|
[node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = ExtResource("1_22trs")
|
theme = ExtResource("2_eqnx7")
|
||||||
theme_type_variation = &"TextShadow"
|
theme_type_variation = &"TextShadow"
|
||||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||||
text = "Gun Name"
|
text = "Gun Name"
|
||||||
@@ -148,7 +170,7 @@ horizontal_alignment = 2
|
|||||||
|
|
||||||
[node name="Ammo" type="Label" parent="MarginContainer/VBoxContainer"]
|
[node name="Ammo" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = ExtResource("1_22trs")
|
theme = ExtResource("2_eqnx7")
|
||||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||||
text = "XX - XX"
|
text = "XX - XX"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ var interact_visible : bool = false
|
|||||||
@onready var player = level_control.player
|
@onready var player = level_control.player
|
||||||
@onready var stamina_bar: TextureProgressBar = $StaminaBar
|
@onready var stamina_bar: TextureProgressBar = $StaminaBar
|
||||||
@onready var stamina_bar_2: ProgressBar = $StaminaBar2
|
@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 gun_name: Label = $"MarginContainer/VBoxContainer/Gun Name"
|
||||||
@onready var ammo: Label = $MarginContainer/VBoxContainer/Ammo
|
@onready var ammo: Label = $MarginContainer/VBoxContainer/Ammo
|
||||||
@onready var money: Label = $LeftMargin/VBoxContainer/Money
|
@onready var money: Label = $Money
|
||||||
@onready var crosshair: TextureRect = $Crosshair
|
@onready var crosshair: TextureRect = $Crosshair
|
||||||
|
|
||||||
const FULL_WHITE = Color(1, 1, 1, 1)
|
const FULL_WHITE = Color(1, 1, 1, 1)
|
||||||
@@ -42,6 +42,7 @@ func _process(delta: float) -> void:
|
|||||||
health_bar.value = level_control.health
|
health_bar.value = level_control.health
|
||||||
if level_control.health <= 2:
|
if level_control.health <= 2:
|
||||||
change_color(health_bar,RED_COLOR,10,delta)
|
change_color(health_bar,RED_COLOR,10,delta)
|
||||||
|
health_bar.position += wiggle_element()
|
||||||
else:
|
else:
|
||||||
change_color(health_bar,FULL_WHITE,10,delta)
|
change_color(health_bar,FULL_WHITE,10,delta)
|
||||||
#MONEY
|
#MONEY
|
||||||
@@ -83,6 +84,11 @@ func _process(delta: float) -> void:
|
|||||||
## FADE ELEMENTS IN AND OUT
|
## FADE ELEMENTS IN AND OUT
|
||||||
fade_in_out(current_stam_bar,STAM_BAR_MAX_OPACITY,stam_bar_visible,delta)
|
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):
|
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)
|
element.modulate = lerp(element.modulate, Color(color.r,color.g,color.b,element.modulate.a), (delta * speed)/Engine.time_scale)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user