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

Ludum Dare 29 — April 25th-28th Weekend [9 PM EST] — Theme: ??? (Theme Voting!)
  • Ludum Dare 29 Compo (48 Hour+Solo+Scratch+Src) Begins: in 5 days, 16 hours, 38 minutes, 4 seconds
  • Ludum Dare 29 Jam (72 Hour+Teams OK+Relaxed) Begins: in 5 days, 16 hours, 38 minutes, 5 seconds
  • [ MiniLD 50 | Warmup Weekend April 19th-20th | Real World Gatherings | Ludum Deals | Wallpaper ]


    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]