Use fonts for main menu
This commit is contained in:
+28
-12
@@ -1,7 +1,8 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://scenes/main.gd" type="Script" id=1]
|
[ext_resource path="res://scenes/main.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://icon.png" type="Texture" id=2]
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://assets/fonts/MKXTitle.tres" type="DynamicFont" id=3]
|
||||||
|
|
||||||
[sub_resource type="GDScript" id=1]
|
[sub_resource type="GDScript" id=1]
|
||||||
script/source = "extends LinkButton
|
script/source = "extends LinkButton
|
||||||
@@ -48,6 +49,7 @@ __meta__ = {
|
|||||||
[node name="Title" type="Label" parent="Grid/Menu/Banner/ColorRect"]
|
[node name="Title" type="Label" parent="Grid/Menu/Banner/ColorRect"]
|
||||||
margin_right = 150.0
|
margin_right = 150.0
|
||||||
margin_bottom = 150.0
|
margin_bottom = 150.0
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Loki
|
text = "Loki
|
||||||
"
|
"
|
||||||
align = 1
|
align = 1
|
||||||
@@ -75,31 +77,45 @@ __meta__ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="New" type="LinkButton" parent="Grid/Menu/Action"]
|
[node name="New" type="LinkButton" parent="Grid/Menu/Action"]
|
||||||
|
margin_left = 10.0
|
||||||
margin_top = 30.0
|
margin_top = 30.0
|
||||||
margin_right = 150.0
|
margin_right = 130.0
|
||||||
margin_bottom = 44.0
|
margin_bottom = 64.0
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Nouveau"
|
text = "Nouveau"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="Continue" type="LinkButton" parent="Grid/Menu/Action"]
|
[node name="Continue" type="LinkButton" parent="Grid/Menu/Action"]
|
||||||
margin_top = 70.0
|
margin_left = 10.0
|
||||||
margin_right = 151.0
|
margin_top = 80.0
|
||||||
margin_bottom = 74.0
|
margin_right = 136.0
|
||||||
|
margin_bottom = 114.0
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
disabled = true
|
disabled = true
|
||||||
text = "Reprendre"
|
text = "Reprendre"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
[node name="About" type="LinkButton" parent="Grid/Menu/Action"]
|
[node name="About" type="LinkButton" parent="Grid/Menu/Action"]
|
||||||
margin_top = 110.0
|
margin_left = 10.0
|
||||||
margin_right = 151.0
|
margin_top = 130.0
|
||||||
margin_bottom = 80.0
|
margin_right = 86.0
|
||||||
|
margin_bottom = 164.0
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Credit"
|
text = "Credit"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
[node name="Quit" type="LinkButton" parent="Grid/Menu/Action"]
|
[node name="Quit" type="LinkButton" parent="Grid/Menu/Action"]
|
||||||
margin_top = 400.0
|
margin_left = 10.0
|
||||||
margin_right = 151.0
|
margin_top = 401.059
|
||||||
margin_bottom = 98.0
|
margin_right = 161.0
|
||||||
|
margin_bottom = 435.059
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Quitter"
|
text = "Quitter"
|
||||||
script = SubResource( 1 )
|
script = SubResource( 1 )
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
|
|||||||
Reference in New Issue
Block a user