Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
To Do Break Down
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
breakdown
To Do Break Down
Commits
e1a7f20a
Commit
e1a7f20a
authored
Dec 11, 2021
by
Julia Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
05de96a6
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
Cutscene 3.gd
Cutscenes/Cutscene 3.gd
+0
-1
Dialogue arrow.gd
Dialogue arrow.gd
+0
-1
Test room 1.tscn
Main rooms/Test room 1.tscn
+1
-0
MoxieSprite.gd
MoxieSprite.gd
+4
-3
Dialogue control - Laundry notepad.gd
...ts/Dialogue control/Dialogue control - Laundry notepad.gd
+1
-1
Neighbor.gd
Scripts/Neighbor.gd
+1
-1
No files found.
Cutscenes/Cutscene 3.gd
View file @
e1a7f20a
...
@@ -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!"
...
...
Dialogue arrow.gd
View file @
e1a7f20a
...
@@ -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
...
...
Main rooms/Test room 1.tscn
View file @
e1a7f20a
...
@@ -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
...
...
MoxieSprite.gd
View file @
e1a7f20a
...
@@ -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):
...
...
Scripts/Dialogue control/Dialogue control - Laundry notepad.gd
View file @
e1a7f20a
...
@@ -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")
...
...
Scripts/Neighbor.gd
View file @
e1a7f20a
...
@@ -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"))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment