Playing with 3D in Flash
September 16th, 2008
So for a few days I’ve been experimenting with various bits of code, using a Kirupa tutorial as a starting grounds, in order to create the effect of rendering 3D objects in Flash. It has been a bit hard trying to figure out how to do things but eventually I wrote a few functions that basically put a cube of cubes (the basis for my flash game idea) onto the screen and could be rotated in three dimensions.

This was all well and good but now I have been stumped by figuring out how to sort the z-order and making the drawing more efficient by ignoring parts that are hidden behind other parts.
Add a Comment
The flash actionscript behind this is flexible enough to allow for any size
puzzle to be created and jumbled as many times as I like. In addition to this,
the difficulty of rotating pieces is also a feature.