{"author_name":"Alexander The 1st","cat":"LD #22","comments":[],"epoch":1324202700,"likes":0,"metadata":{"p_key":"60982","p_author":"Alexander The 1st","p_authorkey":"7803","p_urlkey":"96747","p_title":"Oh Yeah? You and what army?","p_cat":"LD #22","p_event":"LD22","p_time":"1324202700","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"7803","us_name":"Alexander The 1st","us_username":"at1st","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<p>So&#8230;calling it quits for\u00a0tonight, hopefully will get it working today before 5.<\/p>\n <p>I&#8217;ve the got (un-animated) player on the field, but I&#8217;ve been trying to control his gravity with the AS3.0 Tween object &#8211; I can make him go up on command at a defined rate (Think Old Arcade Donkey Kong &#8211; jump is always the same height, and always goes down at the same rate, only if he falls further does he fall further.), but I can&#8217;t get that to work with the &#8220;Hey! You&#8217;re hitting the ground! Stop falling!&#8221; code.<\/p>\n <p>&nbsp;<\/p>\n <p>Been trying to use\u00a0the character&#8217;s y value (Based off of his shoe right now,\u00a0if I&#8217;m not mistaken) + 2 (Since\u00a0going downwards means adding to the y-value&#8230;yeah, really annoying when all math courses do it the other way around&#8230;but you learn to eventually re-program oneself that way.) to account for the ground (So technically, floating two\u00a0pixels above the ground), and then stopping the gravity tween object. But it&#8217;s not stopping!<\/p>\n <p>&nbsp;<\/p>\n <p>It actually appears to be that my per-frame check isn&#8217;t kicking in, and I can&#8217;t find out why. So going to take a look at that&#8230;at like 12 noon, in 8 hours or so. Right now I need to rest.<\/p>\n <p>&nbsp;<\/p>\n <p>You can find the code here:<\/p>\n <p><a href=\"http:\/\/www.sfu.ca\/~ajr12\/LudumDare22\/NearBeta\/\">http:\/\/www.sfu.ca\/~ajr12\/LudumDare22\/NearBeta\/<\/a><\/p>\n <p>&nbsp;<\/p>\n <p>As you can probably guess, yeah&#8230;no army of enemies this time around. Might do this in my spare time for fun instead, however. I do like my approach to the theme.<\/p>\n <p>&nbsp;<\/p>\n <p>After I get the jumping to work, I&#8217;ll be working with the HTML holder for it, I guess. Actually, no. Doing that now. Getting it over with.<\/p>\n <p>&nbsp;<\/p>\n <p>Hopefully see you all in 8 hours!<\/p>\n <p>&nbsp;<\/p>\n <p>&nbsp;<\/p>","time":"December 18th, 2011 5:05 am","title":"Oh Yeah? You and what army?"}