Continuous arrow keypresses
Dungeon Mercenary » Devlog
I've implemented handling of having the arrow keys continuously pressed. It was working already for the vim keys (hjkl) but I think it's important to have it for arrows, as most of you use arrows, and being able to stick to a direction is nice (when smooth). Here's the first trial:
Oops that's too fast! And then the final version (using the delta time since the last handled event to decide whether to perform a new move):
I'm quite happy with the result, it's super smooth and doesn't depend on the framerate (so it should work fine even if the game is lagging (which should never happen, but who knows..)).
Get Dungeon Mercenary
Download NowName your own price
Dungeon Mercenary
Modern ASCII roguelike - Can your mercenary beat the dungeon ?
Status | Released |
Author | smelc3 |
Genre | Role Playing |
Tags | ascii-art, Difficult, Dungeon Crawler, Fantasy, Perma Death, Procedural Generation, Roguelike, Singleplayer, Strategy RPG, Text based |
Languages | German, English |
Accessibility | Subtitles |
More posts
- My new game has its own page now: https://hgames.itch.io/pixel-card-warsAug 31, 2020
- Completing the boardJul 23, 2020
- Got board drawing workingApr 30, 2020
- Back to indie dev...Feb 06, 2020
- 2018 recapJan 01, 2019
- Released first demo of my second roguelike game: Rogue vs Evil -> https://hgames...Nov 24, 2018
- Coded a new pixelart procedural room: wizard officeNov 15, 2018
- Added trapsNov 09, 2018
- Adding skillsOct 31, 2018
- Enhanced monsters' descriptionsOct 25, 2018
Leave a comment
Log in with itch.io to leave a comment.