r/roguelikedev • Robinson • Jul 10 '18

RoguelikeDev Does The Complete Roguelike Tutorial - Week 4

This week is all about setting up a the FoV and combat!

Part 6 - Doing (and taking) some damage

http://rogueliketutorials.com/libtcod/6

The last part of this tutorial set us up for combat, so now it's time to actually implement it.

Part 7 - Creating the Interface

http://rogueliketutorials.com/libtcod/7

Despite what roguelike traditionalists may tell you, a good UI goes a long way.

Of course, we also have FAQ Friday posts that relate to this week's material

Feel free to work out any problems, brainstorm ideas, share progress and and as usual enjoy tangential chatting. :)

50 Upvotes

64 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jul 13 '18

The best way to include portability is to use CMake upfront and then compile with:

  • msvc: microsoft's compiler
  • gcc: standard for most debian and redhat based linux distributions
  • llvm/clang: standard for mac and some other linux distributions

Could use a VM (See VirtualBox) to pick up the extra compilers. VMWare actually gives you access to a GPU, though, so it might be a better option if you're using opengl/directx/metal/etc.