Commit e1a7f20a authored by Julia Santos's avatar Julia Santos

Minor cleanup

parent 05de96a6
...@@ -28,7 +28,6 @@ func getDialogue(): ...@@ -28,7 +28,6 @@ func getDialogue():
#sceneProgress = 0 #sceneProgress = 0
#get_parent().queue_free() # dont need that scene anymore #get_parent().queue_free() # dont need that scene anymore
tracking = false tracking = false
print("Deleting scene 2b")
return "Congrats, you win!" return "Congrats, you win!"
......
...@@ -10,7 +10,6 @@ func _ready(): ...@@ -10,7 +10,6 @@ func _ready():
func mouseInteraction(): func mouseInteraction():
dialogueBox.text = getDialogue(currentScene) dialogueBox.text = getDialogue(currentScene)
print("CLICKED")
func setScene(sname): func setScene(sname):
currentScene = sname currentScene = sname
......
...@@ -79,6 +79,7 @@ position = Vector2( 190.702, 295.083 ) ...@@ -79,6 +79,7 @@ position = Vector2( 190.702, 295.083 )
scale = Vector2( 0.997353, 0.98961 ) scale = Vector2( 0.997353, 0.98961 )
z_index = -1 z_index = -1
script = ExtResource( 3 ) script = ExtResource( 3 )
tracking = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="BG"] [node name="CollisionShape2D" type="CollisionShape2D" parent="BG"]
z_index = -1 z_index = -1
......
...@@ -7,14 +7,15 @@ func _ready(): ...@@ -7,14 +7,15 @@ func _ready():
pass pass
func set_path(room): func set_path(room):
print("Checking path set") #("Checking path set")
var roomPath = "res://Paths/" + room + ".tres" var roomPath = "res://Paths/" + room + ".tres"
var dir = Directory.new() var dir = Directory.new()
if dir.file_exists(roomPath): if dir.file_exists(roomPath):
get_parent().set_curve(load(roomPath)) get_parent().set_curve(load(roomPath))
print("Found path set") #print("Found path set")
else: else:
print("Error finding room path") #print("Error finding room path")
pass
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta): func _process(delta):
......
...@@ -10,7 +10,7 @@ func _ready(): ...@@ -10,7 +10,7 @@ func _ready():
pass # Replace with function body. pass # Replace with function body.
func checkWin(): func checkWin():
print("Checked win") #print("Checked win")
if clothes_in and soap and !drawer and !door: if clothes_in and soap and !drawer and !door:
emit_signal("laundry_finished") emit_signal("laundry_finished")
#print("Should win") #print("Should win")
......
...@@ -13,7 +13,7 @@ func mouseInteraction(): ...@@ -13,7 +13,7 @@ func mouseInteraction():
.mouseInteraction() .mouseInteraction()
dialogueArrow.setScene("Intro") dialogueArrow.setScene("Intro")
dialogueArrow.show() dialogueArrow.show()
print("Starting scene") #print("Starting scene")
else: else:
dialogueBox.text = "Brodie: Thank you for this I love her" dialogueBox.text = "Brodie: Thank you for this I love her"
inventory.add_item("Nana", load("res://.import/nana.png-3afacff9a6dfeb0ea38c0e651d0707be.stex")) inventory.add_item("Nana", load("res://.import/nana.png-3afacff9a6dfeb0ea38c0e651d0707be.stex"))
......
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