Re: basic monster AI (how is it done?)



On Jun 23, 1:04 am, Austen Locke <pieaddict...@xxxxxxxxx> wrote:
[SNIP] and how the color is changed

This one depends on what console or graphics library you are planning
on using to render the game with; the same with most details of how
the player will see the game presented. Do you have one selected yet?

If you're starting with text-mode (which I'd suggest even if you
eventually want to use sprite graphics instead), I'd suggest either
the curses library (PDCurses for Windows, NCurses for unix-like
platforms) or libTCOD.

Bindings for the curses library exist for most languages. It's good if
you want your game to work entirely through the text console; the
console can be pretty limiting as far as what you can display, but it
does allow you to do some neat things like being able to play the game
over telnet or ssh without any extra code on your part.

If you don't care too much about that, libTCOD is a really nice C/C++
library (with bindings to a fair number of other languages) designed
specifically for writing roguelike games; it handles full-color text-
mode graphics, among other things.
http://thedoryenlibrary.appspot.com/
.


Quantcast