PDA

View Full Version : Isometric tiles



Cardinal4
September 7th, 2006, 04:48 AM
I've followed the tutorial on http://www.kirupa.com/developer/actionscript/isometric_transforms.htm and managed to draw myself a isometric tile on screen. However, the tile that i drew using the API was different from what i got when i took a square and skewed it 60 degrees horizontally, 30 degrees vertically.

I need to be able to draw a square and then turn it into a isometric tile at authortime, not runtime, as i want my tiles to have this anime look that's not possible using AS... I'm planing to draw them and then import using AS during runtime... Anyway, does anyone know how to draw a tile druing authortime that looks like what is shown in the tutorial?

SacrificialLamb
September 7th, 2006, 08:58 AM
do the tiles need to be isometric or could you have isometric thing drawn on non isometric tiles (just a thought).

did not read the tut, but thing the difurus might be in the math, you should be abel to draw the tiles and plase them in 2 line's with an overlap
/\/\/\/\/\ _
\/\/\/\/\/\_over lap
\/\/\/\/\/
this has some info on it. Have not read myself but i think it's mc made not API
http://www.tonypa.pri.ee/tbw/tut16.html

Cardinal4
September 7th, 2006, 12:37 PM
oh man, thx for the link! I dun really get wat you just said, but the link helps!!! =D
Apparently i can do it 2 ways: [Flash 8]
--> Skew 60 degrees hori, 30 degrees verti. Unselect, reselect. Scale to 85% vert.
--> Rotate 45 degrees. Unselect, reselect. Scale to 50% vert.