Add keycard pickup, keycard reader, and unlockable door #38
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BUGJam/pounce-game!38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "noahg/add-keycard-and-keycard-reader-unlockable-door"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements https://tasks.bugjam.dev/tasks/165
@ -5,0 +5,4 @@## The [b]local[/b] direction the player must be from this area to be able to interact with it.## [br]Must be set to one of [constant Vector3i.ZERO], [constant Vector3i.LEFT], [constant Vector3i.RIGHT], [constant Vector3i.UP], [constant Vector3i.DOWN], [constant Vector3i.FORWARD], or [constant Vector3i.BACK]## [br][b]Note:[/b] When set to [constant Vector3i.ZERO] this area can be interacted with from any direction@export var _interaction_direction: Vector3i = Vector3i.UP:Would this work better as an enum?
It definitely would! Thanks for the suggestion. I just made the change. I also added comments to each value to show which vector it is equivalent to in the editor hint. Hopefully it helps make it clearer how to deal with the two counter intuitive values of
FORWARDandBACKbecause of Godot's coordinate system having Z be negative for forward.3dc50d3e7btofbd80994c1