Project

General

Profile

Actions

Task #83

closed

User Story #333: Player Actions / Interactivity

Player Movement & Teleporting

Added by Kenneth Schuetz 3 months ago. Updated 3 months ago.

Status:
Done
Priority:
High
Category:
Player Actions / Interactivity
Target version:
Start date:
02/10/2025
Due date:
% Done:

0%

Estimated time:
1:30 h
Story Points:
1
Difficulty:
Low
Blocked:
No

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

Also available in: Atom PDF