Actions
Task ARCH-3
closedEpic ARCH-149: Player Actions / Interactivity
Player Movement & Teleporting
Status:
Done
Assignee:
Priority:
High
Parent task:
Due date:
Start date:
02/10/2025
Sprint:
-
Estimated time:
1:30 h
Target version:
Category:
Player Actions / Interactivity
Story point estimate:
-
Description
User Story¶
As a player, I want to move freely an teleport short distances, so that I can quickly reposition and avoid enemy attacks using magic.
Description¶
- Players move using WASD or arrow keys.
- Instead of sprinting, players can teleport a short distance using magic.
- Teleportation consumes a small amount of mana.
- There is a cooldown to prevent spamming
Test Cases¶
- Verify that movement inputs (WASD/arrow keys) respond correctly.
- Ensure that teleportation is triggered when the teleport key is pressed.
- Validate that teleportation moves the player a fixed distance.
- Confirm that teleportation works in all directions (forward, backward, left, right).
- Check that teleportation is blocked by walls or obstacles.
- Ensure that teleportation fails when mana is insufficent.
- Validate that teleportation cooldown prevents repeated use.
Actions