hero-mark-2/menus/title_screen.tscn

211 lines
7.7 KiB
Text

[gd_scene load_steps=21 format=2]
[ext_resource path="res://tilesets/future/t_mountain_future.tres" type="TileSet" id=1]
[ext_resource path="res://graphics/hud/munchy-misadventure.png" type="Texture" id=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://maps/future/mountain_future.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.321569, 0.301961, 0.505882, 1 )
shader_param/color_2 = Color( 0.227451, 0.12549, 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"]
visible = false
material = SubResource( 7 )
margin_right = 256.0
margin_bottom = 192.0
[node name="Sprite" type="Sprite" parent="Day"]
visible = false
position = Vector2( 128, 96 )
texture = ExtResource( 9 )
[node name="Night" type="Node2D" parent="."]
[node name="ColorRect2" type="ColorRect" parent="."]
material = SubResource( 3 )
margin_right = 256.0
margin_bottom = 192.0
[node name="ColorRect" type="ColorRect" parent="."]
material = SubResource( 5 )
margin_right = 256.0
margin_bottom = 192.0
color = Color( 0.619608, 0, 0.45098, 0.392157 )
[node name="Sprite2" type="Sprite" parent="."]
position = Vector2( 288, 64 )
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="."]
visible = false
position = Vector2( 128, 96 )
texture = ExtResource( 7 )
[node name="Label" type="Label" parent="."]
material = ExtResource( 4 )
margin_top = 176.0
margin_right = 256.0
margin_bottom = 199.0
theme = ExtResource( 3 )
text = "Press start!"
align = 1
[node name="TitleCredits" type="Sprite" parent="."]
visible = false
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
[node name="TileMap" type="TileMap" parent="."]
position = Vector2( 4, -11 )
tile_set = ExtResource( 1 )
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 131094, 4, 65537, 131095, 4, 2, 131096, 4, 3, 131098, 4, 65536, 196625, 4, 65536, 196629, 4, 65537, 196630, 4, 196611, 196634, 4, 131072, 262147, 4, 65536, 262161, 4, 131072, 262165, 4, 131072, 262169, 4, 1, 262170, 4, 196611, 327683, 4, 131072, 327686, 4, 65536, 327697, 4, 196609, 327698, 4, 65538, 327699, 4, 65538, 327700, 4, 65538, 327701, 4, 196611, 327708, 4, 65537, 327709, 4, 2, 327710, 4, 3, 393218, 4, 65537, 393219, 4, 196610, 393220, 4, 65538, 393221, 4, 65538, 393222, 4, 131075, 393226, 4, 65537, 393227, 4, 2, 393228, 4, 3, 393234, 4, 196609, 393235, 4, 131074, 393236, 4, 131075, 393244, 4, 131072, 458754, 4, 131072, 458756, 4, 131073, 458757, 4, 131074, 458758, 4, 196610, 458759, 4, 65539, 458762, 4, 131072, 458771, 4, 131073, 458772, 4, 131075, 458780, 4, 196609, 458781, 4, 65539, 524289, 4, 65537, 524290, 4, 196611, 524292, 4, 131073, 524293, 4, 196611, 524295, 4, 131072, 524298, 4, 196609, 524299, 4, 2, 524300, 4, 65539, 524307, 4, 131073, 524308, 4, 196610, 524309, 4, 65539, 524317, 4, 131072, 589825, 4, 196608, 589828, 4, 196608, 589831, 4, 131072, 589836, 4, 131072, 589842, 4, 65537, 589843, 4, 196611, 589845, 4, 196609, 589846, 4, 65539, 589852, 4, 65537, 589853, 4, 196611, 655367, 4, 196609, 655368, 4, 3, 655371, 4, 65537, 655372, 4, 196611, 655374, 4, 0, 655376, 4, 65537, 655377, 4, 2, 655378, 4, 196611, 655382, 4, 196609, 655383, 4, 65539, 655386, 4, 1, 655387, 4, 2, 655388, 4, 196611, 720906, 4, 1, 720907, 4, 196611, 720912, 4, 196608, 720919, 4, 196608 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 2 )
texture = ExtResource( 2 )
centered = false
[connection signal="finished" from="AudioStreamPlayer" to="." method="_on_AudioStreamPlayer_finished"]