{"author_name":"16BitsOfAwesome","cat":"LD - Misc","comments":[],"epoch":1408931820,"likes":1,"metadata":{"p_key":"26860","p_author":"16BitsOfAwesome","p_authorkey":"18250","p_urlkey":"62296","p_title":"Post-mortem: Scene2d.ui screwed me","p_cat":"LD - Misc","p_event":"LD30","p_time":"1408931820","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"18250","us_name":"16BitsOfAwesome","us_username":"16bitsofawesome","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>So, I had a bug today that I couldn&#8217;t skip. When I started my game, it filled up my PC&#8217;s memory completely in about a minute, breaking literally everything that was running. I had to fix it to continue.<\/p>\n <p>8 hours of hacking at this problem.<\/p>\n <p>I just fixed the bug. It was with Scene2d.ui&#8217;s function Table.drawDebug(). If you set debug, apparently it runs this blindingly expensive operation that constantly creates new objects. Yay.<\/p>\n <p>I followed a tutorial telling me to do this. And who would guess that something that draws literally a few lines on a screen would break my whole computer lol<\/p>\n <p>8 hours of not actual game developing haulted&#8230; due to a single line of code I would have eventually taken out anyways&#8230;.. FFFFFFUUUUU&#8211;<\/p>\n <p>&nbsp;<\/p>\n <p>Long story short, my LD time is done. But now the bug is fixed, I&#8217;m going to continue my game to see if the fun factor is there or not. I think I definitely came up with an idea at least worth exploring and finishing an alpha.<\/p>\n <p>Here&#8217;s a final LD screenshot of the game. See you guys at the next LD!<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/ld307.png\"><img class=\"alignleft wp-image-384463 size-large\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/ld307-550x322.png\" alt=\"ld30\" width=\"550\" height=\"322\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/ld307-550x322.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/ld307.png 1297w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><\/p>","time":"August 24th, 2014 8:57 pm","title":"Post-mortem: Scene2d.ui screwed me"}