2011-03-05

LD19: Drill Warrior

19th Ludum Dare contest was held already back in December. Since I managed to make an entry this time, I figured out I could post about it before the next one is held, which will be probably next month.

The theme was “Discovery”. Description, downloadable Windows build and source code of my game Drill Warrior can be downloaded from the separate page about the game.

2010-08-10

Assembly 2010


The Assembly 2010 summer event was held last weekend. Once again I did something to contribute in the various competitions held at the event. At right you can see thumbnail from Afrika by Rustbloom & XZM. It’s our try at making a 4 KB intro with semi-abstract/stylized 2D vector graphics and bit of a story. Yes, the executable is only 4089 bytes long (0.004 megabytes). Check it out from Youtube, or download the original executable version (only for Windows). The intro ended up at 5th place of 16 entries, which isn’t bad at all.


Some time before the event I also spent a moment to wade through Box2D physics engine documentation, and made a little prototype game called Luomuheinäseipääntapinheitto (a.k.a. Organic hay pole peg throwing), entering it also to the gamedev contest (placed 8/19). Background music is Test Drive by Zapac. Check out a video from Youtube, or download and try it (only for Windows).

Here’s links (mostly Youtube) to some other highlights from the event: XMunkki’s gamedev entry Raya Racer for N900, Evoflash’s winner Flash demo from wild compo, Archee’s 4k intro with physics and AI, winner 4k, Pier 64k from Hedelmae, Tricky truck – Archee’s winner entry from gamedev, 64k intro compo 1st and 2nd, Fairlight’s demo (2nd in compo), and finally ASD’s winning demo.

2010-07-04

Various ways to backup

Over the years I have been using several kinds of solutions to backup stuff. Here’s a description of the ones I can remember. Many of them focus on being low-cost, simple and straightforward, but are far from a perfect solution in many other ways.

Read the rest of this entry »

2010-06-29

Unwrapping Values – nearest next angle from a previous angle

So, assuming you have angles previousAngle and nextAngle, and you want to transition from the first to the second smoothly. If it’s like from 358 to 2, a simple linear interpolation will awfully go through almost a full circle down from 358 to 2, when a simple four degree transition forward would have been enough, i.e. you should have been going to 362 degrees instead. So, how to figure out what’s the shortest transition?

I remember hitting against this problem numerous times, always remembering that I have solved it previously but always seem unable to find the previous solution. And I still can’t just write it out by heart.

Once again I had to solve this, so this time I tried to Google for it (“angle wrap delta”), and found out that somebody named Jason S had posted a nice generalization to a related question in Stackoverflow.com.

For your convenience, I’m posting a modified C version of the code here.
Read the rest of this entry »