added fonts and button styles to win screen

This commit is contained in:
Leon Palluch 2020-02-01 15:41:32 +01:00
parent 0f5d388278
commit ed39efe35e
7 changed files with 38 additions and 1 deletions

View 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 )

View 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 )

Binary file not shown.

View File

@ -0,0 +1,4 @@
[gd_resource type="StyleBoxFlat" format=2]
[resource]
bg_color = Color( 0.741176, 0.0666667, 0, 1 )

View File

@ -0,0 +1,4 @@
[gd_resource type="StyleBoxFlat" format=2]
[resource]
bg_color = Color( 0.54902, 0.117647, 0.0705882, 1 )

View File

@ -0,0 +1,4 @@
[gd_resource type="StyleBoxFlat" format=2]
[resource]
bg_color = Color( 0.521569, 0.133333, 0.0941176, 1 )

View File

@ -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://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"]
anchor_right = 1.0
@ -27,6 +32,7 @@ margin_bottom = 600.0
margin_right = 1024.0
margin_bottom = 250.0
rect_min_size = Vector2( 0, 250 )
custom_fonts/font = ExtResource( 2 )
text = "CONGRATULATIONS!"
align = 1
valign = 2
@ -36,6 +42,7 @@ margin_top = 253.0
margin_right = 1024.0
margin_bottom = 503.0
rect_min_size = Vector2( 0, 250 )
custom_fonts/font = ExtResource( 3 )
align = 1
valign = 1
@ -54,6 +61,10 @@ margin_top = -10.0
margin_right = 100.0
margin_bottom = 15.0
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"
__meta__ = {
"_edit_use_anchors_": false