Jumping is now possible with spacebar
parent
13866edfd0
commit
4997a00be3
|
@ -5,7 +5,7 @@ from pygame.event import Event
|
|||
class KeyManager:
|
||||
KEY_LEFT: list[int] = [pygame.K_LEFT, pygame.K_a]
|
||||
KEY_RIGHT: list[int] = [pygame.K_RIGHT, pygame.K_d]
|
||||
KEY_UP: list[int] = [pygame.K_UP, pygame.K_w]
|
||||
KEY_UP: list[int] = [pygame.K_UP, pygame.K_w, pygame.K_SPACE]
|
||||
KEY_DOWN: list[int] = [pygame.K_DOWN, pygame.K_s]
|
||||
KEY_SPACE: list[int] = [pygame.K_SPACE]
|
||||
KEY_ESCAPE: list[int] = [pygame.K_ESCAPE]
|
||||
|
|
Loading…
Reference in New Issue