Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | #LD48 | #ludumdare on irc.afternet.org (Info)

Ludum Dare 31 — Coming December 5th-8th 2014! — Join the Mailing List!
  • October Ends: in 31 days, 8 hours, 19 minutes, 18 seconds
  • Ludum Dare 31 begins: in 66 days, 9 hours, 7 minutes, 18 seconds
  • (FYI: Clock might be off) | Ludum Dare 31: Real World Gatherings (Now Open!) | October Challenge 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.


    All posts, images, and comments are owned by their creators.

    [cache: storing page]