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 1] Projectile Interactions With Enemies #14

Closed
11 tasks done
freshc0w opened this issue Aug 12, 2023 · 0 comments
Closed
11 tasks done

[Team 1] Projectile Interactions With Enemies #14

freshc0w opened this issue Aug 12, 2023 · 0 comments
Assignees
Labels

Comments

@freshc0w
Copy link
Contributor

freshc0w commented Aug 12, 2023

Description

Task: Handle Projectile-Enemy based interaction (Collision).
Feature: Projectiles

This task revolves around the implementation of the projectile-enemy based interactions and collision mechanisms within the defense game. This will be parent class that houses the Projectile object, allowing adaptable and flexible interactions between other entities. The goal is to ensure that launched projectiles accurately collide with enemy entities while considering hitbox calculations. Additionally, the task also deals with the mechanics for the damage dealt and/or effects applied upon collision.

Example

  • Projectile-Enemy Interaction: After firing a projectile from a tower, the projectile will travel in a linear fashion. Upon hitting another entity that is classified as an 'enemy', the projectile's collision mechanism will ensure it accurately hits the enemy. This will trigger a series of events, such as dealing a set amount of damage to the specified entity. (Possibly apply status effects like slowing or burning..)

Dependencies

Milestones

  • Collaborate with mob teams and single-projectile team to determine hitboxes. (Aug. 15)
  • Design and implement the Projectile-enemy collision logic (Aug. 20)
  • Testing finished for 'isColliding' mechanism with various projectile speeds and different hitboxes. (Aug. 23)
  • Collision class designed and implemented. Also develop and instantiate default "enemies" and "friendly" entities. e.g. Projectiles shot from towers shouldn't affect other towers. (Aug. 24)
  • Junit tests implemented for Collision with "friendly" and "enemy" entities. (Aug 25).
  • Finish testing and documentation for collision. (Aug 27).

Completion Deadline: Aug. 27

Documentation

Member

  • Chia-Chuan Tsou (@freshc0w) (Chia-Chuan Tsou)
@freshc0w freshc0w added the task label Aug 12, 2023
@freshc0w freshc0w changed the title Projectile Interactions With Enemies [Team 1] Projectile Interactions With Enemies Aug 12, 2023
@freshc0w freshc0w self-assigned this Aug 12, 2023
@MiniSoda17 MiniSoda17 added the enhancement New feature or request label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants