Getting started heregit status!

This commit is contained in:
2024-12-06 10:44:53 -08:00
commit 7b0ae277b9
152 changed files with 14268 additions and 0 deletions
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/ColorfulBlockFont.png-d567b0cc89d56be133c8a9bfabd613b4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/colorful_font/ColorfulBlockFont.png"
dest_files=[ "res://.import/ColorfulBlockFont.png-d567b0cc89d56be133c8a9bfabd613b4.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1,109 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://examples/colorful_font/ColorfulBlockFont.png" type="Texture" id=1]
[ext_resource path="res://examples/colorful_font/colorful_font.tres" type="BitmapFont" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.647059, 0.709804, 0.862745, 1 )
[node name="ColorfulFont" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 8
custom_constants/margin_top = 8
custom_constants/margin_left = 8
custom_constants/margin_bottom = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Example" type="Control" parent="."]
margin_left = 8.0
margin_top = 8.0
margin_right = 1040.0
margin_bottom = 620.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="Example"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Example/VBoxContainer"]
margin_right = 1032.0
margin_bottom = 377.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 5.0
custom_constants/separation = 8
[node name="ColorRect" type="ColorRect" parent="Example/VBoxContainer/HBoxContainer"]
margin_right = 341.0
margin_bottom = 377.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="Example/VBoxContainer/HBoxContainer/ColorRect"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 0
size_flags_vertical = 0
texture = ExtResource( 1 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect2" type="ColorRect" parent="Example/VBoxContainer/HBoxContainer"]
margin_left = 349.0
margin_right = 1032.0
margin_bottom = 377.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Example/VBoxContainer/HBoxContainer/ColorRect2"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
custom_fonts/font = ExtResource( 2 )
text = "This Colorful Font is more Fully-Featured,
than the simple Number Example.
It has 79 different Hand-drawn chars,
and shows off many Features of the
Font-Editor!
(like kerning, and char-settings)
#font #custom_font"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextEdit" type="TextEdit" parent="Example/VBoxContainer"]
margin_top = 385.0
margin_right = 1032.0
margin_bottom = 612.0
size_flags_vertical = 3
size_flags_stretch_ratio = 3.0
custom_styles/normal = SubResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "Type something... "
__meta__ = {
"_edit_use_anchors_": false
}
@@ -0,0 +1,75 @@
[gd_resource type="BitmapFont" load_steps=7 format=2]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFont.gd" type="Script" id=1]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFontSettings.gd" type="Script" id=2]
[ext_resource path="res://examples/colorful_font/ColorfulBlockFont.png" type="Texture" id=3]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFontMapping.gd" type="Script" id=4]
[sub_resource type="Resource" id=1]
script = ExtResource( 2 )
char_settings = {
" ": {
"advance": 8,
"offset": Vector2( 0, 0 )
},
"j": {
"advance": -4,
"offset": Vector2( -4, 8 )
},
"pgqy": {
"advance": 0,
"offset": Vector2( 0, 8 )
}
}
kerning_pairs = [ {
"from": "fFT",
"kerning": 4,
"to": "acdegmnopqrsuvwxyz"
}, {
"from": "gqy",
"kerning": -4,
"to": "j"
} ]
gap = 2
horizontal_align = 1
vertical_align = 0
monospace = false
preview_color = Color( 1, 1, 1, 1 )
preview_chars = "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
the quick brown fox jumps over the lazy dog
0123456789
1+1=2
2*2=4
3/3=1
1/4=25%
9-4=5
some_func(val: String = \"default\");"
[sub_resource type="Resource" id=2]
script = ExtResource( 4 )
source_texture = ExtResource( 3 )
scaled_texture = ExtResource( 3 )
rect_size = Vector2( 32, 32 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "ABCDEFGH
IJKLMNOP
QRSTUVWX
YZ?!=/()
abcdefgh
ijklmnop
qrstuvwx
yz.,_-:\"
01234567
89+*#;% "
[resource]
textures = [ ExtResource( 3 ) ]
chars = PoolIntArray( 32, 0, 256, 288, 0, 32, 1, 0, 10, 80, 0, 232, 32, 17, 32, 1, 0, 19, 112, 0, 233, 160, 15, 32, 1, 8, 17, 48, 0, 8, 256, 17, 32, 1, 0, 19, 49, 0, 43, 256, 10, 32, 1, 0, 12, 65, 0, 7, 0, 18, 32, 1, 0, 20, 81, 0, 7, 64, 20, 32, 1, 0, 22, 33, 0, 110, 96, 6, 32, 1, 0, 8, 97, 0, 8, 128, 17, 32, 1, 0, 19, 113, 0, 9, 192, 15, 32, 1, 8, 17, 50, 0, 72, 256, 17, 32, 1, 0, 19, 66, 0, 39, 0, 19, 32, 1, 0, 21, 82, 0, 40, 64, 18, 32, 1, 0, 20, 98, 0, 40, 128, 16, 32, 1, 0, 18, 114, 0, 40, 192, 13, 32, 1, 0, 15, 34, 0, 234, 224, 12, 32, 1, 0, 14, 35, 0, 136, 288, 17, 32, 1, 0, 19, 51, 0, 104, 256, 17, 32, 1, 0, 19, 67, 0, 71, 0, 18, 32, 1, 0, 20, 83, 0, 71, 64, 18, 32, 1, 0, 20, 99, 0, 72, 128, 13, 32, 1, 0, 15, 115, 0, 73, 192, 13, 32, 1, 0, 15, 52, 0, 136, 256, 16, 32, 1, 0, 18, 68, 0, 103, 0, 19, 32, 1, 0, 21, 84, 0, 102, 64, 20, 32, 1, 0, 22, 100, 0, 104, 128, 17, 32, 1, 0, 19, 116, 0, 107, 192, 9, 32, 1, 0, 11, 37, 0, 198, 288, 22, 32, 1, 0, 24, 53, 0, 168, 256, 17, 32, 1, 0, 19, 69, 0, 135, 0, 19, 32, 1, 0, 21, 85, 0, 135, 64, 19, 32, 1, 0, 21, 101, 0, 137, 128, 14, 32, 1, 0, 16, 117, 0, 136, 192, 16, 32, 1, 0, 18, 54, 0, 200, 256, 17, 32, 1, 0, 19, 70, 0, 167, 0, 18, 32, 1, 0, 20, 86, 0, 166, 64, 21, 32, 1, 0, 23, 102, 0, 170, 128, 13, 32, 1, 0, 15, 118, 0, 168, 192, 16, 32, 1, 0, 18, 55, 0, 232, 256, 17, 32, 1, 0, 19, 71, 0, 199, 0, 18, 32, 1, 0, 20, 87, 0, 194, 64, 29, 32, 1, 0, 31, 103, 0, 200, 128, 16, 32, 1, 8, 18, 119, 0, 197, 192, 22, 32, 1, 0, 24, 56, 0, 8, 288, 17, 32, 1, 0, 19, 72, 0, 231, 0, 18, 32, 1, 0, 20, 88, 0, 231, 64, 19, 32, 1, 0, 21, 40, 0, 202, 96, 9, 32, 1, 0, 11, 104, 0, 233, 128, 15, 32, 1, 0, 17, 120, 0, 232, 192, 16, 32, 1, 0, 18, 57, 0, 40, 288, 17, 32, 1, 0, 19, 73, 0, 11, 32, 10, 32, 1, 0, 12, 89, 0, 7, 96, 19, 32, 1, 0, 21, 41, 0, 235, 96, 9, 32, 1, 0, 11, 105, 0, 13, 160, 6, 32, 1, 0, 8, 121, 0, 9, 224, 14, 32, 1, 8, 16, 42, 0, 107, 288, 10, 32, 1, 0, 12, 74, 0, 40, 32, 18, 32, 1, 0, 20, 90, 0, 39, 96, 18, 32, 1, 0, 20, 106, 0, 39, 160, 12, 32, -3, 8, 10, 122, 0, 40, 224, 13, 32, 1, 0, 15, 58, 0, 205, 224, 6, 32, 1, 0, 8, 59, 0, 173, 288, 6, 32, 1, 0, 8, 43, 0, 73, 288, 15, 32, 1, 0, 17, 75, 0, 71, 32, 19, 32, 1, 0, 21, 107, 0, 73, 160, 15, 32, 1, 0, 17, 76, 0, 103, 32, 18, 32, 1, 0, 20, 108, 0, 105, 160, 11, 32, 1, 0, 13, 44, 0, 109, 224, 6, 32, 1, 0, 8, 77, 0, 133, 32, 23, 32, 1, 0, 25, 61, 0, 138, 96, 13, 32, 1, 0, 15, 109, 0, 133, 160, 22, 32, 1, 0, 24, 45, 0, 170, 224, 13, 32, 1, 0, 15, 78, 0, 167, 32, 18, 32, 1, 0, 20, 110, 0, 168, 160, 16, 32, 1, 0, 18, 46, 0, 77, 224, 6, 32, 1, 0, 8, 79, 0, 199, 32, 19, 32, 1, 0, 21, 63, 0, 76, 96, 12, 32, 1, 0, 14, 47, 0, 170, 96, 13, 32, 1, 0, 15, 111, 0, 200, 160, 15, 32, 1, 0, 17, 95, 0, 136, 224, 17, 32, 1, 0, 19 )
kernings = PoolIntArray( 70, 97, 4, 84, 97, 4, 102, 97, 4, 70, 99, 4, 84, 99, 4, 102, 99, 4, 70, 100, 4, 84, 100, 4, 102, 100, 4, 70, 101, 4, 84, 101, 4, 102, 101, 4, 70, 103, 4, 84, 103, 4, 102, 103, 4, 103, 106, -4, 113, 106, -4, 121, 106, -4, 70, 109, 4, 84, 109, 4, 102, 109, 4, 70, 110, 4, 84, 110, 4, 102, 110, 4, 70, 111, 4, 84, 111, 4, 102, 111, 4, 70, 112, 4, 84, 112, 4, 102, 112, 4, 70, 113, 4, 84, 113, 4, 102, 113, 4, 70, 114, 4, 84, 114, 4, 102, 114, 4, 70, 115, 4, 84, 115, 4, 102, 115, 4, 70, 117, 4, 84, 117, 4, 102, 117, 4, 70, 118, 4, 84, 118, 4, 102, 118, 4, 70, 119, 4, 84, 119, 4, 102, 119, 4, 70, 120, 4, 84, 120, 4, 102, 120, 4, 70, 121, 4, 84, 121, 4, 102, 121, 4, 70, 122, 4, 84, 122, 4, 102, 122, 4 )
height = 34.0
script = ExtResource( 1 )
texture_mappings = [ SubResource( 2 ) ]
font_settings = SubResource( 1 )
@@ -0,0 +1,191 @@
info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=1,1 outline=0
common lineHeight=32 base=0 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="ArialLatin_0.png"
chars count=95
char id=32 x=130 y=47 width=5 height=3 xoffset=-2 yoffset=30 xadvance=8 page=0 chnl=15
char id=33 x=246 y=69 width=6 height=22 xoffset=1 yoffset=5 xadvance=8 page=0 chnl=15
char id=34 x=163 y=111 width=12 height=9 xoffset=-1 yoffset=5 xadvance=10 page=0 chnl=15
char id=35 x=60 y=51 width=18 height=22 xoffset=-2 yoffset=5 xadvance=15 page=0 chnl=15
char id=36 x=112 y=0 width=17 height=25 xoffset=-1 yoffset=4 xadvance=15 page=0 chnl=15
char id=37 x=185 y=0 width=24 height=22 xoffset=0 yoffset=5 xadvance=24 page=0 chnl=15
char id=38 x=192 y=23 width=19 height=22 xoffset=0 yoffset=5 xadvance=18 page=0 chnl=15
char id=39 x=176 y=111 width=7 height=9 xoffset=-1 yoffset=5 xadvance=5 page=0 chnl=15
char id=40 x=53 y=0 width=10 height=27 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=15
char id=41 x=64 y=0 width=10 height=27 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=15
char id=42 x=149 y=115 width=13 height=10 xoffset=-1 yoffset=5 xadvance=11 page=0 chnl=15
char id=43 x=100 y=115 width=16 height=14 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=44 x=184 y=111 width=6 height=8 xoffset=1 yoffset=23 xadvance=8 page=0 chnl=15
char id=45 x=239 y=110 width=11 height=4 xoffset=-1 yoffset=17 xadvance=9 page=0 chnl=15
char id=46 x=100 y=130 width=6 height=4 xoffset=1 yoffset=23 xadvance=8 page=0 chnl=15
char id=47 x=0 y=98 width=12 height=22 xoffset=-2 yoffset=5 xadvance=8 page=0 chnl=15
char id=48 x=102 y=74 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=49 x=26 y=98 width=11 height=22 xoffset=1 yoffset=5 xadvance=15 page=0 chnl=15
char id=50 x=0 y=75 width=16 height=22 xoffset=-1 yoffset=5 xadvance=15 page=0 chnl=15
char id=51 x=230 y=69 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=52 x=68 y=74 width=16 height=22 xoffset=-1 yoffset=5 xadvance=15 page=0 chnl=15
char id=53 x=182 y=69 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=54 x=85 y=74 width=16 height=22 xoffset=-1 yoffset=5 xadvance=15 page=0 chnl=15
char id=55 x=150 y=70 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=56 x=134 y=74 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=57 x=118 y=74 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=58 x=59 y=121 width=6 height=17 xoffset=1 yoffset=10 xadvance=8 page=0 chnl=15
char id=59 x=82 y=97 width=6 height=21 xoffset=1 yoffset=10 xadvance=8 page=0 chnl=15
char id=60 x=83 y=119 width=16 height=15 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=61 x=132 y=115 width=16 height=10 xoffset=0 yoffset=11 xadvance=16 page=0 chnl=15
char id=62 x=66 y=121 width=16 height=15 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=63 x=214 y=69 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=64 x=0 y=0 width=28 height=28 xoffset=0 yoffset=5 xadvance=27 page=0 chnl=15
char id=65 x=66 y=28 width=21 height=22 xoffset=-2 yoffset=5 xadvance=18 page=0 chnl=15
char id=66 x=79 y=51 width=18 height=22 xoffset=0 yoffset=5 xadvance=18 page=0 chnl=15
char id=67 x=22 y=29 width=21 height=22 xoffset=0 yoffset=5 xadvance=20 page=0 chnl=15
char id=68 x=212 y=23 width=19 height=22 xoffset=1 yoffset=5 xadvance=20 page=0 chnl=15
char id=69 x=117 y=51 width=18 height=22 xoffset=0 yoffset=5 xadvance=18 page=0 chnl=15
char id=70 x=155 y=47 width=17 height=22 xoffset=1 yoffset=5 xadvance=17 page=0 chnl=15
char id=71 x=0 y=29 width=21 height=22 xoffset=0 yoffset=5 xadvance=21 page=0 chnl=15
char id=72 x=232 y=23 width=19 height=22 xoffset=0 yoffset=5 xadvance=19 page=0 chnl=15
char id=73 x=75 y=97 width=6 height=22 xoffset=1 yoffset=5 xadvance=8 page=0 chnl=15
char id=74 x=241 y=46 width=14 height=22 xoffset=-1 yoffset=5 xadvance=13 page=0 chnl=15
char id=75 x=109 y=28 width=20 height=22 xoffset=0 yoffset=5 xadvance=18 page=0 chnl=15
char id=76 x=173 y=46 width=16 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=77 x=210 y=0 width=22 height=22 xoffset=0 yoffset=5 xadvance=23 page=0 chnl=15
char id=78 x=20 y=52 width=19 height=22 xoffset=0 yoffset=5 xadvance=19 page=0 chnl=15
char id=79 x=233 y=0 width=22 height=22 xoffset=0 yoffset=5 xadvance=21 page=0 chnl=15
char id=80 x=136 y=47 width=18 height=22 xoffset=0 yoffset=5 xadvance=17 page=0 chnl=15
char id=81 x=130 y=0 width=23 height=23 xoffset=-1 yoffset=5 xadvance=21 page=0 chnl=15
char id=82 x=151 y=24 width=20 height=22 xoffset=1 yoffset=5 xadvance=20 page=0 chnl=15
char id=83 x=0 y=52 width=19 height=22 xoffset=-1 yoffset=5 xadvance=18 page=0 chnl=15
char id=84 x=98 y=51 width=18 height=22 xoffset=-1 yoffset=5 xadvance=16 page=0 chnl=15
char id=85 x=40 y=52 width=19 height=22 xoffset=0 yoffset=5 xadvance=19 page=0 chnl=15
char id=86 x=44 y=28 width=21 height=22 xoffset=-2 yoffset=5 xadvance=17 page=0 chnl=15
char id=87 x=154 y=0 width=30 height=22 xoffset=-1 yoffset=5 xadvance=28 page=0 chnl=15
char id=88 x=130 y=24 width=20 height=22 xoffset=-2 yoffset=5 xadvance=17 page=0 chnl=15
char id=89 x=88 y=28 width=20 height=22 xoffset=-1 yoffset=5 xadvance=18 page=0 chnl=15
char id=90 x=172 y=23 width=19 height=22 xoffset=-1 yoffset=5 xadvance=17 page=0 chnl=15
char id=91 x=95 y=0 width=9 height=27 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=15
char id=92 x=38 y=98 width=11 height=22 xoffset=-2 yoffset=5 xadvance=8 page=0 chnl=15
char id=93 x=85 y=0 width=9 height=27 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=15
char id=94 x=117 y=115 width=14 height=12 xoffset=-1 yoffset=5 xadvance=12 page=0 chnl=15
char id=95 x=219 y=110 width=19 height=4 xoffset=-2 yoffset=28 xadvance=15 page=0 chnl=15
char id=96 x=210 y=110 width=8 height=6 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=15
char id=97 x=188 y=92 width=16 height=17 xoffset=-1 yoffset=10 xadvance=15 page=0 chnl=15
char id=98 x=190 y=46 width=16 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=99 x=0 y=121 width=15 height=17 xoffset=-1 yoffset=10 xadvance=14 page=0 chnl=15
char id=100 x=207 y=46 width=16 height=22 xoffset=-1 yoffset=5 xadvance=15 page=0 chnl=15
char id=101 x=135 y=97 width=17 height=17 xoffset=-1 yoffset=10 xadvance=15 page=0 chnl=15
char id=102 x=13 y=98 width=12 height=22 xoffset=-2 yoffset=5 xadvance=7 page=0 chnl=15
char id=103 x=224 y=46 width=16 height=22 xoffset=-1 yoffset=10 xadvance=15 page=0 chnl=15
char id=104 x=166 y=70 width=15 height=22 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15
char id=105 x=61 y=98 width=6 height=22 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=15
char id=106 x=75 y=0 width=9 height=27 xoffset=-3 yoffset=5 xadvance=6 page=0 chnl=15
char id=107 x=198 y=69 width=15 height=22 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=15
char id=108 x=68 y=97 width=6 height=22 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=15
char id=109 x=89 y=97 width=22 height=17 xoffset=0 yoffset=10 xadvance=22 page=0 chnl=15
char id=110 x=205 y=92 width=15 height=17 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=111 x=153 y=93 width=17 height=17 xoffset=-1 yoffset=10 xadvance=15 page=0 chnl=15
char id=112 x=17 y=75 width=16 height=22 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=113 x=34 y=75 width=16 height=22 xoffset=-1 yoffset=10 xadvance=15 page=0 chnl=15
char id=114 x=47 y=121 width=11 height=17 xoffset=0 yoffset=10 xadvance=9 page=0 chnl=15
char id=115 x=171 y=93 width=16 height=17 xoffset=-1 yoffset=10 xadvance=14 page=0 chnl=15
char id=116 x=50 y=98 width=10 height=22 xoffset=-1 yoffset=5 xadvance=8 page=0 chnl=15
char id=117 x=221 y=92 width=15 height=17 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=118 x=237 y=92 width=15 height=17 xoffset=-1 yoffset=10 xadvance=13 page=0 chnl=15
char id=119 x=112 y=97 width=22 height=17 xoffset=-2 yoffset=10 xadvance=19 page=0 chnl=15
char id=120 x=32 y=121 width=14 height=17 xoffset=-1 yoffset=10 xadvance=12 page=0 chnl=15
char id=121 x=51 y=75 width=16 height=22 xoffset=-1 yoffset=10 xadvance=14 page=0 chnl=15
char id=122 x=16 y=121 width=15 height=17 xoffset=-1 yoffset=10 xadvance=13 page=0 chnl=15
char id=123 x=41 y=0 width=11 height=27 xoffset=-1 yoffset=5 xadvance=9 page=0 chnl=15
char id=124 x=105 y=0 width=6 height=27 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=15
char id=125 x=29 y=0 width=11 height=27 xoffset=-1 yoffset=5 xadvance=9 page=0 chnl=15
char id=126 x=191 y=110 width=18 height=6 xoffset=-1 yoffset=13 xadvance=16 page=0 chnl=15
kernings count=91
kerning first=32 second=65 amount=-2
kerning first=32 second=84 amount=-1
kerning first=32 second=89 amount=-1
kerning first=121 second=46 amount=-2
kerning first=121 second=44 amount=-2
kerning first=119 second=46 amount=-2
kerning first=119 second=44 amount=-2
kerning first=118 second=46 amount=-2
kerning first=118 second=44 amount=-2
kerning first=114 second=46 amount=-2
kerning first=49 second=49 amount=-2
kerning first=65 second=32 amount=-2
kerning first=65 second=84 amount=-2
kerning first=65 second=86 amount=-2
kerning first=65 second=87 amount=-1
kerning first=65 second=89 amount=-2
kerning first=65 second=118 amount=-1
kerning first=65 second=119 amount=-1
kerning first=65 second=121 amount=-1
kerning first=114 second=44 amount=-2
kerning first=70 second=44 amount=-3
kerning first=70 second=46 amount=-3
kerning first=70 second=65 amount=-2
kerning first=76 second=32 amount=-1
kerning first=76 second=84 amount=-2
kerning first=76 second=86 amount=-2
kerning first=76 second=87 amount=-2
kerning first=76 second=89 amount=-2
kerning first=76 second=121 amount=-1
kerning first=102 second=102 amount=-1
kerning first=80 second=32 amount=-1
kerning first=80 second=44 amount=-4
kerning first=80 second=46 amount=-4
kerning first=80 second=65 amount=-2
kerning first=82 second=84 amount=-1
kerning first=82 second=86 amount=-1
kerning first=82 second=87 amount=-1
kerning first=82 second=89 amount=-1
kerning first=84 second=32 amount=-1
kerning first=84 second=44 amount=-3
kerning first=84 second=45 amount=-2
kerning first=84 second=46 amount=-3
kerning first=84 second=58 amount=-3
kerning first=89 second=118 amount=-2
kerning first=84 second=65 amount=-2
kerning first=84 second=79 amount=-1
kerning first=84 second=97 amount=-3
kerning first=84 second=99 amount=-3
kerning first=84 second=101 amount=-3
kerning first=84 second=105 amount=-1
kerning first=84 second=111 amount=-3
kerning first=84 second=114 amount=-1
kerning first=84 second=115 amount=-3
kerning first=84 second=117 amount=-1
kerning first=84 second=119 amount=-2
kerning first=84 second=121 amount=-2
kerning first=86 second=44 amount=-3
kerning first=86 second=45 amount=-2
kerning first=86 second=46 amount=-3
kerning first=86 second=58 amount=-1
kerning first=89 second=117 amount=-2
kerning first=86 second=65 amount=-2
kerning first=86 second=97 amount=-2
kerning first=86 second=101 amount=-2
kerning first=86 second=105 amount=-1
kerning first=86 second=111 amount=-2
kerning first=86 second=114 amount=-1
kerning first=86 second=117 amount=-1
kerning first=86 second=121 amount=-1
kerning first=87 second=44 amount=-2
kerning first=87 second=45 amount=-1
kerning first=87 second=46 amount=-2
kerning first=87 second=58 amount=-1
kerning first=89 second=113 amount=-3
kerning first=87 second=65 amount=-1
kerning first=87 second=97 amount=-1
kerning first=87 second=101 amount=-1
kerning first=89 second=112 amount=-2
kerning first=87 second=111 amount=-1
kerning first=87 second=114 amount=-1
kerning first=87 second=117 amount=-1
kerning first=89 second=111 amount=-3
kerning first=89 second=32 amount=-1
kerning first=89 second=44 amount=-4
kerning first=89 second=45 amount=-3
kerning first=89 second=46 amount=-4
kerning first=89 second=58 amount=-2
kerning first=89 second=105 amount=-1
kerning first=89 second=65 amount=-2
kerning first=89 second=97 amount=-2
kerning first=89 second=101 amount=-3
Binary file not shown.
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/ArialLatin_0.png-ed0844194d35061046286a6168679690.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/ArialLatin_0.png"
dest_files=[ "res://.import/ArialLatin_0.png-ed0844194d35061046286a6168679690.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1,41 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://examples/emoji/emoji_font.tres" type="BitmapFont" id=1]
[node name="Emoji" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="."]
margin_right = 1048.0
margin_bottom = 628.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
custom_fonts/font = ExtResource( 1 )
text = "☼● This are emojis ◌
Well, only sort of. Godot 3 can only display unicode smybols up to \\U+FFFF; ☺
But we can replace any other unicode symbol, to \"fake\" emojis ○
This font uses a simple ArialLatin BitMap Font as a fallback and overrides
seldomly used characters with \"emojis\" from Twemoji ☼☼☼
If you ♥ emojis, you'll ☻ this feature"
__meta__ = {
"_edit_use_anchors_": false
}
@@ -0,0 +1,112 @@
[gd_resource type="BitmapFont" load_steps=20 format=2]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFont.gd" type="Script" id=1]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFontSettings.gd" type="Script" id=2]
[ext_resource path="res://examples/emoji/emojis/1f60d.svg" type="Texture" id=3]
[ext_resource path="res://addons/texture_fonts/Classes/TextureFontMapping.gd" type="Script" id=4]
[ext_resource path="res://examples/emoji/ArialLatin.fnt" type="BitmapFont" id=5]
[ext_resource path="res://examples/emoji/emojis/1f92f.svg" type="Texture" id=6]
[ext_resource path="res://examples/emoji/emojis/1f448.svg" type="Texture" id=7]
[ext_resource path="res://examples/emoji/emojis/1f62e.svg" type="Texture" id=8]
[ext_resource path="res://examples/emoji/emojis/2764.svg" type="Texture" id=9]
[ext_resource path="res://examples/emoji/emojis/1f525.svg" type="Texture" id=10]
[ext_resource path="res://examples/emoji/emojis/1f622.svg" type="Texture" id=11]
[sub_resource type="Resource" id=1]
script = ExtResource( 2 )
char_settings = {
}
kerning_pairs = [ ]
gap = 2
horizontal_align = 1
vertical_align = 0
monospace = false
preview_color = Color( 0.12549, 0.141176, 0.192157, 1 )
preview_chars = ""
[sub_resource type="Resource" id=2]
script = ExtResource( 4 )
source_texture = ExtResource( 3 )
scaled_texture = ExtResource( 3 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+263b;"
[sub_resource type="Resource" id=3]
script = ExtResource( 4 )
source_texture = ExtResource( 8 )
scaled_texture = ExtResource( 8 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+25cb;"
[sub_resource type="Resource" id=4]
script = ExtResource( 4 )
source_texture = ExtResource( 6 )
scaled_texture = ExtResource( 6 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+25cc;"
[sub_resource type="Resource" id=5]
script = ExtResource( 4 )
source_texture = ExtResource( 7 )
scaled_texture = ExtResource( 7 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+25cf;"
[sub_resource type="Resource" id=6]
script = ExtResource( 4 )
source_texture = ExtResource( 10 )
scaled_texture = ExtResource( 10 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+263c;"
[sub_resource type="Resource" id=7]
script = ExtResource( 4 )
source_texture = ExtResource( 9 )
scaled_texture = ExtResource( 9 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+2665;"
[sub_resource type="Resource" id=8]
script = ExtResource( 4 )
source_texture = ExtResource( 11 )
scaled_texture = ExtResource( 11 )
rect_size = Vector2( 36, 36 )
rect_gap = Vector2( 0, 0 )
texture_offset = Vector2( 0, 0 )
scale = 1
interpolation = 0
chars = "\\U+263a;"
[resource]
textures = [ ExtResource( 3 ), ExtResource( 8 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 10 ), ExtResource( 9 ), ExtResource( 11 ) ]
chars = PoolIntArray( 9786, 6, 0, 0, 36, 36, 1, 0, 38, 9675, 1, 0, 0, 36, 36, 1, 0, 38, 9787, 0, 0, 0, 36, 36, 1, 0, 38, 9788, 4, 1, 0, 34, 36, 1, 0, 36, 9676, 2, 1, 0, 34, 36, 1, 0, 36, 9829, 5, 0, 0, 36, 36, 1, 0, 38, 9679, 3, 0, 0, 36, 36, 1, 0, 38 )
height = 36.0
ascent = 4.0
fallback = ExtResource( 5 )
script = ExtResource( 1 )
texture_mappings = [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ]
font_settings = SubResource( 1 )
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFDC5D" d="M20.145 31s-2.436-.167-3.068-1.792c-.646-1.659.622-2.309.622-2.309s-1.914.059-2.622-1.941c-.668-1.885.958-2.75.958-2.75s-1.871-.307-2.417-2.292C13.158 18.245 14.784 17 14.784 17H2.576C1.617 17 .001 16.458 0 14.457-.002 12.457 1.659 12 2.576 12h20.5c1 0 1-1 0-1H20.41c-3.792 0-6.143-2.038-6.792-2.751-.65-.713-.98-1.667-.734-2.82.415-1.956 1.92-1.529 3.197-.975 3.078 1.337 7.464 2.254 9.538 2.533 5.858.791 10.375 5.809 10.381 11.884.004 6.626-5.298 12.124-11.924 12.129h-3.931z"/></svg>

After

Width:  |  Height:  |  Size: 571 B

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f448.svg-a8b0fe752e696ea28ffb5fc32e130e9e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f448.svg"
dest_files=[ "res://.import/1f448.svg-a8b0fe752e696ea28ffb5fc32e130e9e.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#F4900C" d="M35 19c0-2.062-.367-4.039-1.04-5.868-.46 5.389-3.333 8.157-6.335 6.868-2.812-1.208-.917-5.917-.777-8.164.236-3.809-.012-8.169-6.931-11.794 2.875 5.5.333 8.917-2.333 9.125-2.958.231-5.667-2.542-4.667-7.042-3.238 2.386-3.332 6.402-2.333 9 1.042 2.708-.042 4.958-2.583 5.208-2.84.28-4.418-3.041-2.963-8.333C2.52 10.965 1 14.805 1 19c0 9.389 7.611 17 17 17s17-7.611 17-17z"/><path fill="#FFCC4D" d="M28.394 23.999c.148 3.084-2.561 4.293-4.019 3.709-2.106-.843-1.541-2.291-2.083-5.291s-2.625-5.083-5.708-6c2.25 6.333-1.247 8.667-3.08 9.084-1.872.426-3.753-.001-3.968-4.007C7.352 23.668 6 26.676 6 30c0 .368.023.73.055 1.09C9.125 34.124 13.342 36 18 36s8.875-1.876 11.945-4.91c.032-.36.055-.722.055-1.09 0-2.187-.584-4.236-1.606-6.001z"/></svg>

After

Width:  |  Height:  |  Size: 822 B

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f525.svg-247568a919ac840fa25984353acd1841.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f525.svg"
dest_files=[ "res://.import/1f525.svg-247568a919ac840fa25984353acd1841.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"/><path fill="#664500" d="M18 21.849c-2.966 0-4.935-.346-7.369-.819-.557-.106-1.638 0-1.638 1.638 0 3.275 3.763 7.369 9.007 7.369s9.007-4.094 9.007-7.369c0-1.638-1.082-1.745-1.638-1.638-2.434.473-4.402.819-7.369.819"/><path fill="#DD2E44" d="M16.65 3.281C15.791.85 13.126-.426 10.694.431c-1.476.52-2.521 1.711-2.928 3.104-1.191-.829-2.751-1.1-4.225-.58C1.111 3.813-.167 6.48.692 8.911c.122.344.284.663.472.958 1.951 3.582 7.588 6.1 11.001 6.131 2.637-2.167 5.446-7.665 4.718-11.677-.038-.348-.113-.698-.233-1.042zm2.7 0C20.209.85 22.875-.426 25.306.431c1.476.52 2.521 1.711 2.929 3.104 1.191-.829 2.751-1.1 4.225-.58 2.43.858 3.707 3.525 2.85 5.956-.123.344-.284.663-.473.958-1.951 3.582-7.588 6.1-11.002 6.131-2.637-2.167-5.445-7.665-4.717-11.677.037-.348.112-.698.232-1.042z"/></svg>

After

Width:  |  Height:  |  Size: 941 B

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f60d.svg-3ccd458245425e9cf777e56b5f46dbc8.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f60d.svg"
dest_files=[ "res://.import/1f60d.svg-3ccd458245425e9cf777e56b5f46dbc8.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="17" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24.5" cy="17" rx="2.5" ry="3.5"/><path fill="#664500" d="M5.999 13.5c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4 3.262-4.35 7.616-4.4 7.8-4.4.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.641-3.521-6.061-3.599-6.206-3.6-.55-.006-.994-.456-.991-1.005.003-.551.447-.995.997-.995.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-6.516 14.879C23.474 28.335 22.34 24 18 24s-5.474 4.335-5.485 4.379c-.053.213.044.431.232.544.188.112.433.086.596-.06C13.352 28.855 14.356 28 18 28c3.59 0 4.617.83 4.656.863.095.09.219.137.344.137.084 0 .169-.021.246-.064.196-.112.294-.339.239-.557z"/><path fill="#5DADEC" d="M16 31c0 2.762-2.238 5-5 5s-5-2.238-5-5 4-10 5-10 5 7.238 5 10z"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f622.svg-bdc8a3fdf5a630d3ffb6209ccd7cb7ad.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f622.svg"
dest_files=[ "res://.import/1f622.svg-bdc8a3fdf5a630d3ffb6209ccd7cb7ad.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"/><ellipse fill="#664500" cx="18" cy="25" rx="4" ry="5"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/></svg>

After

Width:  |  Height:  |  Size: 341 B

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f62e.svg-e44150e8f375ccf49ee6f0191a5e2da3.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f62e.svg"
dest_files=[ "res://.import/1f62e.svg-e44150e8f375ccf49ee6f0191a5e2da3.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCB4C" d="M35 18.619c0-3.794-3.075-6.869-6.869-6.869-.979 0-2.752.578-2.752.578l-13.126 1.384s-2.717-1.581-4.383-1.581C4.075 12.131 1 15.206 1 19c0 .237.012.471.035.702C1.406 28.763 8.849 36 18 36c9.389 0 17-7.611 17-17 0-.052-.009-.101-.012-.153.003-.076.012-.151.012-.228z"/><path fill="#F19020" d="M30.126 13.751c-.941-.244-1.009.386-2.202.246-1.168-.137.429-.739-.195-1.092-.21-.119-.511-.144-.882-.098-1.052.129-16.954.544-17.547.83-.527.254-.839.548-1.318.101-.603-.562-1.466-.238-1.716-.051-.322.242-.389.722.234 1.277.621.42 1.673.859 3.465 1.159.197.033.365.046.522.052 1.227.041 1.397-1.67 3.13-1.716 1.136-.03 11.153 1.07 11.978.958.101-.014.207-.024.329-.024 1.563 0 1.926 1.45 3.589.316.705-.573 1.811-1.648.613-1.958z"/><path fill="#F36C24" d="M5.938 9.115c1.523 1.527 2.604 3.145 3.362 4.523.566 1.029.956 1.929 1.187 2.538 1.227.041 1.397-.67 3.13-.716 1.136-.03 1.783.769 2.623 1.229 1.502.822 2.569-.73 3.719-.73.85 0 2.219 1.207 3.176.764 1.387-.643 1.635-1.191 2.46-1.304.322-.791.741-1.696 1.252-2.609.74-1.324 1.678-2.665 2.841-3.693H5.938z"/><path fill="#CE5C1F" d="M29.306 9.435c1.281-1.263-23.039.016-22.341.788.988 1.094 2.2 3.153 2.2 3.153s4.757 2.405 8.351-.626c2.5 1.5 6 .969 7.562-1.609 0 0 1.217.453 2.451.531 0 0 .953-1.425 1.777-2.237z"/><ellipse fill="#65471B" cx="18" cy="28.638" rx="4.332" ry="4.95"/><path fill="#65471B" d="M14 20.606c0 1.473-.896 2.667-2 2.667-1.105 0-2-1.194-2-2.667 0-1.473.895-2.667 2-2.667 1.104 0 2 1.194 2 2.667zm12-.001c0 1.473-.895 2.667-2 2.667s-2-1.194-2-2.667c0-1.472.896-2.667 2-2.667 1.105.001 2 1.195 2 2.667z"/><path fill="#CCD6DD" d="M31.125 3.725c-.24 0-.467.045-.686.109-.688-.845-1.723-1.396-2.898-1.396-.087 0-.169.02-.255.026-.734-.827-1.794-1.359-2.987-1.359-1.505 0-2.8.839-3.486 2.066-.346-.798-1.139-1.357-2.064-1.357-.718 0-1.349.342-1.761.865C16.48 1.209 15.1.147 13.458.147c-1.323 0-2.48.689-3.148 1.723-.184-.029-.368-.058-.56-.058-1.432 0-2.661.812-3.293 1.992-.203-.038-.41-.063-.624-.063-1.864 0-3.375 1.511-3.375 3.375s1.511 3.375 3.375 3.375c.588 0 1.135-.159 1.614-.425.376.282.838.456 1.345.456.145 0 .285-.016.422-.043.855 1.379 2.367 2.303 4.109 2.303 1.709 0 3.206-.885 4.073-2.217.72.882 1.802 1.457 3.029 1.457 1.815 0 3.327-1.238 3.776-2.911.034.001.065.01.099.01.283 0 .559-.031.826-.087.654.556 1.491.904 2.417.904 1.174 0 2.21-.551 2.897-1.396.219.064.446.109.686.109 1.36 0 2.463-1.103 2.463-2.463s-1.104-2.463-2.464-2.463z"/><circle fill="#E1E8ED" cx="27.795" cy="5.767" r="2.121"/><path fill="#E1E8ED" d="M19.876 5.903c0-1.193-.967-2.161-2.16-2.161-.368 0-.71.101-1.013.263-.251-.601-.844-1.024-1.537-1.024-.567 0-1.067.285-1.368.718-.67-.623-1.561-1.013-2.548-1.013-1.755 0-3.216 1.21-3.625 2.838-.365-.367-.87-.595-1.429-.595-1.111 0-2.012.901-2.012 2.012s.901 2.012 2.012 2.012c.703 0 1.319-.361 1.679-.907.517 1.081 1.529 1.873 2.749 2.079.39.67 1.107 1.125 1.938 1.125 1.074 0 1.969-.754 2.193-1.76.324.18.691.292 1.087.292 1.07 0 1.962-.749 2.19-1.75 1.042-.155 1.844-1.044 1.844-2.129z"/></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/1f92f.svg-513c3e7a70a2a49ea5095516e27d3f5f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/1f92f.svg"
dest_files=[ "res://.import/1f92f.svg-513c3e7a70a2a49ea5095516e27d3f5f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#DD2E44" d="M35.885 11.833c0-5.45-4.418-9.868-9.867-9.868-3.308 0-6.227 1.633-8.018 4.129-1.791-2.496-4.71-4.129-8.017-4.129-5.45 0-9.868 4.417-9.868 9.868 0 .772.098 1.52.266 2.241C1.751 22.587 11.216 31.568 18 34.034c6.783-2.466 16.249-11.447 17.617-19.959.17-.721.268-1.469.268-2.242z"/></svg>

After

Width:  |  Height:  |  Size: 368 B

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/2764.svg-9145c72aa2a8a3e4e393620c2c61d72f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/emoji/emojis/2764.svg"
dest_files=[ "res://.import/2764.svg-9145c72aa2a8a3e4e393620c2c61d72f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1,36 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://examples/numbers/Numbers.tscn" type="PackedScene" id=1]
[ext_resource path="res://examples/colorful_font/ColorfulFont.tscn" type="PackedScene" id=2]
[ext_resource path="res://examples/emoji/emoji.tscn" type="PackedScene" id=3]
[node name="Showcase" type="TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Numbers" parent="." instance=ExtResource( 1 )]
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="ColorfulFont" parent="." instance=ExtResource( 2 )]
visible = false
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="Emoji" parent="." instance=ExtResource( 3 )]
visible = false
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
Binary file not shown.
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/CostFontSheet.png-3e8fa87667ed5ec3b2cb48c7957a96f9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/numbers/CostFontSheet.png"
dest_files=[ "res://.import/CostFontSheet.png-3e8fa87667ed5ec3b2cb48c7957a96f9.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -0,0 +1,142 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://examples/numbers/CostFontSheet.png" type="Texture" id=1]
[ext_resource path="res://examples/numbers/cost_font.tres" type="BitmapFont" id=2]
[node name="Numbers" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 8
custom_constants/margin_top = 8
custom_constants/margin_left = 8
custom_constants/margin_bottom = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Example" type="Control" parent="."]
margin_left = 8.0
margin_top = 8.0
margin_right = 1040.0
margin_bottom = 620.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="Example"]
margin_right = 401.0
margin_bottom = 48.0
text = "Number Font made to display the cost of cards in a card-game.
It is monospaced for easier alignment.
Source Texture:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="Example"]
margin_top = 93.0
margin_right = 122.0
margin_bottom = 105.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="Example/ColorRect"]
margin_right = 122.0
margin_bottom = 12.0
texture = ExtResource( 1 )
[node name="Card" type="ColorRect" parent="Example"]
margin_left = 45.123
margin_top = 256.287
margin_right = 192.123
margin_bottom = 462.287
rect_rotation = -15.0
color = Color( 0.94902, 0.305882, 0.305882, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Example/Card"]
margin_right = 40.0
margin_bottom = 34.0
custom_fonts/font = ExtResource( 2 )
text = "1"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Card2" type="ColorRect" parent="Example"]
margin_left = 144.825
margin_top = 197.597
margin_right = 291.825
margin_bottom = 403.597
color = Color( 0.305882, 0.435294, 0.94902, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Example/Card2"]
margin_right = 40.0
margin_bottom = 34.0
custom_fonts/font = ExtResource( 2 )
text = "2"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Card3" type="ColorRect" parent="Example"]
margin_left = 267.155
margin_top = 225.174
margin_right = 414.155
margin_bottom = 431.174
rect_rotation = 15.0
color = Color( 0.305882, 0.94902, 0.435294, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Example/Card3"]
margin_right = 40.0
margin_bottom = 40.0
custom_fonts/font = ExtResource( 2 )
text = "3"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="Example"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -486.0
margin_top = 234.0
margin_bottom = 342.0
text = "The font uses the built in texture up-sacling set to nearest.
The up-scaler keeps the textures import flags,
regardless of the up-scaling method used.
This allows the font to be filterd, yet keep a pixel-art look."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect2" type="ColorRect" parent="Example"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -480.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Example/ColorRect2"]
margin_right = 480.0
margin_bottom = 40.0
custom_fonts/font = ExtResource( 2 )
text = "01234567890%"
__meta__ = {
"_edit_use_anchors_": false
}
File diff suppressed because one or more lines are too long