{"author_link":"\/author\/pythong\/","author_name":"pythong","author_uid":"717","comments":[{"author_name":"01010111","author_uid":"11474","time":"Aug 19, 2012 @ 4:20pm","epoch":1345392900,"text":"Thanks for this! I've been meaning to look more into Z-Ordering things, so this will be a great jumping off point!"},{"author_name":"pythong","author_uid":"717","time":"Aug 19, 2012 @ 6:42pm","epoch":1345401420,"text":"I'm glad I could help :)"}],"images":["ld24w\/717-fccdf488735c18566a917313c4f57124.jpg","ld24w\/717-edb044784efec70574d48f22f2e69951.jpg","ld24w\/717-3ff341ecc48ada6b101596630e2b25ab.jpg"],"links":[{"url":"https:\/\/sites.google.com\/site\/pythongld\/ld-24","text":"Source"}],"metadata":{"g_key":"34687","g_author":"717","g_event":"LD24W","g_eventkey":"13","g_subevent":"-","g_urlkey":"34717","g_title":"Flixel Z-Order DragDrop","g_status":"UCHK1","g_place":"99999","g_commentcount":"2","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/151218\/717-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/151218\/717-shot1.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/151218\/717-shot2.png-eq-900-500.jpg"],"text":"Anyone using Flixel? This is just a small example how to do Drag&Drop and z-Ordering with Flixel (not much of a game, well, it's a warmup, right?)\r\n\r\nBy modifying the FlxObject class a bit, I could add a sorting functionality, which is important when you want to do a bit of drag\/drop and mouse interaction. Bonus: a few classes to create simple bordered FlxSprites or FlxSprites with shadows or highlights, and a class for the checkered background \r\n\r\nThe colors are randomized with each start<\/p>","title":"Flixel Z-Order DragDrop"}