added fonts and button styles to win screen
This commit is contained in:
parent
0f5d388278
commit
ed39efe35e
7
Resources/Fonts/MenuHeader.tres
Normal file
7
Resources/Fonts/MenuHeader.tres
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Resources/Fonts/beneg___.ttf" type="DynamicFontData" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
size = 120
|
||||||
|
font_data = ExtResource( 1 )
|
7
Resources/Fonts/MenuTextFont.tres
Normal file
7
Resources/Fonts/MenuTextFont.tres
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Resources/Fonts/beneg___.ttf" type="DynamicFontData" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
size = 64
|
||||||
|
font_data = ExtResource( 1 )
|
BIN
Resources/Fonts/beneg___.ttf
Normal file
BIN
Resources/Fonts/beneg___.ttf
Normal file
Binary file not shown.
4
Resources/Styles/ButtonHoverStyle.tres
Normal file
4
Resources/Styles/ButtonHoverStyle.tres
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gd_resource type="StyleBoxFlat" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
bg_color = Color( 0.741176, 0.0666667, 0, 1 )
|
4
Resources/Styles/ButtonNormalStyle.tres
Normal file
4
Resources/Styles/ButtonNormalStyle.tres
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gd_resource type="StyleBoxFlat" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
bg_color = Color( 0.54902, 0.117647, 0.0705882, 1 )
|
4
Resources/Styles/ButtonPressedStyle.tres
Normal file
4
Resources/Styles/ButtonPressedStyle.tres
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gd_resource type="StyleBoxFlat" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
bg_color = Color( 0.521569, 0.133333, 0.0941176, 1 )
|
@ -1,6 +1,11 @@
|
|||||||
[gd_scene load_steps=2 format=2]
|
[gd_scene load_steps=7 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://UI/WinScreenScript.gd" type="Script" id=1]
|
[ext_resource path="res://UI/WinScreenScript.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Resources/Fonts/MenuHeader.tres" type="DynamicFont" id=2]
|
||||||
|
[ext_resource path="res://Resources/Fonts/MenuTextFont.tres" type="DynamicFont" id=3]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonHoverStyle.tres" type="StyleBox" id=4]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonPressedStyle.tres" type="StyleBox" id=5]
|
||||||
|
[ext_resource path="res://Resources/Styles/ButtonNormalStyle.tres" type="StyleBox" id=6]
|
||||||
|
|
||||||
[node name="Spatial" type="Control"]
|
[node name="Spatial" type="Control"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
@ -27,6 +32,7 @@ margin_bottom = 600.0
|
|||||||
margin_right = 1024.0
|
margin_right = 1024.0
|
||||||
margin_bottom = 250.0
|
margin_bottom = 250.0
|
||||||
rect_min_size = Vector2( 0, 250 )
|
rect_min_size = Vector2( 0, 250 )
|
||||||
|
custom_fonts/font = ExtResource( 2 )
|
||||||
text = "CONGRATULATIONS!"
|
text = "CONGRATULATIONS!"
|
||||||
align = 1
|
align = 1
|
||||||
valign = 2
|
valign = 2
|
||||||
@ -36,6 +42,7 @@ margin_top = 253.0
|
|||||||
margin_right = 1024.0
|
margin_right = 1024.0
|
||||||
margin_bottom = 503.0
|
margin_bottom = 503.0
|
||||||
rect_min_size = Vector2( 0, 250 )
|
rect_min_size = Vector2( 0, 250 )
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
align = 1
|
align = 1
|
||||||
valign = 1
|
valign = 1
|
||||||
|
|
||||||
@ -54,6 +61,10 @@ margin_top = -10.0
|
|||||||
margin_right = 100.0
|
margin_right = 100.0
|
||||||
margin_bottom = 15.0
|
margin_bottom = 15.0
|
||||||
rect_min_size = Vector2( 200, 25 )
|
rect_min_size = Vector2( 200, 25 )
|
||||||
|
custom_styles/hover = ExtResource( 4 )
|
||||||
|
custom_styles/pressed = ExtResource( 5 )
|
||||||
|
custom_styles/normal = ExtResource( 6 )
|
||||||
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Continue"
|
text = "Continue"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user