{"author_name":"kcaze","cat":"LD #19 - Discovery - 2010","comments":[],"epoch":1292773980,"likes":0,"metadata":{"p_key":"67948","p_author":"kcaze","p_authorkey":"3483","p_urlkey":"103751","p_title":"ZzzZZz","p_cat":"LD #19 - Discovery - 2010","p_event":"LD19","p_time":"1292773980","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"3483","us_name":"kcaze","us_username":"kcaze","event_start":"1292544000","event_key":"5","event_name":"LD19"},"text":"<p>A profiler is <em>extremely <\/em>helpful when trying to figure out why you&#8217;re game lags. It turned out that  all the collision checking done every frame was a huge bottleneck. And  actually, most of the checking was unnecessary (do I really have to  check if two wall instances collide with each other?).<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Screenshot-pygame-window.png\"><img class=\"alignnone size-medium wp-image-35889\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Screenshot-pygame-window-300x225.png\" alt=\"That's a flashlight the bear's holding!\" width=\"300\" height=\"225\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Screenshot-pygame-window-300x225.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Screenshot-pygame-window-550x412.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Screenshot-pygame-window.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>Anyways, I&#8217;m mostly done with the mechanics (which really aren&#8217;t that complicated). I&#8217;ll add some more gameplay elements and submit the game with at least one completely level hopefully. But first, I need to catch some shuteye.<\/p>","time":"December 19th, 2010 10:53 am","title":"ZzzZZz"}