Ludum Dare 31
December 5th-8th, 2014

Slick2D Terminal Screen

Posted by
April 21st, 2012 9:23 am

In my LD23 compo entry, I used a piece of base code I wrote a long time ago and used for my previous MiniLD submissions

The code is to provide the user a nice terminal feeling

http://pastebin.com/8NUvdp6t

The actual screen code is in the paste and the required font image is below

http://i.imgur.com/EH3RZ.png

The code has font and box drawing functions and supports full ARGB color (with Slick2D)

To use the code, init function must be called before any rendering or update. Along with that render function must be called in the render loop.

To have custom screens, the developer should extend the class and override the place function to draw fonts and stuff in the good old terminal style

Hope you enjoy it!


Leave a Reply

You must be logged in to post a comment.

[cache: storing page]