Chapters 7 and 8 of Jotaf’s python tutorial have been ported to C++.

Chapter 7 adds a message log, improves the health bar visuals and adds a mouse look feature. While shorter and simpler than chapter 6, this one will help you to embrace the odd and twisted world of C strings manipulations.

Chapter 8 adds items (only health potions but you’re free to add much more) and inventory management.


3 comments so far

Add Your Comment
  1. Thanks a lot for writing this tutorial. I am developing a roguelike using my own engine and it’s very interesting to see how you handle everything with libtcod.

  2. You’re welcome, but I’m just the translator. The real mastermind behind this is Jotaf 🙂

  3. Thanks a lot for writing this tutorial.