Commit e1a7f20a authored by Julia Santos's avatar Julia Santos

Minor cleanup

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