{"author_name":"Henry McLaughlin","cat":"LD  #18 - Enemies as Weapons - 2010","comments":[],"epoch":1282418400,"likes":0,"metadata":{"p_key":"69742","p_author":"Henry McLaughlin","p_authorkey":"979","p_urlkey":"105547","p_title":"Things Going Well, Plans for Tomorrow","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1282418400","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"979","us_name":"Henry Mclaughlin","us_username":"pycron","event_start":"1282262400","event_key":"4","event_name":"LD18"},"text":"<p>I spent all of last night up, fooling with both Irrlicht (Which proved unworkable on my machine) and later Flex. I tried as hard as I could to get it working, but upon getting it to work in Geany found that it didn&#8217;t link the libraries I needed it to. Got really pissy, then mjau suggested a compile variable I hadn&#8217;t thought of and the thing worked fine. I got Flex working, and proceeded to try to use Flixel, make a tangled mess of code, and toss all of it. After that, I decided to try FlashPunk again (Tossed it at first because Eclipse didn&#8217;t like it; Found out that Eclipse doesn&#8217;t like <strong>anything<\/strong>) and initially had very nice result. When it came time to implement weapons I botch the code that was supposed to load the projectiles&#8217; image (Typcasted instead of constructed because I forgot the &#8220;new&#8221;). I didn&#8217;t realize that until after making references to my game world in my main class, my ship class, and my weapon class when I decided to actually use the debug player, as that&#8217;s what it&#8217;s for. I then struggled with getting the gun to actually fire from where the gun is on the ship&#8217;s sprite. After lots of mucking around, I learned that method arguments in AS3 cannot have the same name as a member variable in that class or Bad Things Happen.<\/p>\n <p>*deep breath*<\/p>\n <p>I&#8217;m ready to call it a day.<\/p>\n <p>Tomorrow, I hope to get baddies in place, and possibly terrain. Who knows? my level might even scroll by the end of tomorrow!<\/p>\n <p>I&#8217;m really excited about this. This is the first time in a long time that I&#8217;ve had any real success with something other than SDL-based libs. I just picked up Flex this morning, and I&#8217;ve already got something that could turn into a game.<\/p>\n <p>I&#8217;m really optimistic. I think I&#8217;ll finish this one.<\/p>","time":"August 21st, 2010 2:20 pm","title":"Things Going Well, Plans for Tomorrow"}