About Lerc


Lerc's Trophies

Most likely to be turned into a film by Uwe Boll Award
Awarded by crc
on December 15, 2008
The Stir-Crazy Horse Compensation
Awarded by demonpants
on December 9, 2008
Absurdly Small Ninja Award
Awarded by Hamumu
on December 3, 2007

Lerc's Archive

Minimalism makes level design look easy.

Posted by
Saturday, April 27th, 2013 1:45 pm

Level 1


Level 2


Level 3


Level 4


Level 5


It’s actually a lot harder than it looks.   You have to make sure they can be passed.  level 5 took a lot of tweaking.


A creature builder video

Posted by
Sunday, August 26th, 2012 4:56 am

How to do a 20 Second run.

Posted by
Wednesday, August 24th, 2011 9:44 pm

Here’s how you do it :-).

20.35 seconds, but you get the idea.

Still getting better

Posted by
Tuesday, August 23rd, 2011 5:11 am

I’ve been playing a bit and have managed to beat my previous times.

Rather than update the game, I’ll just list them here

  1. 19.66 seconds
  2. 41.71 seconds
  3. 22.06 seconds
  4. 37.04 seconds

At one point I doubted the first level could be done in under 21 seconds.

How’d that go then?

Posted by
Thursday, May 5th, 2011 12:28 am

This Ludum Dare meant more to me than usual. I had been blocked for quite some time and hadn’t written a lone of code in ages. The reasons for that are varied I guess, but the Feb 22 earthquake probably played a big part. The center of the city is still off-limits all this time later.

The game I made was more than I was expecting to be able to accomplish by a long margin.

There has been a lot of talk about HTML5/Canvas/JavaScript being good enough for games. I decided to give it a go. I would have to come to the conclusion that it is vary nearly there. While developing I was using FireFox 4 and I periodically tried a couple of versions of Chrome. I cut back on a few things like particle systems to maintain 60fps in FireFox on my dev machine. That meant Chrome was fine on one of my slower systems.

I have heard a number of people make comments on difficulties doing audio for games in HTML5, I decided to not attempt lest I get bogged down in some browser specific niggle.

I deliberately chose to use an absolute minimal interface to the canvas. I only use drawImage(image,x,y), no shadow effects, no rotation or scaling, no text rendering. I wanted to be able to trust that the browser would do things quickly without screwing up.

The graphics were quite a surprise. I don’t rate myself as an artist, but things ended up looking much better than expected. I used Drpetter’s Scupltris to quicky knock out some shapes that seemed about right and then painted them and saved. It worked a charm, Chalk up another one for Drpetter in the tools for the talentless artist category.

I used Haxe as a base language. Switching between languages as often as I do makes it difficult to remember some of the finer details of each language at times. I had a few hiccups, for instance when I needed to pass a class type as a Parameter. In Haxe, the prototype came out as.

public function addEntity(kind :Class, x : Float, y:Float);

I discovered I really need a good mechanism for animating models. I remember having a rendered character with walk frames in an earlier LD48 but I can’t for the life of me remember what software I used. Scupltris works great at making the base, but I need to be able to bend things around, I don’t need full 3d animation capability because it’s just sprites. What I ended up doing for the player walk animation is render the model then move the bits around in PhotoShop to make the walk frames. I only made the 5 frames of walk because of that.

The same problem manifested for the baddies. The wasps were a simple choice because they can be done with a two frame anim. I had a couple of wheeled baddies rendered but didn’t get them in.
I managed to make this thing
I don't know either
, which possibly says something about my brain at the late stage of a Ludum Dare. It didn’t make it into the game though.

I didn’t make a level editor, instead creating the entire level out of createSomething calls. This meant a cycle of play/tweak/play/tweak to get the position just right. In hindsight I think that might be a good thing for platform game design. I manually positioned the player before each area of construction and played the sequence several times. I think remarkably little is lost by not being able to edit the entire level quickly, because it’s the play phase that is the most critical part. In future I wouldn’t dispense with a level editor entirely, but I’m inclined to bind it even more tightly to the game so you can test small sections as you make them.

Now that I have seen how people have played the game, The one tweak I would make (that could’ve easy been added during the compo) was an indicator showing how many gumcube things you have collected. There’s more to the game than people realise. Showing a 53/107 display would encourage people to aim to collect all of the bits. Then they’d find there is more present than meets the eye.
(there are, in fact, secrets).

I now have a dilemma of what to do with the game. Normally I have a policy of not continuing LD48 games after the end of the comp, but I think there is enough here to work with. Maybe just a little more.
Not being restricted to the comp rules means I could maybe bring in some sprites from elsewhere for the baddies.

First Screenshot, not a lot of action yet .

Posted by
Saturday, April 30th, 2011 5:19 am

First screenshot

I’m a bit worried that it looks like I’ll need to make a level editor again,

Boring framework disclosure post.

Posted by
Friday, August 20th, 2010 4:53 pm

I might end up using a little helper library.


See it’s even called that.

I’m teaching some kids to program and this is what I use to simplify things.

If I make an editor I might use a thing for faux windows that I whipped up last night http://screamingduck.com/Cruft/jsmuck/uimuck.html Gives you a draggable div with a titlebar,

Not Today

Posted by
Sunday, April 25th, 2010 5:50 pm

Things went poorly for me in the real world. Apart from taking up time, also not good for a coding mood.

I have what could be called a tech demo.
It’s all Javascript and canvas.

A critter made from simple bits

This is the critter that I made to test things out. It has no brain other than the bits you see. The yellow circle provides a waveform signal for the various parts to use. White lines are muscle-rods, if attached to a signal their length varies proportional to the signal. The blue circles grip the ground proportinal to a signal. The green dots generate a signal proportional to the proximity of food.

The yellow lines show the signal attachments.

Easy Peasy Pascal Library.

Posted by
Sunday, August 23rd, 2009 6:27 pm

I’m probably using a new library this time.   It’s not terribly full featured at the moment but what it does have is a simple way to get a nice Fullscreen framebuffer on the OLPC-XO.   I figure If I can write a halfway decent Game during the Ludum Dare then it can be added to the XO’s repertoire.

The source for the library is in here along with a small test program I wrote last week to give it a try.


I’ll probably be be adding things to the library right up to and most likely during competition time.  If anyone else wants to give the lib a go (Yes, It’s pascal) get in touch and I’ll make sure you’re up to date with the code.

This is how simple a program can be using the Lib.

program demo;  


  pic : tPicture;

procedure Load;
  pic := tPicture.loadFromFile('Frog.png');

  X : Single = 320.0;
  Y : Single = 200.0;
  dy : Single =0.0;
  dx : Single =0.0;
procedure Update(ticks : integer);
  dx:=dx+ random()*0.2-0.1;
  dy:=dy+ random()*0.2-0.1;

procedure Draw;


The run procedure calls the Load update and Draw functions at the appropriate times, giving a picture that does an inertial drunkards walk around the screen.

Well here ’tis

Posted by
Sunday, April 19th, 2009 4:50 pm


For instant gratification Go an play it here

It definitely have a wall of doom feel to it.  So much so that I haven’t completed it myself yet.  I _think_ it’s doable.

I wonder how this editor will screw up today….


The Road to Troy (probably final)

Posted by
Sunday, December 7th, 2008 6:35 pm

OK here it is,  This is totally different from the game I thought I was going to make.  I wasn’t thinking Horses, or even 3d when I started.  

I’m not too sure about the gameplay, but I’m fairly pleased with what I got it to do from a technical standpoint.

The source and everything is here

but to play it you can just jump on over to here

I think it’s taking me longer to find my way around wordpress than it is to make the game.



A little thing I may use

Posted by
Friday, December 5th, 2008 6:42 pm

I made this a while back which may be of use to some, and I may use it myself depending on what the theme comes out as.


Something for Flash,  Takes a bunch of frames and stores them as a jpeg for colour and png for alpha.  then breaks the fremes up into seperate BitmapData object on load.

I didn’t do any frame animation in Boomshakalaka, because it seemed to be fairly tricky to get animations into flash.  If  need them this time then maybe this will help.


BoomShakalaka Most Portem

Posted by
Friday, December 28th, 2007 5:18 pm

I tried writing a post up in this thing but It kept on trying to eat it so I put my post-mortem here

Boomshakalaka Done!

Posted by
Sunday, December 16th, 2007 6:49 pm

Wayhaaaay a final submission.

BoomShakalaka 3

It’s flash so just go play it now at


source is here

Yay done!

Posted by
Friday, December 14th, 2007 10:31 pm

The plot thickens

BoomShakalaka 2

Some of you may already be able to guess how to play this game.

First things

Posted by
Friday, December 14th, 2007 9:39 pm


Here we go.   I’ve started.

[cache: storing page]