1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-24 13:44:18 +00:00

⚙️ Ending scenes

This commit is contained in:
Cookie-CHR 2022-04-05 00:12:02 +02:00
parent 3a42e6d496
commit caf184e6ec
5 changed files with 224 additions and 5 deletions

View file

@ -0,0 +1,80 @@
[gd_scene load_steps=11 format=2]
[ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://src/ui/fonts/SourceSerifPro-Light.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://src/levels/ui/PlayButton.png" type="Texture" id=3]
[ext_resource path="res://src/levels/ui/ui/Title.png" type="Texture" id=4]
[ext_resource path="res://src/levels/endings/Credits.tscn" type="PackedScene" id=5]
[sub_resource type="DynamicFont" id=9]
size = 22
font_data = ExtResource( 1 )
[sub_resource type="Theme" id=5]
default_font = SubResource( 9 )
[sub_resource type="DynamicFont" id=6]
size = 70
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=7]
size = 100
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=8]
size = 40
font_data = ExtResource( 1 )
[node name="BadEnding" type="CanvasLayer"]
[node name="TheDarkNightUI" type="Control" parent="."]
light_mask = 2
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -640.0
margin_top = -80.0
margin_right = 640.0
theme = SubResource( 5 )
[node name="Sprite" type="Sprite" parent="TheDarkNightUI"]
position = Vector2( 640.881, -279.304 )
texture = ExtResource( 4 )
[node name="Play" type="Button" parent="TheDarkNightUI"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -2.0
margin_right = -260.0
margin_bottom = -100.0
grow_horizontal = 0
grow_vertical = 0
custom_fonts/font = SubResource( 6 )
text = "Play"
icon = ExtResource( 3 )
flat = true
[node name="LabelTitle" type="Label" parent="TheDarkNightUI"]
margin_left = 700.0
margin_top = -575.0
margin_right = 1208.0
margin_bottom = 29.0
custom_fonts/font = SubResource( 7 )
text = "You lost"
align = 2
autowrap = true
[node name="LabelText" type="Label" parent="TheDarkNightUI/LabelTitle"]
margin_top = 150.0
margin_right = 508.0
margin_bottom = 604.0
custom_fonts/font = SubResource( 8 )
text = "The icy army has invaded the land"
align = 2
autowrap = true
[node name="Credits" parent="TheDarkNightUI/LabelTitle" instance=ExtResource( 5 )]
margin_top = 300.0

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=1]
[sub_resource type="DynamicFont" id=1]
size = 40
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 35
font_data = ExtResource( 1 )
[node name="Credits" type="Label"]
margin_right = 500.0
margin_bottom = 14.0
custom_fonts/font = SubResource( 1 )
text = "Made for Ludum Dare 50 by:"
align = 2
[node name="CreditsSmall" type="Label" parent="."]
margin_top = 60.0
margin_right = 500.0
margin_bottom = 14.0
custom_fonts/font = SubResource( 2 )
text = "Steffo
Cookie
Sensei
xZefyr"
align = 2

View file

@ -0,0 +1,90 @@
[gd_scene load_steps=12 format=2]
[ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://src/entities/fire/Fire.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/ui/fonts/SourceSerifPro-Light.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://src/levels/ui/PlayButton.png" type="Texture" id=4]
[ext_resource path="res://src/levels/ui/ui/Title.png" type="Texture" id=5]
[ext_resource path="res://src/levels/endings/Credits.tscn" type="PackedScene" id=6]
[sub_resource type="DynamicFont" id=4]
size = 22
font_data = ExtResource( 1 )
[sub_resource type="Theme" id=5]
default_font = SubResource( 4 )
[sub_resource type="DynamicFont" id=6]
size = 70
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=7]
size = 100
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=8]
size = 40
font_data = ExtResource( 1 )
[node name="GoodEnding" type="CanvasLayer"]
[node name="TheDarkNightUI" type="Control" parent="."]
light_mask = 2
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -640.0
margin_top = -80.0
margin_right = 640.0
theme = SubResource( 5 )
[node name="Sprite" type="Sprite" parent="TheDarkNightUI"]
position = Vector2( 640.881, -279.304 )
texture = ExtResource( 5 )
[node name="Play" type="Button" parent="TheDarkNightUI"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -2.0
margin_right = -260.0
margin_bottom = -100.0
grow_horizontal = 0
grow_vertical = 0
custom_fonts/font = SubResource( 6 )
text = "Play"
icon = ExtResource( 4 )
flat = true
[node name="LabelTitle" type="Label" parent="TheDarkNightUI"]
margin_left = 700.0
margin_top = -575.0
margin_right = 1208.0
margin_bottom = 29.0
custom_fonts/font = SubResource( 7 )
text = "You win"
align = 2
autowrap = true
[node name="LabelText" type="Label" parent="TheDarkNightUI/LabelTitle"]
margin_top = 150.0
margin_right = 508.0
margin_bottom = 604.0
custom_fonts/font = SubResource( 8 )
text = "You are a hero! The land is safe again."
align = 2
autowrap = true
[node name="Credits" parent="TheDarkNightUI/LabelTitle" instance=ExtResource( 6 )]
margin_top = 300.0
[node name="MenuFire" parent="TheDarkNightUI" instance=ExtResource( 2 )]
position = Vector2( 421, -275 )
scale = Vector2( 4, 4 )
[node name="Damaging" parent="TheDarkNightUI/MenuFire" index="3"]
damage = -5.0
[editable path="TheDarkNightUI/MenuFire"]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://src/ui/fonts/SourceSerifPro-Light.ttf" type="DynamicFontData" id=1] [ext_resource path="res://src/ui/fonts/SourceSerifPro-Light.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://src/levels/ui/ui/Title.png" type="Texture" id=2] [ext_resource path="res://src/levels/ui/ui/Title.png" type="Texture" id=2]
@ -6,17 +6,21 @@
[ext_resource path="res://src/entities/fire/Fire.tscn" type="PackedScene" id=4] [ext_resource path="res://src/entities/fire/Fire.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=5] [ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=4]
size = 22 size = 22
font_data = ExtResource( 5 ) font_data = ExtResource( 5 )
[sub_resource type="Theme" id=2] [sub_resource type="Theme" id=2]
default_font = SubResource( 1 ) default_font = SubResource( 4 )
[sub_resource type="DynamicFont" id=3] [sub_resource type="DynamicFont" id=3]
size = 70 size = 70
font_data = ExtResource( 1 ) font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=5]
size = 120
font_data = ExtResource( 5 )
[node name="MainMenu" type="CanvasLayer"] [node name="MainMenu" type="CanvasLayer"]
[node name="TheDarkNightUI" type="Control" parent="."] [node name="TheDarkNightUI" type="Control" parent="."]
@ -38,6 +42,12 @@ texture = ExtResource( 2 )
position = Vector2( 421, -275 ) position = Vector2( 421, -275 )
scale = Vector2( 4, 4 ) scale = Vector2( 4, 4 )
[node name="FlameSprite" parent="TheDarkNightUI/MenuFire/Flame/Shape" index="0"]
frame = 0
[node name="Damaging" parent="TheDarkNightUI/MenuFire" index="3"]
damage = -5.0
[node name="Play" type="Button" parent="TheDarkNightUI"] [node name="Play" type="Button" parent="TheDarkNightUI"]
anchor_left = 1.0 anchor_left = 1.0
anchor_top = 1.0 anchor_top = 1.0
@ -54,4 +64,14 @@ text = "Play"
icon = ExtResource( 3 ) icon = ExtResource( 3 )
flat = true flat = true
[node name="Label" type="Label" parent="TheDarkNightUI"]
margin_left = 700.0
margin_top = -505.0
margin_right = 1208.0
margin_bottom = 29.0
custom_fonts/font = SubResource( 5 )
text = "The Cold Night"
align = 2
autowrap = true
[editable path="TheDarkNightUI/MenuFire"] [editable path="TheDarkNightUI/MenuFire"]

BIN
src/levels/ui/ui/Title.png (Stored with Git LFS)

Binary file not shown.