Complete roguelike tutorial using C++ and libtcod - part 7: the GUI

From RogueBasin
Revision as of 19:12, 7 October 2015 by Joel Pera (talk | contribs) (pasted →‎top: , cat and sidebar)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Complete roguelike tutorial using C++ and libtcod
-originally written by Jice
Text in this tutorial was released under the Creative Commons Attribution-ShareAlike 3.0 Unported and the GNU Free Documentation License (unversioned, with no invariant sections, front-cover texts, or back-cover texts) on 2015-09-21.


After the longish article 6 about melee fighting, we're going to take a break and do something easier.

  • First, we're going to slightly improve the player health bar with some visual fluff.
  • We will also move the game log from the standard output to the game window.
  • Finally, we will start to use the mouse and implement a mouse look feature to display information about what is under the mouse cursor.

These are three very distinct features but for the sake of simplicity, we will stuff everything in a single Gui class (for Graphical User Interface).