Getting started heregit status!
This commit is contained in:
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
Reference in New Issue
Block a user