Bug 805 - enemy jetfighter should only be allowed to move within a fixed screen
Summary: enemy jetfighter should only be allowed to move within a fixed screen
Status: RESOLVED DUPLICATE of bug 808
Alias: None
Product: CS3343 Group 07 SHOOTER GAME
Classification: Unclassified
Component: Enemy (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Assignee: Claire Poon
URL:
Depends on:
Blocks:
 
Reported: 2023-11-30 17:22 HKT by Claire Poon
Modified: 2023-11-30 22:28 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claire Poon 2023-11-30 17:22:22 HKT
jetfighter should only be allowed to move within fixed screen size .
expected behavior: when jetfighter move to left, should prevent it from coming out from the right. When it move outside of the border , it will not overflow.
Comment 1 Claire Poon 2023-11-30 22:14:40 HKT
[Description]
I have encountered a bug in my shooter game where the jetfighter's health score is incorrectly deducted when using Buff 2.0. According to the game's design, when the Buff 2.0 is used, it should only affect the enemy's health score and not reduce the jetfighter's health. However, when I activate the Buff 2.0, the jetfighter's health score is also reduced, resulting in an unintended decrease in the jetfighter's health.

[Steps to Reproduce]
1. Launch the shooter game.
2. Acquire and activate the Buff 2.0 power-up.
3. Observe the jetfighter's health score when colliding with enemies or obstacles.

[Actual Result]
When using the Buff 2.0, both the enemy's health score and the jetfighter's health score are reduced upon collision with enemies or obstacles. This behavior is inconsistent with the intended functionality of the Buff 2.0, which should only affect the enemy's health score.

[Expected Result]
The expected behavior when using the Buff 2.0 is as follows:
1. The Buff 2.0 power-up should only affect the enemy's health score when colliding with them.
2. The jetfighter's health score should remain unaffected and not be deducted when using the Buff 2.0.
3. The Buff 2.0 should provide an advantage by allowing the player to eliminate enemies and reduce their health score without compromising the jetfighter's health.
Comment 2 Claire Poon 2023-11-30 22:28:34 HKT

*** This bug has been marked as a duplicate of bug 808 ***