Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


More of a learning experience…

Posted by (twitter: @adamdicarlo)
August 10th, 2008 8:04 am

I chose to use Python with PyGame, PyOpenGL, and PyODE. (I had only written about one Python program, and had only written one OpenGL program in C++…)

The idea was a Jenga-like tower of bricks that you must defend from owls who fly by and remove pieces. It would topple with realistic physics.

Tall, proud tower:
Tall tower before adding \

PyODE (well, ODE itself I believe) unfortunately is apparently not up to the task of a Jenga tower. If I created more than about 8 layers of Jenga bricks, I’d get a segfault somewhere within the collision detection code.

I shortened the Jenga tower and PyODE stopped crashing.

Applying a force to one of the bricks seems not to break the tower… I think I’m just doing something wrong there, though. But PyODE slows down the program to the “watching ice melt” realm.

Pitifully short tower:
with PyODE and grass

I will try to throw together a 2D version of the game idea using Pymunk today, but with less than 11 hours, I may not submit anything.

Either way: a great, fun learning experience!

Tags:

Leave a Reply

You must be logged in to post a comment.


All posts, images, and comments are owned by their creators.

[fcache: storing page]