Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Team 4] Mob Interactions with Towers via Projectiles #31

Closed
14 tasks done
meganroxburgh opened this issue Aug 14, 2023 · 0 comments
Closed
14 tasks done

[Team 4] Mob Interactions with Towers via Projectiles #31

meganroxburgh opened this issue Aug 14, 2023 · 0 comments

Comments

@meganroxburgh
Copy link
Contributor

meganroxburgh commented Aug 14, 2023

Description

Task: Mob Interactions with Towers .
Feature: General Mobs
This task will implement how the mobs will interact with tower entities in the game. Mobs will move across the map and when they are within a certain x-coordinate distance of a tower, they will shoot their projectile to attack that tower. An event handler will be used which will be triggered when the mob is within a certain radius of the tower. If it is not yet within this radius, then it will not shoot its projectile and will continue to move forward through the map.

Example (optional)

  • The mob will be moving along their lane and for example, when they are 3 (this value may change) grid squares, away from a placed tower entity, the mob will begin shooting its projectile at the tower, causing the tower to take damage. If enough damage is taken, then the tower will be removed from the game.

Dependencies

List any tasks on which this ticket relies. If there is already an existing ticket, reference it using #xx. If a task needs to be implemented, and the issue does not already exist, make a new ticket and leave it unassigned for someone else to take on. Ensure other team members are aware of the issue.

This task is dependent on the mob movement (#29 ) and mob entity base class creation (#23 ). Once the initial functionality has been implemented, which causes some action to occur when the mob is within a certain radius of another object, this task will need to be incorporated with the tower interactions (#11 ) and projectiles (#7 ).

Milestones

List of steps that need to be completed for this task.

  • Initial creation, alter the current ChaseTask to make the ghosts perform a different task (print) when they are in range of the player (Aug. 25)
  • Remove the chase task functionality so ghosts only cause the print statement and no longer chase when in range (Aug. 25)
  • Initial testing of altering the ChaseTask (Aug. 25)
  • Wiki documentation for altering the ChaseTask (Aug. 25)
  • Incorporate with the mob base entity class rather than the ghost entity (Aug. 26)
  • Testing with the mob base entity class (Aug. 26)
  • Wiki documentation for incorporation with mob base entity class (Aug. 26)
  • Incorporate with mob movement (Aug. 27)
  • Testing with mob movement (Aug. 27)
  • Wiki documentation for general mobs (Aug. 27)

Completion Deadline: Aug. 29

Documentation

Member

@meganroxburgh meganroxburgh added this to the Sprint 1 milestone Aug 14, 2023
@meganroxburgh meganroxburgh self-assigned this Aug 14, 2023
@meganroxburgh meganroxburgh changed the title Mob Interactions with Towers [Team 4] Mob Interactions with Towers Aug 14, 2023
@max9753 max9753 self-assigned this Aug 16, 2023
@meganroxburgh meganroxburgh moved this to In Progress in 2023 Studio 3 Project Aug 23, 2023
@meganroxburgh meganroxburgh changed the title [Team 4] Mob Interactions with Towers [Team 4] Mob Interactions with Towers via Projectiles Aug 25, 2023
@meganroxburgh meganroxburgh moved this from In Progress to Done in 2023 Studio 3 Project Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants