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
c5df099c
Commit
c5df099c
authored
Nov 30, 2021
by
Julia Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Balcony is now locked until unlocked with bobby pins
parent
3c003a6b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
Multi.tscn
Multi.tscn
+3
-0
Balcony door.gd
Scripts/Movement scripts/Balcony door.gd
+2
-1
project.godot
project.godot
+4
-0
No files found.
Multi.tscn
View file @
c5df099c
...
@@ -161,6 +161,9 @@ __meta__ = {
...
@@ -161,6 +161,9 @@ __meta__ = {
position = Vector2( 474.699, 104.779 )
position = Vector2( 474.699, 104.779 )
input_pickable = true
input_pickable = true
script = ExtResource( 16 )
script = ExtResource( 16 )
__meta__ = {
"_edit_group_": true
}
[node name="Panel" type="Panel" parent="UI/To do"]
[node name="Panel" type="Panel" parent="UI/To do"]
margin_right = 287.0
margin_right = 287.0
...
...
Scripts/Movement scripts/Balcony door.gd
View file @
c5df099c
...
@@ -27,7 +27,8 @@ func objInteraction(selected): # when an object is used on it
...
@@ -27,7 +27,8 @@ func objInteraction(selected): # when an object is used on it
dialogueBox.text = flavor
dialogueBox.text = flavor
else:
else:
dialogueBox.text = "No flavor text found" #can replace this later!
dialogueBox.text = "No flavor text found" #can replace this later!
if selected.get_name() == "Bobby pin": # unlocking the door with a bobby pin
if inventory.get_item_text(selected) == "Bobby Pins": # unlocking the door with a bobby pin
dialogueBox.text = "I can't believe that actually worked?!"
emit_signal("enter")
emit_signal("enter")
unlocked = true
unlocked = true
inventory.unselect_all() #unselect item
inventory.unselect_all() #unselect item
...
...
project.godot
View file @
c5df099c
...
@@ -14,6 +14,10 @@ config/name="Thesis practice"
...
@@ -14,6 +14,10 @@ config/name="Thesis practice"
run/main_scene="res://Multi.tscn"
run/main_scene="res://Multi.tscn"
config/icon="res://assets/189066690_228150108704696_3850052974465333899_n.png"
config/icon="res://assets/189066690_228150108704696_3850052974465333899_n.png"
[display]
window/size/resizable=false
[physics]
[physics]
common/enable_pause_aware_picking=true
common/enable_pause_aware_picking=true
...
...
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