{"author_name":"bikko","cat":"LD #12 - The Tower - 2008","comments":[],"epoch":1218373440,"likes":0,"metadata":{"p_key":"74677","p_author":"bikko","p_authorkey":"510602","p_urlkey":"110509","p_title":"More of a learning experience\u2026","p_cat":"LD #12 - The Tower - 2008","p_event":"LD12","p_time":"1218373440","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"510602","us_name":"bikko","us_username":"bikko","event_start":"1218153600","event_key":"89","event_name":"LD12"},"text":"<p>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++&#8230;)<\/p>\n <p>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.<\/p>\n <p>Tall, proud tower:<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss1-crop.png\"><img class=\"alignnone size-medium wp-image-3172\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss1-crop-300x234.png\" alt=\"Tall tower before adding \\\" width=\"300\" height=\"234\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss1-crop-300x234.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss1-crop.png 651w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>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&#8217;d get a segfault somewhere within the collision detection code.<\/p>\n <p>I shortened the Jenga tower and PyODE stopped crashing.<\/p>\n <p>Applying a force to one of the bricks seems <strong>not<\/strong> to break the tower&#8230; I think I&#8217;m just doing something wrong there, though. But PyODE slows down the program to the &#8220;watching ice melt&#8221; realm.<\/p>\n <p>Pitifully short tower:<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss2-crop.png\"><img class=\"alignnone size-medium wp-image-3171\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss2-crop-300x235.png\" alt=\"with PyODE and grass\" width=\"300\" height=\"235\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss2-crop-300x235.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/08\/ss2-crop.png 650w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>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.<\/p>\n <p>Either way: a great, fun learning experience!<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/screenshot\/\" rel=\"tag\">screenshot<\/a><\/p>","time":"August 10th, 2008 8:04 am","title":"More of a learning experience\u2026"}