Ludum Dare 24 Warmup

Back to Browse Entries

Flixel Z-Order DragDrop

by pythong - Warmup Entry

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

Downloads and Links


Comments

01010111 says ...
Aug 19, 2012 @ 4:20pm

Thanks for this! I've been meaning to look more into Z-Ordering things, so this will be a great jumping off point!

pythong says ...
Aug 19, 2012 @ 6:42pm

I'm glad I could help :)

You must sign in to comment.


[cache: storing page]