winferno

LD17

My Secret Weapon for LD #18

I’ve spent a little time creating some template code for the next LD event, after failing at LD #17. I wanted to share this, in case any other Linux devs can benefit.

My template doesn’t do much, which is sort of the point given the nature of Ludum Dare. I wanted to gather up some basic functionality that I consider to be fair to use, and probably already available to many other LD’ers using existing game engines like OGRE, etc. Using this I hope to be able to get a quicker start during the events.

I’m using Linux, C++, CMake, SFML, GLee, OpenGL, and OpenAL. Here are the features I’m going for:

  • Get a window up on the screen. Admittedly, this isn’t too hard thanks to SFML.
  • Load music / sound files from disk, and play them.
  • Load UV texture-mapped 3D objects exported from Blender (http://blender.org/) and display them using OpenGL VBOs. The Blender export script I’ve created is included.
  • Render bitmapped fonts using image files loaded from disk.
  • Build either a Linux or Windows executable by changing a CMake flag (I have a mingw32 cross compilation set up, installed).

You can download my template here: ld48_template.tar.gz

If you can use this, or have time to build the sample app and give me some feedback, that would be awesome. Thanks!

-Windsor

P.S. I just read PoV’s post about packaging Linux applications. I’ll have to put some of those techniques to use in the next version of my template.

Template application running.

Tags: C++, linux, template

Comments

25. May 2010 · 07:24 UTC
I like this. Could you provide a preconverted version of the sample model though? It seems like the export script doesn’t work in Blender 2.49 and I don’t really feel like porting it.
25. May 2010 · 10:56 UTC
Very cool. I’m hoping to do something like that myself too. I have all the pieces, they just need to be cleaned up and assembled nicely.
pants12
25. May 2010 · 17:08 UTC
not much of a secret huh? but its nice:D
lurreluck
26. May 2010 · 11:51 UTC
Very nice
lurreluck
26. May 2010 · 11:51 UTC
Very nice :)
29. May 2010 · 13:48 UTC
Very nice :) :)

LD20

I’m in!

Hi everyone, I’m in for LD48 #20! This will be my fourth time entering (after bombing out twice previously, due to illness and running out of time). I’ve definitely learned the importance of getting tools and materials prepared prior to the event. Here’s what I’ll be using in my development environment as planned:
platform   : Debian Linux x86/32-bit
language   : C++
editor     : emacs
libraries  : SFML, minimal code template & vector library, and possibly Box2D.
graphics   : Gimp, Blender, maybe some ImageMagick
sound FX   : csound, maybe Wolfram Tones
music      : Renoise
game title : http://www.norefuge.net/vgng/vgng.html

I’m looking forward to a fun time coding my head off and chatting with other LDers in IRC!

 

Desktoppage

I haven’t seen many “here’s my cave where I’ll be spending the next 48 hours” snapshots, so here’s one to get things going.

Tags: desktop

Final Preparations

Raided the local Asian market for random drinks, white rabbit candies, seaweed crackers, and some fruit! Now maybe I should see if I get a window up using SFML…

 

 

Tags: food