{"author_name":"TFernando","cat":"LD #15 - Caverns - 2009","comments":[],"epoch":1251671340,"likes":0,"metadata":{"p_key":"72614","p_author":"TFernando","p_authorkey":"1164","p_urlkey":"108436","p_title":"FallingTown \u2014 Submitted \u2014","p_cat":"LD #15 - Caverns - 2009","p_event":"LD15","p_time":"1251671340","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"1164","us_name":"TFernando","us_username":"tfernando","event_start":"1251417600","event_key":"1","event_name":"LD15"},"text":"<p>Well, it&#8217;s done! <a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-15\/?action=preview&amp;uid=1164\">I&#8217;ve submitted<\/a>. I started feeling time pressure a few hours ago, and I think I caught all the fatal errors anyways. There are certainly still some issues with the display, and the AI. (It&#8217;s quite presumptious to call it AI&#8211; there&#8217;s three scripted behaviors. One of them is &#8216;ask the random number generator where I should move&#8217;. You can play with the game to figure out the others or wait for a postmortem. <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>Of the things in my last post, the only thing I don&#8217;t think I really handled was a help system.. there are instructions, and slightly better instructions in the submission entry. A lot of the last minute stuff was a kludge though. This is my code in my Main class for handling a reset or restart:<br \/>\n <code><br \/>\n case 8:<br \/>\n if (this.contains(GameOverScreen)) this.removeChild(GameOverScreen);<br \/>\n if (this.contains(CGame)) this.removeChild(CGame);<br \/>\n CGame = new CavernGame();<br \/>\n GameState = 5;<br \/>\n break;<br \/>\n <\/code><br \/>\n Obviously that&#8217;s not an acceptable way to restart&#8211; CGame is a HUGE object by the time the game ends and restarting hangs my flash player for about 20 seconds. (I don&#8217;t have a profiler, but Windows Task Manager shows a 30Mb jump in flash players memory usage when that section of code is called) However&#8211; it does work. And it would take me more than the two hours and change left to find all the variables that need to be reset in CGame. I&#8217;m also tired, and I&#8217;m at the point where I&#8217;m afraid I might break something trying to add polish. <\/p>\n <p>I&#8217;m looking forward to seeing everyone elses work, but I&#8217;m going to get some rest first. I&#8217;ll leave you with a couple screen shots:<br \/>\n <img src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/Complete.png\" alt=\"Complete\" width=\"299\" height=\"150\" class=\"alignnone size-full wp-image-9549\" \/><\/p>\n <p><img src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/SubScreenie-550x589.png\" alt=\"SubScreenie\" width=\"550\" height=\"589\" class=\"alignnone size-large wp-image-9550\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/SubScreenie-550x589.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/SubScreenie.png 557w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n <p><img src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/subscreenie2-550x593.png\" alt=\"subscreenie2\" width=\"550\" height=\"593\" class=\"alignnone size-large wp-image-9551\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/subscreenie2-550x593.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/subscreenie2.png 555w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><br \/>\n -TF<\/p>","time":"August 30th, 2009 5:29 pm","title":"FallingTown \u2014 Submitted \u2014"}