3 ms·
Looks like the creator is following a one-button game design philosophy. https://dev.to/abagames/how-to-realize-various-actions-in-a-one-button-game-fak https:
by pesfandiar 3y ago
Looks like the creator is following a one-button game design philosophy.
https://dev.to/abagames/how-to-realize-various-actions-in-a-one-button-game-fak https://dev.to/abagames/how-to-realize-various-actions-in-a-...
Source: https://github.com/abagames/crisp-game-lib/blob/master/src/input.ts https://github.com/abagames/crisp-game-lib/blob/master/src/i...
- jader201 3y agoThat may make sense for some games, but for a game that has two directions, it makes less sense. Probably better to completely disable the arrow keys -- or better, limit it to the spacebar -- to reinforce single-button design. Or, just intuitively support left & right.
- probotect0r 3y agoOn mobile, it works really well because all u have to do is tap to change the direction. They should just remove the arrow keys on web, as you said.
- bagels 3y agoOr, better, make them function as is the norm for every other game.