Difference between revisions of "Complete roguelike tutorial using C++ and libtcod - part 5: preparing for combat"

From RogueBasin
Jump to navigation Jump to search
(lead + template + cat)
(No difference)

Revision as of 15:01, 6 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.


In this part, we'll do some refactoring to prepare the monster bashing. This includes detecting actor collisions (an actor trying to step on a tile where there already is an actor) and properly handling game turns.