platformer-game-test/src/CutScenes/IntroCutscene.tscn

170 lines
4.5 KiB
Plaintext

[gd_scene load_steps=18 format=2]
[ext_resource path="res://src/CutScenes/IntroCutscene.gd" type="Script" id=1]
[ext_resource path="res://assets/Theme/menu_font.tres" type="DynamicFont" id=2]
[ext_resource path="res://assets/Audio/SFX/wind01.ogg" type="AudioStream" id=3]
[sub_resource type="Gradient" id=1]
colors = PoolColorArray( 0.180392, 0.352941, 0.537255, 1, 0.121569, 0.262745, 0.415686, 1 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="Gradient" id=3]
offsets = PoolRealArray( 0.00431034, 1 )
colors = PoolColorArray( 1, 1, 1, 0.815686, 1, 1, 1, 0.294118 )
[sub_resource type="GradientTexture" id=4]
gradient = SubResource( 3 )
[sub_resource type="Curve" id=5]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.553738 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=6]
curve = SubResource( 5 )
[sub_resource type="ParticlesMaterial" id=7]
emission_shape = 2
emission_box_extents = Vector3( 250, 1, 1 )
flag_disable_z = true
direction = Vector3( 0, 1, 0 )
gravity = Vector3( 0, 0, 0 )
initial_velocity = 15.0
initial_velocity_random = 0.25
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = 1.0
linear_accel_random = 0.25
scale = 3.09
scale_random = 0.25
scale_curve = SubResource( 6 )
color_ramp = SubResource( 4 )
[sub_resource type="Animation" id=8]
resource_name = "fade-text"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("MarginContainer/Text:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
[sub_resource type="Animation" id=9]
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 0, 0, 0, 1 ), Color( 1, 1, 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("MarginContainer/Text:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ) ]
}
[sub_resource type="Gradient" id=10]
colors = PoolColorArray( 1, 1, 1, 0.243137, 1, 1, 1, 0.0392157 )
[sub_resource type="GradientTexture" id=11]
gradient = SubResource( 10 )
[sub_resource type="Curve" id=12]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.988235, 0.906818 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=13]
curve = SubResource( 12 )
[sub_resource type="ParticlesMaterial" id=14]
emission_shape = 2
emission_box_extents = Vector3( 250, 1, 1 )
flag_disable_z = true
direction = Vector3( 0, 1, 0 )
gravity = Vector3( 0, 0, 0 )
initial_velocity = 50.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 15.0
scale_random = 0.8
scale_curve = SubResource( 13 )
color_ramp = SubResource( 11 )
[node name="IntroCutscene" type="Node2D"]
modulate = Color( 0.6, 0.6, 0.6, 1 )
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -86, 318 )
rotation = 4.70806
scale = Vector2( 0.163033, 650.745 )
texture = SubResource( 2 )
centered = false
[node name="BG" type="Particles2D" parent="."]
position = Vector2( 251, -15 )
amount = 200
lifetime = 15.0
preprocess = 15.0
explosiveness = 0.1
process_material = SubResource( 7 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/fade-text = SubResource( 8 )
anims/start = SubResource( 9 )
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 481.0
margin_bottom = 271.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Text" type="Label" parent="MarginContainer"]
modulate = Color( 1, 1, 1, 0 )
margin_top = 125.0
margin_right = 481.0
margin_bottom = 146.0
custom_fonts/font = ExtResource( 2 )
text = "Every thing looks familiar..."
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="FG" type="Particles2D" parent="."]
position = Vector2( 248, -13 )
amount = 20
lifetime = 10.0
preprocess = 5.0
explosiveness = 0.2
process_material = SubResource( 14 )
[node name="Wind" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
volume_db = -30.0
autoplay = true
[node name="Tween" type="Tween" parent="Wind"]