Skip to content

Negative Event: Require a keycard to open doors. #7

Description

@zoey-ahmed-uni

One of our new negative events will add keycards scattered around the map, to unlock different doors that lead to new areas within the map. When the player interacts with a locked door, it will check if the player has the corresponding keycard, and open the door and consume the key if the player does have the correct keycard. Otherwise, the door should stay closed.

Checklist items of keycards:

  • Add sprites for different keycards.
  • Add locked doors around the map.
  • Create a new interface for interact-able objects.
  • Create and complete new class for Keycard objects.
    • Add keycards to user inventory when the player interacts with them.
    • Add check when a locked door is interacted with, to check if the user has the corresponding keycard in their inventory to open the door.
  • Add key's around the map
  • Add unit tests for Keycard class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestHelp WantedExtra attention is neededNegative EventOne of 5 negative events.Tilemap/ArtworkEditing or creaing new sprites or maps.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions