The /r/roguelikedev libtcod weekly tutorial challenge code for /u/DontEatSoapDudley is here. It's a C++ variant that is only loosely following the original tutorial code found here: http://rogueliketutorials.com/libtcod/1 with *heavy* modifications to fit my programming style. Will try and update consistently, and most likely with my own analysis/comments in the weekly threads. Probably won't happen the first few weeks because not much will be going on yet. If you're a beginner and reading this code to learn, I've tried to make it clear and I think this tutorial is a good way to learn, so stick with it! Build Instructions: I only use Linux and so I won't be providing instructions for building on mac and windows because I don't have access to any of those machines. Download Linux! Requirements: * Libtcod * C++14 compliant compiler (GCC or Clang will work: But if you're using clang update the makefile to use clang!) 1. Download and set up Libtcod * Note: If you're running a 64 bit machine you can probably just get away with running make, as I provide the libtcod include directory and dynamic libraries in the repo, but if not just download and build libtcod and drag over libtcod.so libtcodgui.so and the include directory into this folder and run make (gmake if you're on *BSD) 2. Run make.
Select Git revision
roguelikedev_challenge
-
-
- Open in your IDE
- Download source code
Name | Last commit | Last update |
---|---|---|
include | ||
LIBTCOD-LICENSE.txt | ||
LICENSE.txt | ||
Makefile | ||
README | ||
engine.cc | ||
engine.hh | ||
entity.cc | ||
entity.hh | ||
libtcod.so | ||
libtcodgui.so | ||
main.cc | ||
map.cc | ||
map.hh | ||
terminal.png |