diff --git a/files/instructions.txt b/files/instructions.txt index e909cc0..d989286 100644 --- a/files/instructions.txt +++ b/files/instructions.txt @@ -16,7 +16,7 @@ d or right arrow: move right w or up arrow: jump s or down arrow: duck Control: attack -Space: hold to run. +Space or shift: hold to run. f or alt: throw jack O'lantern c: check bone dust e: Check currently wielded weapon. diff --git a/wicked_quest.py b/wicked_quest.py index 9193b47..9a93ae5 100644 --- a/wicked_quest.py +++ b/wicked_quest.py @@ -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()