Skip to content

Positive Event: Add a "Bob" projectile for the player to use to deploy against enimies. #5

Description

@zoey-ahmed-uni

One of our positive events is allowing the player to defend themselves by collecting projectiles, in the form of our beloved Bob from our Systems module, that can be stored then thrown at either the dean or hall monitors, to temporarily cause them to stop moving, giving players a chance to get past them.

The player should be allowed to hold up to 6 Bobs, and thrown when the player hits the space bar.

Checklist items for bob projectile:

  • Create a Bob sprite.
  • Create a new interface for interact-able objects.
  • The player class will need to be expanded to be able to store items.
  • Create and complete new class for Bob ground sprite.
    • Player should be able to collect Bob when interacted with (if their inventory is not full too).
    • Player should be able to throw the Bobs they have in their inventory, creating a new Bob projectile., removing one Bob from their inventory.
  • Create and complete new class for Bob projectile.
    • Move projectile a certain amount every frame.
    • Make projectile break (get disposed of) when it hits a wall/enemy.
    • Add slowing down effect to enemies the bob hits.
  • Add unit tests for Bob sprite + projectile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestHelp WantedExtra attention is neededPositive EventOne of 3 positive 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