ondrew

LD13

My sucky library

When I see all these awesome libraries people have, I feel ashamed I didn’t prepared properly :).

My library basically just creates an OpenGL context via SDL and that’s it.

http://ondrew.googlepages.com/angiine2008.12.05_21.15.20.7z

Usually I try to learn some new technology while working on Ludum Dare game, because the tight deadline makes me much more focused. So I would like to plug (and learn) Lua as a scripting language to my C++ engine. Let’s see how it goes.

Good luck to everyone.

Chopper as in helicopter

Managed to get up, read the theme and eat some breakfast.

After about an hour of generic coding I finally came up with an idea for a game, did some modelling in Blender. I would like to write a chopper vs cars thing, so I’m aiming for

  • shooting
  • explosions
  • roads
  • 2D collisions (yeeey)

Let’s hope I can finish :)

Comments

06. Dec 2008 · 06:21 UTC
GET IN DA CHOPPA!

State of the art 3D

Finally managed to get my 3D model loading and displaying :). Took my an hour longer than planned and it looks damn ugly :).

State of the art 3D

I wonder if everyone has problems finding their models in 3D? I usually don’t know, if I’m drawing them improperly or if they are just off the screen :)

Comments

06. Dec 2008 · 09:23 UTC
GET IN DA CHOPPA!
increpare
06. Dec 2008 · 13:35 UTC
yes yes yes yes yes

Trucks and choppers

I’ve managed to get the 3D models properly working. Apart from that I wrote control system, so now you can fly with the chopper around the screen and quite nice logic system, which allows me to define, how the objects interact with each other.

The game is however still not present :). I’m going to implement shooting and destroying of trucks before I go to sleep, which leaves for tomorrow

  • truck following roads to the the base (which the chopper has to guard)
  • truck firing back
  • camera to follow the chopper around
  • different enemies
  • propeller :)
  • etc

Trucks and choppers

Explosions

Not very surprisingly I’m a little bit behind schedule. I learned how to do particle effects in OpenGL and did some explosions and shooting (it looks much better in motion, trust me :))

Explisions, which look much better in motion

Now I’m starting to write the logic for truck attacks and level loading.

Chopper vs. Trucks

So here goes my game and I’m pretty happy about it.

I’m especially proud of the chopper’s propeller and the lazy camera. All the other stuff needs polishing.

The game itself is quite hard, so let’s see if anyone can beat it.

Chopper vs. Trucks

I learned a lot about OpenGL particles and I can say – they suck.

http://ondrew.googlepages.com/ludum2008_chopper.7z – 2MB

http://ondrew.googlepages.com/ludum2008_chopper.zip – 3MB

It’s five o’clock in the morning in my country and in three hours I’m going to work, so let’s see how that goes :). But it was definitely worth it.

Ludum dare rules, thank you guys.

[UPDATE – five hours after deadline]

I just found out, that the game is damn slow on some computers, I made the following change outside the competition time, so feel free not to take it into account.

Plus it seems there is some issue on Intel cards.

Updated binaries:

http://ondrew.googlepages.com/ludum2008_chopper_speed2.zip

http://ondrew.googlepages.com/ludum2008_chopper_speed2.7z

Tags: final

Stats and Timelapse

I finally uploaded my timelapse video: http://www.youtube.com/watch?v=PAu-JOiZpYk&fmt=22

I wrote a little program, that apart from taking screenshot every minute, records the window that currently has focus as well, so now I can tell, which programs I’ve been using the most during the competition.

As you can see I’ve managed to watch a movie in the meantime. That’s probably why my gameplay sucks :).

[Update]

For anyone interested in my logging tool I uploaded the code and the binary to http://ondrew.googlepages.com/logger-0.1.zip

I wrote it just before the competition, because I needed some multimonitor screenshot making tool, but I didn’t have time to do it properly, so it saves each monitor as separate file s$ID-$MONITOR_ID.png.

The meta data gets saved to sqlite3 database (mainly because I wanted to try it out), you will get a table with these columns: process name, window title and time the snapshot was taken.

For statistics do SELECT process, count(*) AS sum FROM work GROUP BY process ORDER BY sum;

I ran it for two days straight and it didn’t cause any problems like memory leakage or performance trouble, but let me know, if you hit something like that.

And last – beware – everytime you start this tool, it will start taking screenshots from zero, thus overwriting all your old screenshots. If there is some interest I can fix it and add some more features, but first I have to vote and give out awards :).

Comments

09. Dec 2008 · 17:46 UTC
Hey, that’s a really cool idea. I might have to steal that next time.
09. Dec 2008 · 17:53 UTC
That’s cool. Can you post the code?
09. Dec 2008 · 18:58 UTC
Very interesting program idea. I was just thinking I needed to write something to do timelapse for me, rather than recording in 1fps and speeding it up via iMovie later (which is a giant pain because you can only do 3x speed at a time).

LD14

Here we go again

Yeey for another Ludum Dare, this is going to be my third one.

No matter what theme, I will use quaternions for something. I never really got around to implementing them in any of my projects, so this is as good time as any to finally grok the whole thing.

Language of choice is C++, SDL and propably SDL_mixer for sounds. And if I have enough time, I’m going to do game logic in Lua.

Good luck to everyone.

Wall of Locust

Not my most favorite theme, but already starting working a bit.

My game will be a strategy, where you as a farmer will fight against locust, who will eat your crops. Still deciding, if I should go for 2D or 3D.

Here is the motivator anyway :).

Alpha blending for the win

After much struggling with getting all of my tool chain setup, I finally have alpha blended particles in OpenGL. That’s what I call amazing progress in just three hours :).

Alpha blending

Comments

18. Apr 2009 · 08:14 UTC
The sun of hope shine on you :)

Grid of Crops

Not really 3D yet, but getting there :).

Comments

18. Apr 2009 · 10:08 UTC
Hey, someone else doing hex grids :) In 3D, even.

VBOs of Locust

Although it doesn’t seem like it from the picture, there are hordes of locusts swarming  there and back :).

I’m usually trying to learn some new technology during these short compos :). So this time I managed to get rid of immediate mode and use vertex buffer objects.

I want to finish up the base logic before going to sleep.

For tomorrow:

  • tune gameplay
  • design levels
  • replace ugly crap with pretty graphics :)
  • particle systems

Comments

18. Apr 2009 · 20:50 UTC
I love the concept of oncoming locusts as a wall of doom.

Wall of Locust

So here goes my game. It’s not my finest work ever, but I’m really happy with the result (especially when considered how the game looked couple of hours ago).

It’s called Wall of Locust and it’s about a farmer who’s not only under attack by locusts but bush fires as well. So he uses his windmills to control the fire and destroy locusts. Level ends, when there is no fire and no locusts any more.

I wasted too much time (5 hours) trying to figure out graphical problems with near plane. I accidentally set it too near 0.0001f and things didn’t work so well on my Intel card :).

Windows binary and source 1MB

Now off to sleep, I have to go to work in three hours :).

Tags: final

Comments

22. Apr 2009 · 08:41 UTC
Oh wow, this does look similar to mine in concept. Looking forward to see how it plays.

Locustats and timelapse

Time for timelapse http://www.youtube.com/watch?v=HLFC40lIRA4&fmt=22

and some statistics. This graph shows the frequency of programs I used during the compo:

Tags: statistics, timelapse, video

Comments

20. Apr 2009 · 17:06 UTC
Ok, wow. My internal stats monkey, the one who eats raw numbers and excretes useless data, is ludicrously happy right now. Such a cool idea. How did you keep track, by the way?
20. Apr 2009 · 17:24 UTC
I wrote a simple program for it :)

LD15

Still not bored with Ludum Dare

This is going to be my fifth Ludum Dare, I participated already in

  • 4 – Infection
  • 8 – Swarms
  • 13 – Road
  • 14 – Advancing

So to commemorate my fifth anniversary I bought a new computer on Monday, which basically means I have nothing installed / configured.

quad

Sofar I have only Windows 7 RC and ViM, let’s see if I can actually setup my toolchain before the competition starts :)

Since I have a quad core machine, I would like to write something multithreaded, so that I can enjoy the tremendous fun of debugging concurrency issues, locks and critical sections, which I never had the chance to experience on a single core machine.

Or maybe this time I could actually concentrate on building the game :)

Tags: deskphoto

Importance of Dive Knife

Woke up, read the theme and started working on my sucky pixel art.

The game will be about the importance of dive knife. As a diver stuck in an underwater cave you will find yourself in an extreme need of one.

diver-1

I still haven’t decided, if I want to write my own 2D engine or if I want to experiment in Löve. Will decide later when I have more sprites :).

Cookies, desk and screenshot

Time for some delicious cookies:

cookies

desk

And current screenshot:

screenshot1

Comments

29. Aug 2009 · 10:05 UTC
Looks great! (cookies, and pixel art)

Collision detection finally working

After much struggling I finally got collision detection working. You can now swim around levels and that’s it :).

However I have all the logic in place and tomorrow I will just work on content, content and content.

screenshot2

More cookies

No time for proper lunch, cookies will have to do.

cookies2

The game is coming together, but still needs a lot of work.

screenshot3

Off to bed

Finally finished. Again I pulled off an almost all nighter (i go to work in three hours), but I’, quite happy with the game.

It’s a very short game about being stuck in an underwater cave.

During the competition itself I decided to learn Löve2d and it was quite fun.

In the middle of day one, I actually became so angry with Löve, that I decided to throw away everything and start over in C++ and SDL – but I pursued the idea just for about two hours and then came back to Löve :).

screenshot4

http://optiq.hy.cz/cavedive.zip (3MB) can be played on Windows/Mac/Linux