homeBlog | Tags | Archives | Projects | Stats | Contact

Android NDK and SDL_RWops

Jul 25, 2011

no comments
Popularity:

Note: There’s now a patch for SDL that makes the same possible on older Androids as well. The Android NDK makes it possible to use SDL to code Android apps. The aliens.c example bundled with the Android SDL port is fine and dandy except it reads data from /sdcard/data and it has to be pushed [...]

Read more...

Lossless Audio Compression

Jan 02, 2011

3 comments
Popularity:

Here’s an audio compression scheme I came up for my tracker project.

Read more...

An Alternative to XML

Feb 28, 2010

2 comments
Popularity:

XML can be overkill or simply cumbersome to edit manually for example when used in configuration files. Or, it may simply be unavailable for the preferred platform. Here’s a great alternative.

Read more...

Creating a Simple GUI from Scratch

Dec 31, 2009

no comments
Popularity:

More often than not, the biggest obstacle for a programmer is adding a GUI to a otherwisely ready application. This probably is because you generally can create a program that inputs and outputs text with a few lines of code in any language.

Read more...

OpenGL, Static Arrays and glMaterialfv

Jul 19, 2009

no comments
Popularity:

I stumbled upon weird behavior of OpenGL: I was setting material properties with glMaterialfv and for some reason this did not change the parameters if done multiple times in succession. I.e. when I drew two versions of the same object on the screen side by side with different material parameters, they both looked the same.

Read more...