Flixel Z-Order DragDrop by pythong

[raw]
made by pythong for LD24 Warm-Up (-)
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?)

By 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

The colors are randomized with each start

Feedback

01010111
19. Aug 2012 · 16:15 UTC
Thanks for this! I've been meaning to look more into Z-Ordering things, so this will be a great jumping off point!
🎤 pythong
19. Aug 2012 · 18:37 UTC
I'm glad I could help :)