pandemonium_demo_projects/gui/sdf_font/sdf_font_demo.tscn

73 lines
1.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://font.font" type="BitmapFont" id=1]
[sub_resource type="Animation" id=1]
length = 15.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 15 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, -360.0 ]
}
[sub_resource type="Animation" id=2]
length = 10.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 5 ),
"transitions": PoolRealArray( -2, -2 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 7, 7 ) ]
}
[node name="SDFFontDemo" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Base" type="Control" parent="."]
margin_left = 512.0
margin_top = 300.0
margin_right = 512.0
margin_bottom = 300.0
[node name="Rotate" type="AnimationPlayer" parent="Base"]
autoplay = "rotate"
anims/rotate = SubResource( 1 )
anims/zoomin_zoomout = SubResource( 2 )
[node name="Zoom" type="AnimationPlayer" parent="Base"]
autoplay = "zoomin_zoomout"
anims/zoomin_zoomout = SubResource( 2 )
[node name="TextLabel" type="Label" parent="Base"]
margin_left = -128.0
margin_top = -50.0
margin_right = 128.0
margin_bottom = 51.0
custom_colors/font_color = Color( 0.853858, 0.771714, 0.753746, 1 )
custom_colors/font_color_shadow = Color( 0.56592, 0.454525, 0.518426, 1 )
custom_fonts/font = ExtResource( 1 )
text = "Signed Distance
Field Font!!"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}