Commit 76320137 authored by Julia Santos's avatar Julia Santos

Added start screen, added a bunch of flavor text

parent f817317a
source_md5="caab8516bbbe82c7f72e40c1b788e51e"
dest_md5="34a53bb02abd3446facda209469ee1a8"
......@@ -6,8 +6,8 @@ onready var anim = get_parent().get_node("Animator")
# Called when the node enters the scene tree for the first time.
func _ready():
start()
#print(get_parent().get_children()[0].get_name())
tracking = false
pass # Replace with function body.
func _input(event): # executes when clicked on
......@@ -51,3 +51,6 @@ func start():
tracking = true
anim.play("Shot 1")
func _on_Button_pressed():
start()
get_parent().get_node("Start").queue_free()
[gd_scene load_steps=30 format=2]
[gd_scene load_steps=37 format=2]
[ext_resource path="res://Cutscenes/Cutscene 0.gd" type="Script" id=1]
[ext_resource path="res://assets/Cutscenes/00 - Intro/03.PNG" type="Texture" id=2]
[ext_resource path="res://assets/Cutscenes/00 - Intro/01.PNG" type="Texture" id=3]
[ext_resource path="res://assets/Cutscenes/00 - Intro/02.PNG" type="Texture" id=4]
[ext_resource path="res://assets/Start.png" type="Texture" id=5]
[ext_resource path="res://assets/Cutscenes/00 - Intro/04.PNG" type="Texture" id=6]
[ext_resource path="res://assets/Fonts/BeVietnamPro-Medium.ttf" type="DynamicFontData" id=7]
[ext_resource path="res://assets/Cutscenes/00 - Intro/05.PNG" type="Texture" id=8]
[ext_resource path="res://assets/Thesis Clickables/arrow-white-normal.png" type="Texture" id=9]
[ext_resource path="res://assets/Thesis Clickables/arrow-white-down.png" type="Texture" id=10]
[ext_resource path="res://assets/Fonts/Be Vietnam Bold.tres" type="DynamicFont" id=11]
[sub_resource type="Animation" id=1]
resource_name = "Fade out"
......@@ -940,6 +942,34 @@ font_data = ExtResource( 7 )
size = 19
font_data = ExtResource( 7 )
[sub_resource type="StyleBoxFlat" id=21]
bg_color = Color( 0.145098, 0.145098, 0.164706, 1 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="StyleBoxFlat" id=25]
bg_color = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="StyleBoxFlat" id=22]
bg_color = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="DynamicFontData" id=23]
font_path = "res://assets/Fonts/BeVietnamPro-Bold.ttf"
[sub_resource type="DynamicFont" id=24]
size = 40
font_data = SubResource( 23 )
[node name="Node2D" type="Node2D"]
[node name="Cutscene 0 panel" type="Panel" parent="."]
......@@ -992,7 +1022,6 @@ __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 )
......@@ -1027,7 +1056,6 @@ visible = false
position = Vector2( -155.066, -121.643 )
scale = Vector2( 0.440033, 0.428372 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1061,11 +1089,11 @@ visible = false
position = Vector2( 445.291, 229.994 )
scale = Vector2( 0.5, 0.5 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
[node name="4" type="Sprite" parent="."]
visible = false
position = Vector2( 511.896, 299.9 )
texture = SubResource( 14 )
......@@ -1085,7 +1113,6 @@ __meta__ = {
position = Vector2( 463.814, 231.124 )
scale = Vector2( 0.5, 0.5 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1110,15 +1137,16 @@ __meta__ = {
position = Vector2( 26.6041, -1.41309 )
scale = Vector2( 0.45, 0.45 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
[node name="6" type="Sprite" parent="."]
visible = false
position = Vector2( 511.896, 299.9 )
texture = ExtResource( 6 )
[node name="dia 1" type="Panel" parent="6"]
modulate = Color( 1, 1, 1, 0 )
margin_left = -60.4603
margin_top = -164.054
margin_right = 392.54
......@@ -1134,6 +1162,7 @@ visible = false
position = Vector2( 404.26, 40.9534 )
scale = Vector2( 0.45, 0.45 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1143,6 +1172,8 @@ margin_top = 20.5858
margin_right = 405.314
margin_bottom = 62.5858
custom_fonts/normal_font = SubResource( 17 )
visible_characters = 0
percent_visible = 0.0
text = "WAIT- NO- I HAVE DEADLINES!"
scroll_active = false
__meta__ = {
......@@ -1150,7 +1181,7 @@ __meta__ = {
}
[node name="dia 2" type="Panel" parent="6"]
modulate = Color( 1, 1, 1, 0 )
visible = false
margin_left = -14.5403
margin_top = -61.946
margin_right = 472.46
......@@ -1167,8 +1198,6 @@ margin_top = 17.0
margin_right = 469.324
margin_bottom = 93.0
custom_fonts/normal_font = SubResource( 19 )
visible_characters = 0
percent_visible = 0.0
text = "I don’t know where to start. What do I need to work on again? I usually use my notebook for this, where is it?"
scroll_active = false
__meta__ = {
......@@ -1176,21 +1205,19 @@ __meta__ = {
}
[node name="Arrow" type="AnimatedSprite" parent="6/dia 2"]
visible = false
position = Vector2( 198.027, 81.9656 )
scale = Vector2( 0.45, 0.45 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.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 )
[node name="dia 1" type="Panel" parent="7"]
modulate = Color( 1, 1, 1, 0 )
margin_left = -305.152
margin_top = -142.382
margin_right = 147.848
......@@ -1214,10 +1241,44 @@ __meta__ = {
}
[node name="Arrow" type="AnimatedSprite" parent="7/dia 1"]
visible = false
position = Vector2( 415.246, 39.4551 )
scale = Vector2( 0.45, 0.45 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
[node name="Start" type="Sprite" parent="."]
position = Vector2( 512.033, 300.259 )
texture = ExtResource( 5 )
[node name="Start button" type="Button" parent="Start"]
margin_left = -395.757
margin_top = 112.622
margin_right = -160.757
margin_bottom = 191.622
custom_styles/hover = SubResource( 21 )
custom_styles/pressed = SubResource( 25 )
custom_styles/normal = SubResource( 22 )
custom_fonts/font = SubResource( 24 )
text = "START"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RichTextLabel" type="RichTextLabel" parent="Start"]
anchor_bottom = 0.492
margin_left = -387.59
margin_top = 63.0453
margin_right = -167.59
margin_bottom = -178.155
custom_fonts/normal_font = ExtResource( 11 )
custom_colors/default_color = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
bbcode_enabled = true
bbcode_text = "by Dirk Reyes, Julia Santos, and Andie Tsai"
text = "by Dirk Reyes, Julia Santos, and Andie Tsai"
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Start/Start button" to="Scene control" method="_on_Button_pressed"]
......@@ -1357,6 +1357,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 )
......@@ -1364,7 +1365,6 @@ shape = SubResource( 9 )
[node name="1" type="Sprite" parent="."]
visible = false
modulate = Color( 1, 1, 1, 0 )
position = Vector2( 512.088, 301.393 )
texture = ExtResource( 2 )
......@@ -1385,8 +1385,6 @@ margin_right = 271.348
margin_bottom = 66.5902
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/normal_font = SubResource( 11 )
visible_characters = 0
percent_visible = 0.0
text = "Okay, so I should do my laundry now,"
scroll_active = false
__meta__ = {
......@@ -1394,7 +1392,6 @@ __meta__ = {
}
[node name="dia 2" type="Panel" parent="1"]
modulate = Color( 1, 1, 1, 0 )
margin_left = 288.216
margin_top = 83.8857
margin_right = 398.216
......@@ -1408,6 +1405,7 @@ __meta__ = {
position = Vector2( 80.4618, 38.7292 )
scale = Vector2( 0.6, 0.6 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1418,8 +1416,6 @@ margin_right = 88.1224
margin_bottom = 72.4899
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/normal_font = SubResource( 11 )
visible_characters = 0
percent_visible = 0.0
text = "But..."
__meta__ = {
"_edit_use_anchors_": false
......@@ -1459,6 +1455,7 @@ __meta__ = {
position = Vector2( 289.456, 38.1354 )
scale = Vector2( 0.35, 0.35 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1476,6 +1473,7 @@ __meta__ = {
position = Vector2( 351.228, 33.5649 )
scale = Vector2( 0.35, 0.35 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1532,11 +1530,11 @@ __meta__ = {
position = Vector2( 172.67, 59.6554 )
scale = Vector2( 0.35, 0.35 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
[node name="5" type="Sprite" parent="."]
visible = false
position = Vector2( 511.116, 300.236 )
texture = ExtResource( 7 )
......@@ -1574,7 +1572,6 @@ visible = false
position = Vector2( 281.004, 61.5689 )
scale = Vector2( 0.35, 0.430991 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1612,7 +1609,6 @@ __meta__ = {
position = Vector2( 299.163, 64.5689 )
scale = Vector2( 0.35, 0.430991 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1642,8 +1638,6 @@ 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."
visible_characters = 78
percent_visible = 0.332438
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__ = {
......@@ -1651,12 +1645,10 @@ __meta__ = {
}
[node name="Arrow" type="AnimatedSprite" parent="6/dia 2/RichTextLabel"]
visible = false
modulate = Color( 0.168627, 0.156863, 0.219608, 0.937255 )
position = Vector2( 75.1358, 124.982 )
position = Vector2( 138.632, 124.982 )
scale = Vector2( 0.35, 0.430991 )
frames = SubResource( 12 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -1685,5 +1677,6 @@ 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
......@@ -2076,7 +2076,7 @@ tracks/28/keys = {
}
[sub_resource type="Animation" id=10]
length = 2.5
length = 3.6
tracks/0/type = "value"
tracks/0/path = NodePath("1:visible")
tracks/0/interp = 1
......@@ -2456,10 +2456,10 @@ tracks/31/loop_wrap = true
tracks/31/imported = false
tracks/31/enabled = true
tracks/31/keys = {
"times": PoolRealArray( 0, 0.1, 0.7, 0.9, 1.5, 1.7, 2.5 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
"times": PoolRealArray( 0, 0.1, 1.1, 1.3, 2.2 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0, 0.31, 0.31, 0.62, 0.62, 1.0 ]
"values": [ 0.0, 0.0, 0.49, 0.49, 1.0 ]
}
tracks/32/type = "value"
tracks/32/path = NodePath("16/dia 2/Arrow:visible")
......@@ -2468,7 +2468,67 @@ tracks/32/loop_wrap = true
tracks/32/imported = false
tracks/32/enabled = true
tracks/32/keys = {
"times": PoolRealArray( 0, 2.4, 2.5 ),
"times": PoolRealArray( 0, 2.4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ false, false ]
}
tracks/33/type = "value"
tracks/33/path = NodePath("16/dia 3:visible")
tracks/33/interp = 1
tracks/33/loop_wrap = true
tracks/33/imported = false
tracks/33/enabled = true
tracks/33/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/34/type = "value"
tracks/34/path = NodePath("16/dia 3:modulate")
tracks/34/interp = 1
tracks/34/loop_wrap = true
tracks/34/imported = false
tracks/34/enabled = true
tracks/34/keys = {
"times": PoolRealArray( 0, 2.2, 2.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
tracks/35/type = "value"
tracks/35/path = NodePath("16/dia 3/RichTextLabel:visible")
tracks/35/interp = 1
tracks/35/loop_wrap = true
tracks/35/imported = false
tracks/35/enabled = true
tracks/35/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/36/type = "value"
tracks/36/path = NodePath("16/dia 3/RichTextLabel:percent_visible")
tracks/36/interp = 1
tracks/36/loop_wrap = true
tracks/36/imported = false
tracks/36/enabled = true
tracks/36/keys = {
"times": PoolRealArray( 0, 2.5, 3.6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0, 1.0 ]
}
tracks/37/type = "value"
tracks/37/path = NodePath("16/dia 3/Arrow:visible")
tracks/37/interp = 1
tracks/37/loop_wrap = true
tracks/37/imported = false
tracks/37/enabled = true
tracks/37/keys = {
"times": PoolRealArray( 0, 3.5, 3.6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ false, false, true ]
......@@ -11569,7 +11629,6 @@ visible = false
position = Vector2( 502.473, 294.831 )
scale = Vector2( 0.4, 0.4 )
frames = SubResource( 38 )
frame = 9
speed_scale = 1.8
playing = true
......@@ -12156,17 +12215,15 @@ speed_scale = 0.7
playing = true
[node name="16" type="Sprite" parent="."]
visible = false
position = Vector2( 511.234, 302.628 )
scale = Vector2( 0.49534, 0.49534 )
texture = ExtResource( 6 )
[node name="dia 1" type="Panel" parent="16"]
modulate = Color( 1, 1, 1, 0 )
margin_left = 280.0
margin_top = -492.0
margin_right = 1013.0
margin_bottom = -285.0
margin_left = -976.513
margin_top = -509.805
margin_right = -243.513
margin_bottom = -302.805
custom_styles/panel = SubResource( 94 )
__meta__ = {
"_edit_use_anchors_": false
......@@ -12180,8 +12237,6 @@ margin_bottom = 215.34
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 95 )
custom_fonts/normal_font = SubResource( 96 )
visible_characters = 0
percent_visible = 0.0
text = "Oh yeah. My therapist told me that everyone has 'cognitive flexibility', which lets them adapt to changes."
scroll_active = false
__meta__ = {
......@@ -12198,37 +12253,70 @@ speed_scale = 0.7
playing = true
[node name="dia 2" type="Panel" parent="16"]
visible = false
margin_left = -990.666
margin_top = 56.5456
margin_right = -313.666
margin_bottom = 367.546
margin_left = 423.074
margin_top = -345.421
margin_right = 976.074
margin_bottom = -75.4211
custom_styles/panel = SubResource( 97 )
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="RichTextLabel" type="RichTextLabel" parent="16/dia 2"]
anchor_left = -1.22462e-08
anchor_top = -1.27157e-08
margin_left = 67.0
margin_top = 46.0
margin_right = 642.0
margin_bottom = 274.0
margin_left = 69.6033
margin_top = 50.9353
margin_right = 519.603
margin_bottom = 240.935
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 98 )
custom_fonts/normal_font = SubResource( 99 )
text = "So whenever I'm having a hard time multitasking, switching tasks & finding alternative solutions... that means something is hindering my cognitive flexibility..."
text = "So whenever I'm having a hard time multitasking, switching tasks & finding alternative solutions... "
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Arrow" type="AnimatedSprite" parent="16/dia 2"]
position = Vector2( 491.928, 252.067 )
visible = false
position = Vector2( 451.231, 218.4 )
scale = Vector2( 0.8, 0.8 )
frames = SubResource( 66 )
speed_scale = 0.7
playing = true
[node name="dia 3" type="Panel" parent="16"]
margin_left = 479.387
margin_top = -33.9348
margin_right = 1003.39
margin_bottom = 204.065
custom_styles/panel = SubResource( 97 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RichTextLabel" type="RichTextLabel" parent="16/dia 3"]
anchor_left = -1.22462e-08
anchor_top = -1.27157e-08
margin_left = 65.2059
margin_top = 54.7936
margin_right = 515.206
margin_bottom = 244.794
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 98 )
custom_fonts/normal_font = SubResource( 99 )
text = "That means something is hindering my cognitive flexibility..."
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Arrow" type="AnimatedSprite" parent="16/dia 3"]
position = Vector2( 270.815, 171.679 )
scale = Vector2( 0.8, 0.8 )
frames = SubResource( 66 )
frame = 1
speed_scale = 0.7
playing = true
......@@ -12305,6 +12393,7 @@ speed_scale = 0.7
playing = true
[node name="dia 3" type="Panel" parent="17"]
modulate = Color( 1, 1, 1, 0 )
margin_left = 222.892
margin_top = 299.979
margin_right = 921.892
......@@ -12323,6 +12412,8 @@ margin_bottom = 267.087
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 103 )
custom_fonts/normal_font = SubResource( 104 )
visible_characters = 0
percent_visible = 0.0
text = "Ms. Therapist told me how bad my cognitive flexibility is when I'm stressed… Oops."
scroll_active = false
__meta__ = {
......@@ -12330,6 +12421,7 @@ __meta__ = {
}
[node name="Arrow" type="AnimatedSprite" parent="17/dia 3"]
visible = false
position = Vector2( 440.88, 166.777 )
scale = Vector2( 0.8, 0.8 )
frames = SubResource( 66 )
......@@ -12387,11 +12479,13 @@ scale = Vector2( 0.49534, 0.49534 )
texture = ExtResource( 14 )
[node name="20" type="Sprite" parent="."]
visible = false
position = Vector2( 508.714, 303.888 )
scale = Vector2( 0.49534, 0.49534 )
texture = ExtResource( 33 )
[node name="dia 1" type="Panel" parent="20"]
modulate = Color( 1, 1, 1, 0 )
margin_left = 282.016
margin_top = 41.9922
margin_right = 933.016
......@@ -12410,6 +12504,8 @@ margin_bottom = 147.0
rect_pivot_offset = Vector2( -1182.04, -589.897 )
custom_fonts/bold_font = SubResource( 106 )
custom_fonts/normal_font = SubResource( 107 )
visible_characters = 0
percent_visible = 0.0
text = "Much better... Okay. So what’s making it hard right now?"
scroll_active = false
__meta__ = {
......@@ -12417,6 +12513,7 @@ __meta__ = {
}
[node name="Arrow" type="AnimatedSprite" parent="20/dia 1"]
visible = false
position = Vector2( 512.313, 121.782 )
scale = Vector2( 0.8, 0.8 )
frames = SubResource( 66 )
......
......@@ -78,7 +78,7 @@ func _groceries_put_away(): # when the groceries are put away
groceries = true
laundryArea.get_node("Laundry door").flavorText = "I think I'm still missing something..."
inventory.add_item("Oil", load("res://.import/Oil.png-29f84e969418d0f4084115c5ce859866.stex"))
inventory.add_item("Cleaning mat", load("res://.import/cleaning materials.png-9e1abb8a1d84afe3085c773f150c7347.stex"))
inventory.add_item("Cleaning materials", load("res://.import/cleaning materials.png-9e1abb8a1d84afe3085c773f150c7347.stex"))
inventory.add_item("Laundry detergent",load("res://.import/soap.png-93c3e5ae993592d84ef303c214def992.stex"))
func _eaten(): # completing first "Eat" quest
......@@ -217,7 +217,7 @@ func getGroceries():
func _enter_notebook_laundry(): # trying to engage in the notebook puzzle for doing laundry
if !quests.hasQuest("Do laundry"):
return "Let me let the washing machine do its thing."
return "Let's just let the machine do its job."
elif groceries: # if the groceries have been put away
if clothes == 4:
laundryArea.hide()
......@@ -245,6 +245,7 @@ func _laundry_finished(): # finishing notebook puzzle for laundry
quests.finishQuest("Do laundry")
inventory.remove_item_name("Dirty clothes")
inventory.remove_item_name("Laundry detergent")
laundryArea.get_node("Laundry door").flavorText = "Let's just let the machine do its job."
func _return_laundry_notepad(): # exiting laundry notebook puzzle
zoom_out()
......
......@@ -56,7 +56,6 @@ scale = Vector2( 1.20085, 1.20085 )
polygon = PoolVector2Array( 59.1611, -13.2337, -89.3476, -8.72495, -94.7018, 35.2359, -108, 35.6, -290.254, -99.8743, -288.761, -187.949, -260.4, -194.4, -269.355, -299.907, 66.8201, -299.31 )
[node name="Sprite" type="Sprite" parent="Other balcony/Hitbox"]
scale = Vector2( 1, 1 )
texture = ExtResource( 3 )
[node name="Nana from afar" type="StaticBody2D" parent="."]
......
......@@ -116,7 +116,7 @@ z_index = 1
input_pickable = true
script = ExtResource( 12 )
interactable = true
flavorText = "Hello, my little yellow daughter."
flavorText = "Hello, my little yellow daughter. My tiny baby. My sweet darling Banana."
[node name="h" type="CollisionShape2D" parent="Terrarium"]
visible = false
......
......@@ -613,7 +613,6 @@ __meta__ = {
}
[node name="Cutscenes" type="Node2D" parent="."]
visible = false
z_index = 2
[node name="0" parent="Cutscenes" instance=ExtResource( 42 )]
......
......@@ -6,26 +6,11 @@ func _ready():
func interaction(selected, clicked): #selected = item in inventory, clicked = item in environment
match clicked:
"Laundry basket":
"Laptop":
match selected:
"Shirt", "Towel", "Pants", "Sando":
return "Into the basket you go."
"Placeholder 2":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 2"
"Placeholder 3":
return "Using Placeholder 3 on 2"
"Placeholder 3":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 3"
"Placeholder 2":
return "Using Placeholder 1 on 3"
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
"To do list":
return "Wrong notes! I don't think I can use this in my Lab. Where did I put those sticky notes?"
"Cellphone":
return "Using my phone to watch more videos is just gonna distract me. Though, I have been meaning to watch that new Yoga video."
"Oil", "Cleaning materials":
return "I do NOT think my laptop would like that. I certainly wouldn't!"
......@@ -14,9 +14,9 @@ func interaction(selected, clicked): #selected = item in inventory, clicked = it
"Toilet":
match selected:
"Cleaning materials":
return "Clean as a whistle, for now."
"Placeholder 3":
return "Using Placeholder 3 on 2"
return "Toilet seems clean enough... on the outside. Now, to get rid of what's clogging it."
"Tabo with water":
return "I don't think more water is going to help!"
"Sink":
match selected:
......@@ -25,6 +25,11 @@ func interaction(selected, clicked): #selected = item in inventory, clicked = it
"Placeholder 2":
return "Using Placeholder 1 on 3"
"Mess on floor":
match selected:
"Oil":
return "I don't wanna make this mess worse! I'll just end up slipping!"
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
......@@ -6,16 +6,22 @@ func _ready():
func interaction(selected, clicked): #selected = item in inventory, clicked = item in environment
match clicked:
"Laundry basket":
"Neighbor":
match selected:
"Shirt", "Towel", "Pants", "Sando":
return "Into the basket you go."
"To do list":
return "I don't think Brodie would care about how busy I am today."
"Cellphone":
return "Hey! What I do on my phone is none of his business!"
"Oil":
return "He's not necessairly what I'm trying to make quiet. Though it is very tempting sometimes."
"Scissors":
return "I'm not looking to get arrested here! ...Not today."
"Placeholder 2":
"Ladder":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 2"
"Screwdriver":
return "Hmmmm the screws aren't loose, but they do look a bit rusty."
"Placeholder 3":
return "Using Placeholder 3 on 2"
......
......@@ -10,11 +10,26 @@ func interaction(selected, clicked): #selected = item in inventory, clicked = it
match selected:
"Oil":
return "It's not really rusty, I think the whole hinge is broken. I'll need to unscrew the whole thing to get the door off!"
"Placeholder 2":
return "Using Placeholder 2 on A"
"Placeholder 3":
return "Using Placeholder 3 on A"
"Cleaning materials":
return "I don't think soap will loosen this cabinet door. I think the whole hinge is broken. I'll need to unscrew the whole thing to get the door off!"
"Bobby pins":
return "I think the whole hinge is broken. I'll need to unscrew the whole thing to get the door off! Sorry bobby pins... I don't think you can handle this job. Maybe next time."
"Fridge":
match selected:
"Dirty clothes":
return "Better not stick that in there, unless you want frozen clothes."
_:
return "I'm not interested in playing 'Will It Freeze?' today."
"Granola bar":
match selected:
"Nana":
return "Nope! Can't feed a lizard that, that's people food! Her food should be in one of those cabinets."
"Sink":
match selected:
"Dirty clothes":
return "I'm not handwashing all of these clothes! I'd get this done faster if I use the laundry room."
"Nana":
return "I don't think Nana needs a bath."
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
......
......@@ -14,12 +14,18 @@ func interaction(selected, clicked): #selected = item in inventory, clicked = it
#return eventHandler._enter_notebook_laundry()
"Dirty clothes", "Laundry detergent":
return "I'm not sure how to start this. What did my therapist say again..?"
"Cleaning materials":
return "I don't think this needs cleaning... There are way messier rooms. Trust me."
"Oil":
return "The door works just fine."
_:
"The groceries are still in the way."
return "I don't think that would be helpful."
"Groceries":
match selected:
"Stool":
return "This apartment was made for tall people. Sigh.\n(You put your groceries away on the shelf.)"
"To do list", "Dirty clothes":
return "I don't think standing on this will make me tall enough to put the groceries away..."
func passEvent(handler):
eventHandler = handler
......
......@@ -8,29 +8,28 @@ func interaction(selected, clicked): #selected = item in inventory, clicked = it
match clicked:
"Laundry basket":
match selected:
"Shirt", "Towel", "Pants", "Sando":
return "Into the basket you go."
"Dirty clothes":
return "Nope. Gotta wash these clothes today or else I'll just end up with a mountain of clothes in my room..."
"To do list":
return "I just lost it there. I'm not letting it drown in clothes again."
_:
return "That's not the place to keep this."
"Terrarium":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 2"
"Placeholder 3":
return "Using Placeholder 3 on 2"
"Pile of clothes":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 3"
"Placeholder 2":
return "Using Placeholder 1 on 3"
"Oil":
return "I don't THINK lizards eat that, do they?"
_:
return "Let's not clutter up little Banana's home."
"Laptop":
match selected:
"Placeholder 1":
return "Using Placeholder 1 on 3"
"Placeholder 2":
return "Using Placeholder 1 on 3"
"To do list":
return "Wrong notes! I don't think I can use this in my Lab. Where did I put those sticky notes?"
"Cellphone":
return "Using my phone to watch more videos is just gonna distract me. Though, I have been meaning to watch that new Yoga video."
"Oil", "Cleaning materials":
return "I do NOT think my laptop would like that. I certainly wouldn't!"
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
......@@ -12,7 +12,7 @@ func objInteraction(selected): # when an object is used on it
if typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "That's not going to make me any taller." #can replace this later!
dialogueBox.playText()
if inventory.get_item_text(selected)=="Stool":
inventory.remove_item(selected)
......
......@@ -20,7 +20,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
else:
dialogueBox.text = "Brodie: Um... What are you doing?"
get_parent().get_node("Dialogue arrow").setScene("Intro")
......
......@@ -42,8 +42,9 @@ func objInteraction(selected): # when an object is used on it
dialogueBox.playText()
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
dialogueBox.playText()
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
......@@ -30,7 +30,7 @@ func objInteraction(selected):
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
func mouseInteraction():
......
......@@ -39,7 +39,7 @@ func objInteraction(selected):
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
func gotNote(): # once lab note has been retrieved
......
......@@ -34,7 +34,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
func outerLock():
......
......@@ -40,7 +40,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
func doesHaveNana():
......
......@@ -10,11 +10,11 @@ func passEvent(handler):
func objInteraction(selected): # when an object is used on it
var flavor = control.interaction(inventory.get_item_text(selected), self.get_name())
if inventory.get_item_text(selected) == "Plunger":
dialogueBox.text = "I can't believe that actually worked?!"
dialogueBox.text = "I can't believe that actually worked?! This plunger has some STRONG suction!"
emit_signal("plunger")
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
......@@ -19,5 +19,5 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
......@@ -35,5 +35,5 @@ func objInteraction(selected):
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "This doesn't need washing." #can replace this later!
dialogueBox.playText()
......@@ -19,6 +19,6 @@ func objInteraction(selected):
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
......@@ -24,7 +24,7 @@ func objInteraction(selected): # when an object is used on it
elif typeof(flavor) != 0: #checks if there's coded flavor text for this interaction
dialogueBox.text = flavor
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "I don't think that would help." #can replace this later!
dialogueBox.playText()
func canYoga():
......
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Scripts/Dialogue control/Dialogue Contro - Living room.gd" type="Script" id=1]
[ext_resource path="res://Scripts/Dialogue control/Dialogue Contro - Desk.gd" type="Script" id=1]
[ext_resource path="res://assets/Thesis Clickables/laptop desk.png" type="Texture" id=2]
[ext_resource path="res://Scripts/Desk_laptop.gd" type="Script" id=3]
[ext_resource path="res://Scripts/Movement scripts/Return_laptop.gd" type="Script" id=4]
......
[gd_resource type="DynamicFont" load_steps=2 format=2]
[sub_resource type="DynamicFontData" id=1]
[sub_resource type="DynamicFontData" id=23]
font_path = "res://assets/Fonts/BeVietnamPro-Bold.ttf"
[resource]
font_data = SubResource( 1 )
font_data = SubResource( 23 )
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Start.png-32059e95b8f435b776d2ab2896f429ad.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Start.png"
dest_files=[ "res://.import/Start.png-32059e95b8f435b776d2ab2896f429ad.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
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