SDL Sprite and Bitmap Font Library!

Started by
8 comments, last by bfogerty 15 years, 11 months ago
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]
Advertisement
clicky
EDIT: GCC compiler friendly version? It requires MSVC1D.dll, which doesnt come with GCC.
I program in my sleep,but when I sleep I use the partition in my head that doesnt have g++ or the .net library, so im kinda screwed.
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.
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]
Linkified :)

I might get round to trying this myself later, I'm using SDL at the moment.
Wow, good application! Once you release it as open-source, I will definatly use it! Just wondering: what license will you release it as?
I program in my sleep,but when I sleep I use the partition in my head that doesnt have g++ or the .net library, so im kinda screwed.
Also be sure to release some demo games using it. It seems pretty good so far, keep it up!
Rob Loach [Website] [Projects] [Contact]
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!!!!
Rotation is a good thing to have sprites do. SDL_gfx may help.

[Edited by - Rob Loach on May 30, 2005 6:49:45 PM]
Rob Loach [Website] [Projects] [Contact]
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

This topic is closed to new replies.

Advertisement