fixed fontsize

This commit is contained in:
incredibleLeitman 2020-01-26 00:56:33 +01:00
parent 588167dbae
commit b126e6aaab
2 changed files with 15 additions and 11 deletions

View File

@ -3,6 +3,6 @@
[ext_resource path="res://Resources/Fonts/Beon-Regular.otf" type="DynamicFontData" id=1] [ext_resource path="res://Resources/Fonts/Beon-Regular.otf" type="DynamicFontData" id=1]
[resource] [resource]
size = 180 size = 20
use_filter = true use_filter = true
font_data = ExtResource( 1 ) font_data = ExtResource( 1 )

View File

@ -1,17 +1,20 @@
[gd_scene load_steps=8 format=2] [gd_scene load_steps=8 format=2]
[ext_resource path="res://Resources/Fonts/MainFont.tres" type="DynamicFont" id=1] [ext_resource path="res://Resources/Fonts/Beon-Regular.otf" type="DynamicFontData" id=1]
[ext_resource path="res://Resources/Fonts/Beon-Regular.otf" type="DynamicFontData" id=2] [ext_resource path="res://UI/PlayButton.gd" type="Script" id=2]
[ext_resource path="res://UI/PlayButton.gd" type="Script" id=3] [ext_resource path="res://UI/ExitButton.gd" type="Script" id=3]
[ext_resource path="res://UI/ExitButton.gd" type="Script" id=4]
[sub_resource type="DynamicFont" id=4]
size = 180
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
size = 32 size = 32
font_data = ExtResource( 2 ) font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2] [sub_resource type="DynamicFont" id=2]
size = 32 size = 32
font_data = ExtResource( 2 ) font_data = ExtResource( 1 )
[sub_resource type="Animation" id=3] [sub_resource type="Animation" id=3]
resource_name = "Text" resource_name = "Text"
@ -80,9 +83,10 @@ margin_bottom = 400.0
[node name="GameTitle" type="Label" parent="."] [node name="GameTitle" type="Label" parent="."]
margin_left = 1.0 margin_left = 1.0
margin_top = -1.16635
margin_right = 1025.0 margin_right = 1025.0
margin_bottom = 400.0 margin_bottom = 398.834
custom_fonts/font = ExtResource( 1 ) custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 1, 1, 1, 1 ) custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_shadow = Color( 1, 0, 0, 1 ) custom_colors/font_color_shadow = Color( 1, 0, 0, 1 )
custom_constants/shadow_offset_x = 4 custom_constants/shadow_offset_x = 4
@ -112,7 +116,7 @@ custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.980392, 0.839216, 0.619608, 1 ) custom_colors/font_color_hover = Color( 0.980392, 0.839216, 0.619608, 1 )
text = "Embark" text = "Embark"
flat = true flat = true
script = ExtResource( 3 ) script = ExtResource( 2 )
[node name="ExitButton" type="Button" parent="."] [node name="ExitButton" type="Button" parent="."]
margin_left = 380.0 margin_left = 380.0
@ -123,7 +127,7 @@ custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 1, 1, 1, 1 ) custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Disembark" text = "Disembark"
flat = true flat = true
script = ExtResource( 4 ) script = ExtResource( 3 )
[node name="AnimateForeground" type="AnimationPlayer" parent="."] [node name="AnimateForeground" type="AnimationPlayer" parent="."]
autoplay = "Text" autoplay = "Text"