In Like a Lion
Posted by Jonny D (twitter: @grimfang4)
August 28th, 2009 2:07 pm
I’ll be LD-ing as long as my wife and kids will let me and I’ll be tacking together my usual assortment if I need them:
3rd party libs:
SDL, SDL_image, SDL_ttf, SDL_mixer
OpenGL
Box2d
My libs:
Sprig, GRO_gui, NFont, JEL-events, SDL_ColorDef, StickyInput, goodIO, MixBox
OpenGL junk
Tools:
sfxr
the GIMP
Best of luck to everyone!
Tags: SDL
I like your setup. Quite a large base of good code for you to build on. Look forward to seeing what you can do with it.
One question though: What do you use to throw text up on the screen? Does SDL_ttf interact with openGl ok?
I still haven’t come up with a good way to draw text. It’s one of the details I hope to sort out in the next few hours!
Thanks! I use NFont for text. The version I have posted only does SDL’s 2D framebuffer. A newer version coming soon uses OpenGL textures. SDL_ttf won’t do it alone, you have to convert the output to textures or use raster stuff in OpenGL. You can find some code for that stuff by Googling a bit (like OGLFT).