My favorites | Sign in
Project Logo
                
Search
for
Updated Oct 01, 2008 by jwopitz
Labels: Featured, Phase-Implementation, tutorial
as3isolib_tutorial_001  
A simple example showing how to create an isometric box on the stage.

tutorial

This tutorial will demonstrate how to add an isometric primitive to the display list.

source code

package 
{
	import as3isolib.display.primitive.IsoBox;
	import as3isolib.display.scene.IsoScene;
	
	import flash.display.Sprite;
	
	public class IsoApplication extends Sprite
	{
		public function IsoApplication ()
		{
			var box:IsoBox = new IsoBox();
			box.setSize(25, 25, 25);
			box.moveTo(200, 0, 0);
			
			var scene:IsoScene = new IsoScene();
			scene.hostContainer = this;
			scene.addChild(box);
			scene.render();
		}
	}
}

Comment by nicholas.sandro.ball, Mar 08, 2009

Wierd... cant see any of these examples in my scenes... Got the latest code from svn and all... Any ideas anyone?

Comment by nicholas.sandro.ball, Mar 08, 2009

Its actually the case with all the examples... the scene has been rendered (without errors) but nothing showing.

Comment by krixware, Apr 19, 2009

In contrast to what nicholas.sandro.ball said, it does show BUT it's not the same with the screenshot above.

Check out my output.


Sign in to add a comment
Hosted by Google Code