Added shift as an alternative run key.

This commit is contained in:
Storm Dragon
2025-02-15 14:37:11 -05:00
parent 0fa7cf825c
commit 9b08eaa1c2
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ class WickedQuest:
elif (not keys[pygame.K_s] and not keys[pygame.K_DOWN]) and player.isDucking:
player.stand()
player.isRunning = keys[pygame.K_SPACE]
player.isRunning = keys[pygame.K_SPACE] or keys[pygame.K_LSHIFT] or keys[pygame.K_RSHIFT]
# Get current speed (handles both running and jumping)
currentSpeed = player.get_current_speed()