Actions
Task #217
closedUser Story #368: Mechanics
Trigger Game Events by Holding Down Buttons
Start date:
02/17/2025
Due date:
02/23/2025
% Done:
0%
Estimated time:
Story Points:
Difficulty:
Medium
Blocked:
Yes
Sprint:
Description
User Story¶
As a player, I want to hold down a button to activate certain mechanics, so that I can charge spells, interact with objects, or trigger delayed events.
Description¶
- Some actions require holding a button instead of a single press.
- Holding a button can charge spells, increasing their power.
- Certain mechanisms or doors require sustained input (e.g., standing on a pressure plate).
- Some puzzles require multiple buttons to be held simultaneously.
Test Cases¶
- Verify that holding a button increases the charge level of applicable spells.
- Ensure that charged spells release at full power if fully charged.
- Confirm that interactive objects (e.g., pressure plates, mechanisms) activate only while the button is held.
- Validate that multi-button puzzles require all inputs to be held simultaneously to work.
- Ensure that charged abilities cancel if the button is released early.
- Check that UI feedback (e.g., glowing effects, charge meters) updates properly when holding a button.
Actions