Commit e9d1f3b0 authored by Julia Santos's avatar Julia Santos

Fixed some cutscene dialogue, made it so that last quest is finished

parent e76b4b13
......@@ -376,10 +376,10 @@ tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0.4, 0.9 ),
"transitions": PoolRealArray( 1, 1 ),
"times": PoolRealArray( 0, 0.4, 0.9 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
"values": [ 0.0, 0.0, 1.0 ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("4:visible")
......@@ -992,6 +992,7 @@ __meta__ = {
[node name="Scene control" type="StaticBody2D" parent="."]
script = ExtResource( 1 )
tracking = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Scene control"]
position = Vector2( 511.03, 299.848 )
......@@ -1041,6 +1042,7 @@ position = Vector2( 511.896, 299.9 )
texture = ExtResource( 3 )
[node name="RichTextLabel" type="RichTextLabel" parent="3"]
visible = false
margin_left = 229.748
margin_top = 204.427
margin_right = 467.748
......@@ -1064,12 +1066,10 @@ speed_scale = 0.7
playing = true
[node name="4" type="Sprite" parent="."]
visible = false
position = Vector2( 511.896, 299.9 )
texture = SubResource( 14 )
[node name="RichTextLabel" type="RichTextLabel" parent="4"]
visible = false
margin_left = 103.0
margin_top = 204.0
margin_right = 468.0
......@@ -1185,6 +1185,7 @@ playing = true
[node name="7" type="Sprite" parent="."]
visible = false
modulate = Color( 1, 1, 1, 0 )
position = Vector2( 511.896, 299.9 )
texture = ExtResource( 8 )
......
......@@ -1153,28 +1153,28 @@ tracks/11/keys = {
"values": [ Color( 1, 1, 1, 0.439216 ), Color( 1, 1, 1, 1 ) ]
}
tracks/12/type = "value"
tracks/12/path = NodePath("6/dia 2/RichTextLabel:visible")
tracks/12/path = NodePath("6/dia 2/RichTextLabel/Arrow:visible")
tracks/12/interp = 1
tracks/12/loop_wrap = true
tracks/12/imported = false
tracks/12/enabled = true
tracks/12/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
"times": PoolRealArray( 0, 1.9, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ false, false, true ]
}
tracks/13/type = "value"
tracks/13/path = NodePath("6/dia 2/RichTextLabel/Arrow:visible")
tracks/13/path = NodePath("6/dia 2/RichTextLabel:visible")
tracks/13/interp = 1
tracks/13/loop_wrap = true
tracks/13/imported = false
tracks/13/enabled = true
tracks/13/keys = {
"times": PoolRealArray( 0, 1.9, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ false, false, true ]
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ true ]
}
tracks/14/type = "value"
tracks/14/path = NodePath("6/dia 2:visible")
......@@ -1189,40 +1189,40 @@ tracks/14/keys = {
"values": [ true ]
}
tracks/15/type = "value"
tracks/15/path = NodePath("6/Sprite:visible")
tracks/15/path = NodePath("6/dia 2/RichTextLabel:percent_visible")
tracks/15/interp = 1
tracks/15/loop_wrap = true
tracks/15/imported = false
tracks/15/enabled = true
tracks/15/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
"times": PoolRealArray( 0, 0.1, 0.2, 0.4, 2 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0, 0.029, 0.029, 1.0 ]
}
tracks/16/type = "value"
tracks/16/path = NodePath("6/Sprite:modulate")
tracks/16/path = NodePath("6/Sprite:visible")
tracks/16/interp = 1
tracks/16/loop_wrap = true
tracks/16/imported = false
tracks/16/enabled = true
tracks/16/keys = {
"times": PoolRealArray( 0, 0.1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/17/type = "value"
tracks/17/path = NodePath("6/dia 2/RichTextLabel:percent_visible")
tracks/17/path = NodePath("6/Sprite:modulate")
tracks/17/interp = 1
tracks/17/loop_wrap = true
tracks/17/imported = false
tracks/17/enabled = true
tracks/17/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.4, 2 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"times": PoolRealArray( 0, 0.1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0, 0.035, 0.035, 1.0 ]
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
[sub_resource type="RectangleShape2D" id=9]
......@@ -1501,6 +1501,7 @@ position = Vector2( 511.116, 300.236 )
texture = ExtResource( 9 )
[node name="4" type="Sprite" parent="."]
visible = false
position = Vector2( 511.116, 300.236 )
texture = ExtResource( 8 )
......@@ -1580,7 +1581,6 @@ speed_scale = 0.7
playing = true
[node name="6" type="Sprite" parent="."]
visible = false
position = Vector2( 511.116, 300.236 )
texture = ExtResource( 10 )
......@@ -1642,14 +1642,43 @@ custom_fonts/bold_font = SubResource( 25 )
custom_fonts/normal_font = SubResource( 26 )
custom_colors/default_color = Color( 0.0627451, 0.0431373, 0.152941, 1 )
bbcode_enabled = true
bbcode_text = "[b]Hint![/b] When you don’t know how to start something, use the notepad in your inventory! Once in Notepad mode, click on one of the words listed on the notepad, and then on one of the objects on the screen, to perform that verb on the object."
text = "Hint! When you don’t know how to start something, use the notepad in your inventory! Once in Notepad mode, click on one of the words listed on the notepad, and then on one of the objects on the screen, to perform that verb on the object."
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Arrow" type="AnimatedSprite" parent="6/dia 2/RichTextLabel"]
modulate = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
position = Vector2( 75.1358, 124.982 )
scale = Vector2( 0.35, 0.430991 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
[node name="RichTextLabel" type="RichTextLabel" parent="."]
margin_left = 20.0
margin_top = 23.0
margin_right = 554.0
margin_bottom = 168.0
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 25 )
custom_fonts/normal_font = SubResource( 26 )
custom_colors/default_color = Color( 0.0627451, 0.0431373, 0.152941, 1 )
bbcode_enabled = true
bbcode_text = "[b]Hint![/b] When you don’t know how to start something, use the notepad on it! Once in Notepad mode, click on one of the words listed on the notepad, and then on one of the objects on the screen, to perform that verb on the object."
visible_characters = 0
percent_visible = 0.029
text = "Hint! When you don’t know how to start something, use the notepad on it! Once in Notepad mode, click on one of the words listed on the notepad, and then on one of the objects on the screen, to perform that verb on the object."
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Arrow" type="AnimatedSprite" parent="6/dia 2/RichTextLabel"]
[node name="Arrow" type="AnimatedSprite" parent="RichTextLabel"]
visible = false
modulate = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
position = Vector2( 75.1358, 124.982 )
scale = Vector2( 0.35, 0.430991 )
......
......@@ -92,6 +92,7 @@ func _start_lab(): # trying the lab the first time, adds the new quests -> no lo
func _finish_lab():
if quests.size() == 1 and quests.get_quest(0) == "Do Lab (Notes: 4/4)":
_start_cutscene_3()
quests.finishQuest("Do Lab (Notes: 4/4)")
dialogue.text = "Congratulations!"
dialogue.playText()
else:
......
......@@ -613,7 +613,6 @@ __meta__ = {
}
[node name="Cutscenes" type="Node2D" parent="."]
visible = false
z_index = 2
[node name="0" parent="Cutscenes" instance=ExtResource( 42 )]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment