Flappy: Allow using UP key to jump

This commit is contained in:
TQMatvey
2022-10-15 12:54:00 +07:00
parent 20c63664ca
commit 3a50021348
@@ -297,6 +297,10 @@ int32_t flappy_game_app(void* p) {
if(event.input.type == InputTypePress) {
switch(event.input.key) {
case InputKeyUp:
if(game_state->state == GameStateLife) {
flappy_game_flap(game_state);
}
break;
case InputKeyDown:
break;