Flixel Z-Order DragDrop by pythong
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
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
| Source | https://sites.google.com/site/pythongld/ld-24 |
| Original URL | https://ludumdare.com/compo/ludum-dare-24-warmup/?action=preview&uid=717 |
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 :)