This reversion undoes the changes made in the original pull request (PR #313). Alongside reverting the previous PR, this update includes the following new features and their associated testing:
Monkey Banana Throwing:
Feature Addition:
Implemented a new mechanic where the monkey enemy can throw bananas as projectiles toward the player. These bananas cause damage upon collision, adding a ranged attack element to the monkey's behavior.
Tasks Completed:
Developed the banana projectile mechanics, including its trajectory, collision detection, and damage calculation.
Created animations for the monkey during the throwing action, as well as sound effects for enhanced gameplay experience.
Testing:
Unit tests were developed to validate the banana-throwing functionality, ensuring that the bananas follow the intended trajectory and deal the correct amount of damage.
Integration tests were conducted to check how the banana-throwing interacts with other gameplay elements, such as player defenses and environment objects.
Bear Enemy NPC:
Feature Addition:
Added a new bear enemy NPC with distinct behaviors, such as charging attacks and varying between neutral and hostile states based on the player's actions.
Tasks Completed:
Implemented the bear’s different states: idle, walking, roaring, and attacking. The bear's attack mechanics, particularly the charge move, were fine-tuned to create a challenging gameplay element.
Developed dialogues and interactions to allow different outcomes based on player choices, providing depth to the gameplay.
Testing:
Created test cases to validate the bear NPC's state transitions, ensuring smooth switching between idle, attack, and other behaviors.
Performance tests were conducted to ensure the new bear NPC does not cause frame drops or other performance issues when rendered alongside other NPCs or elements.
Verified that interactions and dialogues with the bear work as expected, with correct branching outcomes based on player choices.
Reverts
UQcsse3200/2024-studio-2#313
:This reversion undoes the changes made in the original pull request (
PR #313
). Alongside reverting the previous PR, this update includes the following new features and their associated testing:Monkey Banana Throwing:
Feature Addition:
Tasks Completed:
Testing:
Bear Enemy NPC:
Feature Addition:
Tasks Completed:
Testing: