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)

@CullenDAvello In order to use animations, you essentially have to change the sprite once an interval of time (usually a tenth to a quarter of a second). I did it by having a spritesheet texture and changing the portion of the texture that was used for the player sprite about 5 times a second, give or take.