{"author_name":"GFM","cat":"LD #26","comments":[],"epoch":1367592360,"likes":2,"metadata":{"p_key":"42776","p_author":"GFM","p_authorkey":"7375","p_urlkey":"78411","p_title":"Weird Bugs","p_cat":"LD #26","p_event":"LD26","p_time":"1367592360","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"7375","us_name":"GFM","us_username":"\/author\/gfm\/","event_start":"1366934400","event_key":"16","event_name":"LD26"},"text":"<p>During the compo, I ran into a bug that made two pushable box (which should collide and stop) run over each other.\u00a0 I&#8217;ve been trying to fix that, but now nothing makes sense anymore&#8230; The gif bellow can better show it (and also show a new stage! :)).<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2013\/05\/03\/weird-bugs\/gfm_ld26_box_bug2\/\" rel=\"attachment wp-att-255438\"><img class=\"aligncenter size-full wp-image-255438\" alt=\"gfm_ld26_box_bug2\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/05\/gfm_ld26_box_bug2.gif\" width=\"512\" height=\"512\" \/><\/a><\/p>\n <p>As you can see, the first time it collides perfectly&#8230; but the second time (which should be the exact same situation), they overlap each other&#8230; One thing that I was able to notice (after dumping some frame-by-frame information to a .txt file&#8230; &gt;_&lt;)\u00a0 is that there may be a relation with their order in the object list (FlxGroup, if you&#8217;ve ever used Flixel).<\/p>\n <p><del>Ok, this gave me a (stupid) idea. I&#8217;ll check which is the left most one and pass that as the second object to the collision method (FlxObject.separate). I&#8217;ll post soon with results.<\/del> Obviously, it didn&#8217;t work. \u00ac\u00ac<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/as3\/\" rel=\"tag\">as3<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/bug\/\" rel=\"tag\">bug<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/flixel\/\" rel=\"tag\">Flixel<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/postcompo\/\" rel=\"tag\">postcompo<\/a><\/p>","time":"May 3rd, 2013 9:46 am","title":"Weird Bugs"}