{"author_name":"TFernando","cat":"LD #15 - Caverns - 2009","comments":[],"epoch":1251592080,"likes":0,"metadata":{"p_key":"72771","p_author":"TFernando","p_authorkey":"1164","p_urlkey":"108593","p_title":"FallingTown 0.2","p_cat":"LD #15 - Caverns - 2009","p_event":"LD15","p_time":"1251592080","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>Ok, this is not a major update, I was asleep and then I had to fly to Illiamna and back, so I&#8217;m just picking things up again now.<\/p>\n <p>Flash games on the web take the form of .swf files, which are streamed by their host. The flash player won&#8217;t normally play a frame of a flash movie until all the assets used by that frame have been loaded. Working in FlashDevelop\/FlexSDK, you really don&#8217;t use frames much at all, everything is done from AS3 code, and the .swf which is created is a flash movie with 1 frame. Because you don&#8217;t want to show the player a white box until everything has been loaded, normally you add a pre-loader, which is small, and which allows the flash player to show something to the user while the rest of the assets are loaded.<\/p>\n <p>Up till now, all of my projects have been wrapped either by the Mochi version control wrapper, or by Whirled&#8217;s wrapper. These include preloaders, so I&#8217;ve been able to totally ignore all aspects of preloading up unitl now. <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> Unfortunately, as in my normal development flow I had set up my FD project as an ActionScript3 project. In order to get the FlexSDK to create a movie with more than 1 frame, so that that first frame can be implemented as a preloader, there are a few compiler options that need to be set. FD has a AS3+preloader template option, so I re-setup my project and away we went. (This really isn&#8217;t a big thing, but I lost 30 minutes because I didn&#8217;t know my tools).<\/p>\n <p>Also in the line of I didn&#8217;t know my tools, if you hold shift while using the pencil, GiMP will draw a straight line!! Learning this alone made entering LD worth it to me. <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>Implemented a main menu and intro animation. Next up is building\/support placement and a stress heat-map. That might take a little longer, so I figured I push what I have public.<\/p>\n <p>Embedded flash versions <a href=\"http:\/\/nightflyergames.com\/games\/LD15\/LD15.html\">here<\/a><\/p>\n <p><img src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/screen3-300x215.png\" alt=\"screen3\" width=\"300\" height=\"215\" class=\"alignnone size-medium wp-image-8747\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/screen3-300x215.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/screen3-550x395.png 550w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n <p>-TF<\/p>","time":"August 29th, 2009 7:28 pm","title":"FallingTown 0.2"}