Slick GUI with Sticky Buttons

With work on Shade finally slowing down I’ve had time to work on some other things. Some of them are sort of neat so I thought I’d share them. Today I’m going to share a simple GUI library for making buttons. You can get away with a lot with some nice looking buttons and background images. Slick will handle the later and this library will tackle the former.

Without further ado I introduce to you Sticky Buttons. Sticky, like GUI get it? … this is a library which makes it easy to make nice looking buttons for your game. I’ve written a few examples which you can run to see how things work or you could just watch this video:

http://www.vimeo.com/2788399

It wouldn’t be hard to take things a little further by adding SlickFx to the mix and then you’d have some really great buttons. This is effectively what I did for Shade’s GUI. As always I hope you find this useful and let me know what you think.

Download the latest version:

Related Posts

7 Comments

  1. Gornova
    Posted January 16, 2009 at 12:24 am | Permalink

    I’ll try it :D

    watching this video, in particular the moving buttons, i’m thinking if is possibile to build a game on this idea of moving a shape, than connect to another shape, an move on.. what do you think ?

  2. Posted January 16, 2009 at 8:33 am | Permalink

    That’s actually a great idea. One of the original motivations for me was to be able to support dragging and dropping game-objects around the screen. I hadn’t thought of your idea but I think that you could make something fun using that concept.

  3. Gornova
    Posted January 20, 2009 at 8:01 am | Permalink

    i’m not able to download the source code .. can you fix the url ?

  4. Posted January 21, 2009 at 6:51 pm | Permalink

    Thanks for letting me know. The link has been updated. Let me know what you think and I can add/change some things if you need.

  5. Gornova
    Posted January 23, 2009 at 6:06 am | Permalink

    maybe you can add this code on a googlecode project ?

  6. Gornova
    Posted January 23, 2009 at 6:06 am | Permalink

    link now works!

  7. Posted January 23, 2009 at 2:43 pm | Permalink

    For now I’m happy to just provide it as-is. If you would like to make changes and contribute them back then I can see about setting up a public project somewhere. I think I will wait to do that until after there is some interest, though.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>