Difference between revisions of "Complete roguelike tutorial using C++ and libtcod - part 7: the GUI"
Jump to navigation
Jump to search
(pasted →top: , cat and sidebar) |
|||
Line 8: | Line 8: | ||
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). | 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). | ||
==libtcod functions used in this article== | |||
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.2/html2/console_offscreen.html?c=false&cpp=true&cs=true&py=false&lua=true TCODConsole::TCODConsole] | |||
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.2/html2/console_offscreen.html?c=false&cpp=true&cs=true&py=false&lua=true#6 TCODConsole::blit] | |||
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.2/html2/console_advanced.html?c=false&cpp=true&cs=true&py=false&lua=true#0 TCODConsole::rect] | |||
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.2/html2/console_print.html?c=false&cpp=true&cs=true&py=false&lua=true#5 TCODConsole::printEx] | |||
[[Category:Developing]] | [[Category:Developing]] |
Revision as of 19:17, 7 October 2015
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).