Difference between revisions of "Complete roguelike tutorial using C++ and libtcod - part 2: map and actors"

From RogueBasin
Jump to navigation Jump to search
(added →‎top: and sidebar)
 
Line 2: Line 2:


In the first part, we created a "walking @" demo. Let's add a NPC and some walls !
In the first part, we created a "walking @" demo. Let's add a NPC and some walls !
==libtcod functions used in this article==
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.1/html2/console_draw_basic.html?c=false&cpp=true&cs=false&py=false&lua=false#5 TCODConsole:setChar]
[http://roguecentral.org/doryen/data/libtcod/doc/1.5.1/html2/console_draw_basic.html?c=false&cpp=true&cs=false&py=false&lua=false#4 TCODConsole::setCharForeground]
[http://codeumbra.eu/roguecentral.org/doryen/data/libtcod/doc/1.5.1/html2/console_draw_basic.html?c=false&cpp=true&cs=false&py=false&lua=false#3 TCODConsole::setCharBackground]

Revision as of 12:00, 27 September 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.


In the first part, we created a "walking @" demo. Let's add a NPC and some walls !

libtcod functions used in this article

TCODConsole:setChar

TCODConsole::setCharForeground

TCODConsole::setCharBackground