3d ((free)) - Haxeflixel

To go further, use : Pre-render a 3D object (like a tree or a power-up) from 8 to 16 angles. Swap the sprite's frame based on the player's angle relative to the object.