hero-mark-2/menus/title_screen.tscn

194 lines
5.8 KiB
Text

[gd_scene load_steps=19 format=2]
[ext_resource path="res://ui/theme.tres" type="Theme" id=3]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=4]
[ext_resource path="res://menus/title_screen.gd" type="Script" id=5]
[ext_resource path="res://menus/main_menu.tscn" type="PackedScene" id=6]
[ext_resource path="res://graphics/hud/logo.png" type="Texture" id=7]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=8]
[ext_resource path="res://graphics/backgrounds/sun_and_clouds.png" type="Texture" id=9]
[ext_resource path="res://graphics/particles/smoke.png" type="Texture" id=10]
[ext_resource path="res://shaders/color_noise.gdshader" type="Shader" id=11]
[ext_resource path="res://graphics/backgrounds/moon.png" type="Texture" id=12]
[ext_resource path="res://graphics/hud/title_credits.png" type="Texture" id=13]
[sub_resource type="ShaderMaterial" id=7]
shader = ExtResource( 8 )
shader_param/color_1 = Color( 0.121569, 0.454902, 1, 1 )
shader_param/color_2 = Color( 0.113725, 0.321569, 0.466667, 1 )
shader_param/checker_size = Vector2( 16, 16 )
shader_param/pan_speed = Vector2( 0, 0 )
shader_param/cycle_speed = Vector2( 6, 3 )
shader_param/cycle_alternation = Vector2( 6, 3 )
shader_param/uv_transform = Transform2D( 0, 1, 1, 0, 0, 0 )
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 8 )
shader_param/color_1 = Color( 0.662745, 0.647059, 0.819608, 1 )
shader_param/color_2 = Color( 0.12549, 0.133333, 0.227451, 1 )
shader_param/checker_size = Vector2( 16, 16 )
shader_param/pan_speed = Vector2( 0, 0 )
shader_param/cycle_speed = Vector2( 6, 3 )
shader_param/cycle_alternation = Vector2( 6, 3 )
shader_param/uv_transform = Transform2D( 0, 1, 1, 0, 0, 0 )
[sub_resource type="ShaderMaterial" id=5]
shader = ExtResource( 11 )
shader_param/animate_noise = true
shader_param/noise_intensity = 1.0
shader_param/fps = 60.0
[sub_resource type="Curve" id=4]
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.130639, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.348684, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Animation" id=9]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("Label:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ true ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Logo:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ) ]
}
[sub_resource type="Animation" id=10]
resource_name = "activate"
tracks/0/type = "value"
tracks/0/path = NodePath("Label:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Logo:scale")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.5, 0.8 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1.25, 1.25 ), Vector2( 1, 1 ) ]
}
[sub_resource type="Animation" id=6]
resource_name = "blink"
length = 0.6
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Label:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ true, false ]
}
[node name="TitleScreen" type="Node"]
script = ExtResource( 5 )
next_menu = ExtResource( 6 )
[node name="Day" type="Node2D" parent="."]
[node name="ColorRect" type="ColorRect" parent="Day"]
material = SubResource( 7 )
margin_right = 256.0
margin_bottom = 192.0
[node name="Sprite" type="Sprite" parent="Day"]
position = Vector2( 128, 96 )
texture = ExtResource( 9 )
[node name="Night" type="Node2D" parent="."]
visible = false
[node name="ColorRect2" type="ColorRect" parent="Night"]
material = SubResource( 3 )
margin_right = 256.0
margin_bottom = 192.0
[node name="ColorRect" type="ColorRect" parent="Night"]
material = SubResource( 5 )
margin_right = 256.0
margin_bottom = 192.0
color = Color( 1, 1, 1, 0.392157 )
[node name="Sprite" type="Sprite" parent="Night"]
position = Vector2( 296, 96 )
texture = ExtResource( 12 )
[node name="SmokeParticles" type="CPUParticles2D" parent="."]
position = Vector2( 40, 192 )
amount = 512
lifetime = 10.0
preprocess = 10.0
speed_scale = 2.0
texture = ExtResource( 10 )
direction = Vector2( 0, -1 )
gravity = Vector2( 0, -5 )
initial_velocity = 15.0
initial_velocity_random = 1.0
angular_velocity = 180.0
angular_velocity_random = 1.0
angle = 720.0
angle_random = 1.0
scale_amount = 3.0
scale_amount_random = 1.0
scale_amount_curve = SubResource( 4 )
color = Color( 0.0666667, 0.0666667, 0.0666667, 1 )
[node name="Logo" type="Sprite" parent="."]
position = Vector2( 128, 96 )
texture = ExtResource( 7 )
[node name="Label" type="Label" parent="."]
material = ExtResource( 4 )
margin_top = 136.0
margin_right = 256.0
margin_bottom = 159.0
theme = ExtResource( 3 )
text = "Press start!"
align = 1
[node name="TitleCredits" type="Sprite" parent="."]
position = Vector2( 128, 96 )
texture = ExtResource( 13 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "blink"
anims/RESET = SubResource( 9 )
anims/activate = SubResource( 10 )
anims/blink = SubResource( 6 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
volume_db = -7.866
[connection signal="finished" from="AudioStreamPlayer" to="." method="_on_AudioStreamPlayer_finished"]