Added shift as an alternative run key.
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user