Procedural dungeon exploration in the console using C++
h
SPQR (546)

A sneak peek at my current project.

Current features:
-non-blocking unbuffered console I/O
-Display class to handle treating console as a screen and characters as pixels
-Level class which handles the world space, supports negative coordinates, and can be expanded dynamically
-Room class
-Entity and Player classes

Planned features:
-Item and inventory system
-Enemies
-Combat
-HUD
-Objectives / quests
-Perhaps even multiplayer

Controls: W/A/S/D for movement, Shift+X to stop the game (mostly for debug reasons)

You are viewing a single comment. View All
SPQR (546)

@CowNationz That's a very good point, however I have implemented an input queue rather than movement based off passage of time for two reasons:
1. Due to the nature of the game, position is based on ints rather than floats and I feel like because of that that movement based on elapsed time would be inefficient in this case
2. The input runs in in a separate thread from the main processes and the display so i think that it would be a bit over complicated to implement time-based movement with that in mind.

Thanks for bringing it to my attention though :)