Temple of The Roguelike Forums

Development => Programming => Topic started by: Nekoninja on June 26, 2013, 08:05:38 PM

Title: Anyone know how to program the console like screen on the forum like this one?
Post by: Nekoninja on June 26, 2013, 08:05:38 PM
Hello RPG programmers,

I found a game called zomband at http://www.roguetemple.com/2007/05/10/zomband-and-no-this-is-not-an-angband-variant-p/

The only thing that caught my interesting is console like screen in the middle of the game screen. Does anyone know how to do that? It look like a challenge to code it.

Thank you for any replies,

Title: Re: Anyone know how to program the console like screen on the forum like this one?
Post by: Eben on June 26, 2013, 08:27:01 PM
Done.

https://github.com/SquidPony (https://github.com/SquidPony)

In Java anyway. My library (SquidLib) provides a standard JComponent that you can put text onto in a grid, like in a console but with more control. This means you can add that component to any Swing interface however you like.

In Attack The Geth (my 7dRL this year) I used three panels so that my map, text log, and stats would each have their own font and grid size.

(http://squidpony.com/wp-content/uploads/2013/03/arimoview.png?9d7bd4)