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/2788399It 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:
Hello, my name is Alex Schearer. I grew up in New York and currently live in Seattle.
7 Comments
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 ?
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.
i’m not able to download the source code .. can you fix the url ?
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.
maybe you can add this code on a googlecode project ?
link now works!
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.