Sign in to follow this  
BlackDragon777

SDL Sprite and Bitmap Font Library!

Recommended Posts

Hey Everyone! I have recently developed two VERY easy to use SDL libraries. One is my SDL Sprite library. With it you can load a Bitmap animation and play it with just about 4 lines of code. It has many features such as Collision detection and the ability to have full control over the sprite. I have also written a Bitmap Font library which will load any bitmap font that is in ASCII order. You can load a bitmap font and print text useing a similar function to printf with just 3 lines of code. I will be releasing the source code in a few days on my Projects page of my website after I have added some more features. This is my site, www.brandonfogerty.com I have a simple demo that I wrote that shows both of the libraries at work if you would like to see it in action. Sprite Test Demo Please let me know what you think! Thanks for viewing it! -- Brandon Fogerty http://www.brandonfogerty.com GOD Bless you Always!!!! [Edited by - BlackDragon777 on February 27, 2006 10:14:10 AM]

Share this post


Link to post
Share on other sites
Looks great. I could have used this 2 years ago when I hadn't written my own stuff yet. I'm sure a lot of other people will appreciate it though, it sounds very handy.

Keep up the good work!

PS. This kind of open sourcing is encouraging, I think I'm going to opensource my spritefont lib in a while too.

Share this post


Link to post
Share on other sites
Sorry about that, the demo I released was a Debug version. I forgot about that.

Well It is ok because I updated the demo a lot last night and the one I have now posted is a release version. So download it again and you can see my little scroller and hear some music in the background! ;)

Here is the address
http://www.jujikasoft.com/projects/SDL/SDL_Sprite_Test.zip

Like I said, I will be releasing it as open source in a couple of days.

Enjoy!

[Edited by - BlackDragon777 on May 28, 2005 4:14:03 PM]

Share this post


Link to post
Share on other sites
It will be released as GPL. It will be yours to do what you want with. All I ask is the usual. If you write a game or demo with it, please send me a copy of it. =)

By the way, I just added another feature which isn't great or anything but kind of helpful. Sometimes when an artist draws a sprite animation of for example a character running, if you want him to go to the left or right, the artist will need to make 2 sprite animations of the exact same animation. Well, when you draw the sprite, there is a feature now in the library that you can choose left or right and the sprite library will reverse the animation given the new Texture coordinate for V.

Well anyways, I am almost done with it. Keep checking back! =)


-- Brandon Fogerty
http://www.jujikasoft.com

GOD Bless you Always!!!!

Share this post


Link to post
Share on other sites
Its me blackdragon777.
Its been a while but I just wanted to let everyone know that I finally released the full source code. Due to popular demand, I released the full source code on my programming projects page. Hope it helps with your projects!

http://www.brandonfogerty.com/programming/projects/index.php

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this