Added full intro sequence
This commit is contained in:
parent
f8c2e7b2a1
commit
9112e73b1f
|
@ -16,7 +16,6 @@ func _on_body_entered(body: Node2D) -> void:
|
|||
print("Whoops, something went wrong")
|
||||
|
||||
func _on_mouse_collision_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||
print("mouse entered")
|
||||
if Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
|
||||
var destination: Vector2 = get_global_mouse_position()
|
||||
global_position = global_position.move_toward(destination, 1.0)
|
||||
|
|
|
@ -48,7 +48,7 @@ tracks/2/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_8lh0c"]
|
||||
resource_name = "introSequence"
|
||||
length = 15.0
|
||||
length = 12.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
|
@ -56,7 +56,7 @@ tracks/0/path = NodePath("introAnimation/ColorRect:self_modulate")
|
|||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 4.56667, 5.55667),
|
||||
"times": PackedFloat32Array(0, 10.5433, 11.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
|
@ -68,10 +68,10 @@ tracks/1/path = NodePath("introAnimation/Label:text")
|
|||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 2.46667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"times": PackedFloat32Array(0, 3, 5.53333),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": ["TEST PLACEHOLDER TEST", "NEW TEST NEW TEST NEW Te"]
|
||||
"values": ["You are an emberheart crystal.", "You have just gained consciousness.", "You must eat to survive."]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
|
@ -80,10 +80,10 @@ tracks/2/path = NodePath("introAnimation/Label:self_modulate")
|
|||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.466667, 2, 2.46667, 2.93333, 4.1, 4.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0, 0.466667, 2.46667, 3, 3.46667, 5.03333, 5.43333, 5.66667, 6.1, 8, 9.56667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(0.780392, 0.0352941, 0.0705882, 0), Color(0.772549, 0, 0.0352941, 1), Color(0.780392, 0.0352941, 0.0705882, 1), Color(0.780392, 0.0352941, 0.0705882, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dpa6y"]
|
||||
|
@ -164,6 +164,7 @@ offset_left = 66.0
|
|||
offset_top = -47.0
|
||||
offset_right = 683.0
|
||||
offset_bottom = 298.0
|
||||
mouse_filter = 2
|
||||
color = Color(0.0214346, 0.0214346, 0.0214346, 1)
|
||||
|
||||
[node name="Label" type="Label" parent="introAnimation"]
|
||||
|
@ -177,3 +178,4 @@ text = "TEST PLACEHOLDER TEST"
|
|||
[connection signal="animation_finished" from="introAnimation" to="player" method="_on_intro_animation_animation_finished"]
|
||||
|
||||
[editable path="player"]
|
||||
[editable path="exitZone1"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user