Wrong Love – Post Mortem

December 17th, 2012 9:23 am

So this is my 6th ludum dare. And the first time I finished with the idea I started with. This time with the game Wrong Love. A game about a guy who’s goal is to steal all the goats on the world.



  • haXe
  • FlashDevelop
  • Paint.NET
  • The GIMP
  • BFXR
  • autotracker-c (customized)


I’ve created my game using haXe, a multiplatform open-source programming language for flash. javascript, java, c#, c++ and what not. I used this language because I really like it and I know a lot about it. however there are a lot of library’s to make it more easy to create a game I usually don’t use those because I like to program everything to the last thing, so did I this time. One if the things I worked most on was the lightning and the guards.


I’ve had done the lightning before but how I did it before it wasn’t fast enough. This time I added a little trick to make it a lot faster and make it look even better (it actually isn’t).  First I checked every 3 pixels if there was a wall, this way it showed some sort of spikes of light in the walls. I fixed this by making bigger steps and if it hit the wall do a amount of smaller steps back. this way it looked much smoother and also was faster. The second problem I had was the AI. It doesn’t have much of and AI. It just tries to follow the path. It is still not working very well and while creating levels I need to check if the guards are walking on a walkable spot. The guards also turn in 1 frame, so if a player is at that spot at the moment he will be caught instantly, not very fair.

What went right

  • Light
  • Keeping my code pretty clean.
  • Making it not too heavy for CPU.
  • Found out why my maps weren’t working (old version of compiler compiled images 0x010101 darker :S)

What went wrong

  • Pathfinding
  • Again no music that isn’t generated.
  • Drawing a sleeping goat in a 16×16 image.

PLAY: http://www.ludumdare.com/compo/ludum-dare-25/?action=preview&uid=4506

One Response to “Wrong Love – Post Mortem”

  1. Hume says:

    I tried to draw a standing goat in 8×8 and also failed. Unfortunately, it would appear that you need at least 32 pixels on a side to capture that kind of majesty.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]