Uploaded SDL_ColorDef. It’s a bunch of color #defines for SDL. You can set your color variables like so: Uint32 color = SDL_PURPLE(mysurf). If you have any colors to add, email me.
Archive for the ‘Libraries’ Category
SPriG v0.92
Version 0.92 of Sprig is now up. Some changes include an anti-aliasing stack system instead of separate function calls and slightly faster rotation.
SPriG update
The newest version of SPriG has now been posted. It’s most notable features are anti-aliased and alpha-blended primitives, rotation and scaling, quick convenience functions (my favorite is SPG_MakeRect), and several different alpha-blending modes that can work through SPG_Blit to give you greater control over your blitting.
minSGE is now SPriG
The SDL Primitive Generator, SPriG, is the new name for the minSGE project. It has come a long way and is starting to come together now. I have some touches to add to certain functions, a couple more functions to implement, and a lot of convenience/speed inlined functions (macros for C) to write. The basic functionality is there already, including several different alpha-blending modes (see the new page for details!).
minSGE plans
Plan update: I’ve been working on the full minSGE implementation lately, which will considerably change the API. It will also make it independent of SGE so you can have both installed for your compiler at once and you’ll be able to differentiate the dlls. It’s gonna be good!
Introducing minSGE
minSGE is a big change of the SGE library that makes it much cleaner and smaller.
NFont v1.41
Version 1.41 of NFont and NFontAnim fixes a slight bug caused by SDL’s destructive clipping with SDL_BlitSurface().
NFont v1.4
Here’s the final (unless something big comes up) version of NFont and NFontAnim: v1.4. In this version, NFontAnim derives from NFont to make the use of both fonts in one project a little cleaner. So if you need just NFont, just use NFont. If you need NFontAnim, then you have to use both (auto-included from NFontAnim.h). Like I said last time, this version lets you spawn new fonts in different colors!
NFont v1.3
Posted v1.3 of NFont. This one changed the class a bit and removed the dependence on SDL_Image. The next release should be pretty soon. I’m looking into better support for fonts that use alpha instead of colorkeys and I’ll be adding a new function, newColor() that returns a brand new font in a color specified by the arguments you pass in.
NFont animations
Here’s a branch from NFont (NFontAnim) that allows you to control the positions and everything else about how the font is drawn. Check out the example! It has several cool animations that you can steal.