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:

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:

  1. Weekend warrior: Null Op
  2. Awesome New Technology to Build 3D Models
  3. Check out Scary Girl
  4. Snippets File for Actionscript 3

Comments

7 Responses to “Slick GUI with Sticky Buttons”
  1. Gornova says:

    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. aschearer says:

    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 says:

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

  4. aschearer says:

    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 says:

    maybe you can add this code on a googlecode project ?

  6. Gornova says:

    link now works!

  7. aschearer says:

    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.

Leave A Comment