Play With Lua!

Colored text in Lua

without comments

If you, like me, are writing a text-mode Roguelike game in Lua, you’ll probably be interested in the thing I just published: a small Lua library for coloring text output to the console.

It lets you do things like this:

print(color.bg.green .. color.fg.RED .. "This is bright red on green")

Couldn’t be simpler. Enjoy!

Written by randrews

April 25th, 2012 at 7:18 pm

Posted in Uncategorized