Files
Omens-Ascent/scenes/components/title_screen.tscn

372 lines
12 KiB
Plaintext

[gd_scene format=4 uid="uid://bpdxv7kv1pvc2"]
[ext_resource type="Script" uid="uid://d35c6abss7d52" path="res://scenes/components/title_screen.gd" id="1_f0n5y"]
[ext_resource type="TileSet" uid="uid://6ltrd6lvydrw" path="res://ressources/forest_tileset.tres" id="2_2cf7p"]
[ext_resource type="Texture2D" uid="uid://dapligyg1q7vd" path="res://assets/images/sprites/World/Background/Wasteland_Sky.png" id="2_y1amh"]
[ext_resource type="Texture2D" uid="uid://bk41feg0qdi0t" path="res://assets/images/sprites/World/Background/Wasteland_Mountains_1.png" id="3_51c5d"]
[ext_resource type="Texture2D" uid="uid://cdgo042aie21s" path="res://assets/images/sprites/World/Background/Wasteland_Mountains_2.png" id="4_2yr8v"]
[ext_resource type="PackedScene" uid="uid://cwq8mu0hub5qd" path="res://scenes/actors/entity.tscn" id="5_wx5q0"]
[ext_resource type="Texture2D" uid="uid://c6nak38doipjr" path="res://assets/images/sprites/World/Forest/Background/2.png" id="6_03q4f"]
[ext_resource type="Texture2D" uid="uid://caguehadpvpe1" path="res://assets/images/sprites/Player/IDLE.png" id="8_2yr8v"]
[ext_resource type="Texture2D" uid="uid://o7gjt82i1tuy" path="res://assets/images/sprites/World/Forest/Props/RedFlag.png" id="8_wx5q0"]
[ext_resource type="Texture2D" uid="uid://d1mclnyfhlmh8" path="res://assets/images/sprites/World/Forest/Props/Objects.png" id="9_j8yb3"]
[ext_resource type="Texture2D" uid="uid://uxtomds5wl0e" path="res://assets/images/sprites/World/Forest/Props/Props.png" id="10_f0n5y"]
[ext_resource type="FontFile" uid="uid://cqrxu8aj7ih08" path="res://assets/fonts/pixel_font.ttf" id="12_f0n5y"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ram0d"]
atlas = ExtResource("9_j8yb3")
region = Rect2(0, 0, 32, 96)
[sub_resource type="AtlasTexture" id="AtlasTexture_s2vmd"]
atlas = ExtResource("8_wx5q0")
region = Rect2(0, 0, 29, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_yovuv"]
atlas = ExtResource("8_wx5q0")
region = Rect2(29, 0, 29, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_imsda"]
atlas = ExtResource("8_wx5q0")
region = Rect2(58, 0, 29, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4n58a"]
atlas = ExtResource("8_wx5q0")
region = Rect2(87, 0, 29, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_id23q"]
atlas = ExtResource("8_wx5q0")
region = Rect2(116, 0, 29, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_31ppy"]
atlas = ExtResource("8_wx5q0")
region = Rect2(145, 0, 29, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_uvqlf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_s2vmd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yovuv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_imsda")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4n58a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_id23q")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_31ppy")
}],
"loop": 1,
"name": &"default",
"speed": 7.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_hw8k0"]
atlas = ExtResource("10_f0n5y")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gy2im"]
atlas = ExtResource("10_f0n5y")
region = Rect2(104, 0, 48, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_uvqlf"]
atlas = ExtResource("10_f0n5y")
region = Rect2(0, 0, 64, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_wx5q0"]
atlas = ExtResource("8_2yr8v")
region = Rect2(0, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_03q4f"]
atlas = ExtResource("8_2yr8v")
region = Rect2(106, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_j8yb3"]
atlas = ExtResource("8_2yr8v")
region = Rect2(212, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_f0n5y"]
atlas = ExtResource("8_2yr8v")
region = Rect2(318, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_xaa0h"]
atlas = ExtResource("8_2yr8v")
region = Rect2(424, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_6x73w"]
atlas = ExtResource("8_2yr8v")
region = Rect2(530, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_hn6yu"]
atlas = ExtResource("8_2yr8v")
region = Rect2(636, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_rjgyo"]
atlas = ExtResource("8_2yr8v")
region = Rect2(742, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_bqiuy"]
atlas = ExtResource("8_2yr8v")
region = Rect2(848, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_tky41"]
atlas = ExtResource("8_2yr8v")
region = Rect2(954, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_v0qcs"]
atlas = ExtResource("8_2yr8v")
region = Rect2(1060, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_lavtg"]
atlas = ExtResource("8_2yr8v")
region = Rect2(1166, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_r6n1t"]
atlas = ExtResource("8_2yr8v")
region = Rect2(1272, 0, 106, 84)
[sub_resource type="AtlasTexture" id="AtlasTexture_b5s4q"]
atlas = ExtResource("8_2yr8v")
region = Rect2(1378, 0, 106, 84)
[sub_resource type="SpriteFrames" id="SpriteFrames_s2vmd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_wx5q0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_03q4f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j8yb3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f0n5y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xaa0h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6x73w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hn6yu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rjgyo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bqiuy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tky41")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v0qcs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lavtg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r6n1t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b5s4q")
}],
"loop": 1,
"name": &"player_idle",
"speed": 10.0
}]
[sub_resource type="Theme" id="Theme_uvqlf"]
default_font = ExtResource("12_f0n5y")
default_font_size = 32
[sub_resource type="Theme" id="Theme_j8yb3"]
default_font = ExtResource("12_f0n5y")
default_font_size = 16
[sub_resource type="Theme" id="Theme_f0n5y"]
default_font = ExtResource("12_f0n5y")
default_font_size = 16
[node name="TitleScreen" type="Control" unique_id=2065329278]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_f0n5y")
[node name="Background" type="Node2D" parent="." unique_id=2091481696]
position = Vector2(-38, -7)
[node name="WastelandSky" type="Sprite2D" parent="Background" unique_id=1077165735]
position = Vector2(180, 95)
texture = ExtResource("2_y1amh")
[node name="WastelandMountains1" type="Sprite2D" parent="Background" unique_id=1831855549]
position = Vector2(138, 62)
texture = ExtResource("3_51c5d")
[node name="Entity" parent="Background" unique_id=286688007 instance=ExtResource("5_wx5q0")]
position = Vector2(306, 102)
scale = Vector2(0.5, 0.5)
[node name="WastelandMountains2" type="Sprite2D" parent="Background" unique_id=571729154]
position = Vector2(223, 68)
texture = ExtResource("4_2yr8v")
[node name="2" type="Sprite2D" parent="Background" unique_id=970254118]
position = Vector2(284, 72)
scale = Vector2(1.59375, 1.4333333)
texture = ExtResource("6_03q4f")
[node name="3" type="Sprite2D" parent="Background" unique_id=247423564]
position = Vector2(-225, 72)
scale = Vector2(1.59375, 1.4333333)
texture = ExtResource("6_03q4f")
[node name="Sprite2D" type="Sprite2D" parent="Background" unique_id=1700478731]
position = Vector2(152, 116)
texture = SubResource("AtlasTexture_ram0d")
[node name="Forest2" type="TileMapLayer" parent="Background" unique_id=1996882757]
position = Vector2(16, -31)
tile_map_data = PackedByteArray("AAAFAAYAAQAGAAcAAAAGAAYAAQAHAAcAAAAHAAYAAQAIAAcAAAA=")
tile_set = ExtResource("2_2cf7p")
[node name="Forest" type="TileMapLayer" parent="Background" unique_id=1144882263]
position = Vector2(16, -31)
tile_map_data = PackedByteArray("AAD//wUAAQACAAYAAAD//wYAAQALAAMAAAAAAAUAAQADAAEAAAAAAAYAAQADAAcAAAAAAAcAAQACAAIAAAABAAYAAQAHAAYAAAABAAcAAQAMAAcAAAACAAYAAQAHAAYAAAACAAcAAQACAAIAAAADAAYAAQAHAAYAAAADAAcAAQAMAAcAAAAEAAYAAQAHAAYAAAAEAAcAAQACAAIAAAAFAAYAAQAHAAYAAAAFAAcAAQAMAAcAAAAGAAYAAQAMAAYAAAAGAAcAAQAHAAcAAAAHAAYAAQAHAAYAAAAHAAcAAQAHAAcAAAAIAAYAAQAHAAYAAAAIAAcAAQAMAAcAAAAJAAYAAQAHAAYAAAAJAAcAAQACAAIAAAAKAAYAAQAHAAYAAAAKAAcAAQAHAAcAAAALAAYAAQAHAAYAAAALAAcAAQAHAAcAAAAMAAYAAQAHAAYAAAAMAAcAAQACAAIAAAAFAAUAAQABAAEAAAAGAAUAAQACAAEAAAAHAAUAAQADAAYAAAA=")
tile_set = ExtResource("2_2cf7p")
[node name="Flag" type="AnimatedSprite2D" parent="Background" unique_id=1633954144]
position = Vector2(198, 99)
sprite_frames = SubResource("SpriteFrames_uvqlf")
autoplay = "default"
[node name="Sprite2D2" type="Sprite2D" parent="Background" unique_id=126336721]
position = Vector2(176, 148)
texture = SubResource("AtlasTexture_hw8k0")
[node name="Sprite2D5" type="Sprite2D" parent="Background" unique_id=1763019285]
position = Vector2(13, 115)
texture = SubResource("AtlasTexture_hw8k0")
[node name="Sprite2D3" type="Sprite2D" parent="Background" unique_id=1628790302]
position = Vector2(342, 148)
texture = SubResource("AtlasTexture_gy2im")
[node name="Sprite2D4" type="Sprite2D" parent="Background" unique_id=1974989067]
position = Vector2(265, 148)
texture = SubResource("AtlasTexture_uvqlf")
[node name="Sprite2D6" type="Sprite2D" parent="Background" unique_id=1793321917]
position = Vector2(102, 149)
texture = SubResource("AtlasTexture_uvqlf")
[node name="PlayerSprite" type="AnimatedSprite2D" parent="." unique_id=668881275]
position = Vector2(190, 131)
sprite_frames = SubResource("SpriteFrames_s2vmd")
animation = &"player_idle"
autoplay = "player_idle"
offset = Vector2(0, -40)
[node name="Camera2D" type="Camera2D" parent="PlayerSprite" unique_id=1450340765]
offset = Vector2(-30, -40)
position_smoothing_enabled = true
[node name="ColorRect" type="ColorRect" parent="." unique_id=1644565373]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 10.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.34509805)
[node name="Labels" type="VBoxContainer" parent="." unique_id=825824469]
layout_mode = 1
offset_left = 5.0
offset_top = 9.0
offset_right = 185.0
offset_bottom = 43.0
[node name="Title" type="Label" parent="Labels" unique_id=953099725]
layout_mode = 2
theme = SubResource("Theme_uvqlf")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 1
theme_override_constants/shadow_outline_size = 50
text = "OMEN'S ASCENT"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Options" type="VBoxContainer" parent="." unique_id=233978627]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 33.0
offset_top = -40.0
offset_right = 103.0
offset_bottom = 60.0
grow_vertical = 2
theme_override_constants/separation = 0
alignment = 1
[node name="StartGameButton" type="Button" parent="Options" unique_id=1101105376]
layout_mode = 2
theme = SubResource("Theme_j8yb3")
text = "Start Game"
flat = true
alignment = 0
autowrap_trim_flags = 0
[node name="OptionsButton" type="Button" parent="Options" unique_id=2105084975]
layout_mode = 2
theme = SubResource("Theme_f0n5y")
disabled = true
text = "Options"
flat = true
alignment = 0
autowrap_trim_flags = 0
[node name="CreditsButton" type="Button" parent="Options" unique_id=2065644118]
layout_mode = 2
theme = SubResource("Theme_f0n5y")
disabled = true
text = "Credits"
flat = true
alignment = 0
autowrap_trim_flags = 0
[node name="ExitButton" type="Button" parent="Options" unique_id=1625788708]
layout_mode = 2
theme = SubResource("Theme_f0n5y")
text = "Exit Game"
flat = true
alignment = 0
autowrap_trim_flags = 0
[node name="FadeOut" type="ColorRect" parent="." unique_id=1118634476]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 10.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0)