Thursday, April 17, 2008

ZContainer Demo - Tunnel

View SWF online
Download FLA
Download API

ZContainer is a 2.5D DisplayObjectContainer.
In addition to the ordinary x and y data,
ZContainer can hold information of depth for a DisplayObject.
And according to its camera's position,
the relative positions and scales of its children will be adjusted.
It can also add "ZOperations",
which is the effect that will be applied to objects that are to near or far from the camera.
ZOperations can be custom-extended from AbstractZOperation.

No comments: