1
function depthAt( x:Number, y:Number, N:Number ):Number { return x+y < N ? (x+y)*(x+y+1)/2 + y : N*N-1-depthAt(N-1-x,N-1-y,N); }
ActionScript On Isometric X/Y Grid pattern ...
by Tom Sirgedas,
September 23, 2008 19:23
ActionScript On Isometric X/Y Grid pattern ...
by ryanmagnon.myopenid.com,
September 02, 2008 23:17
K, I'll add another example...
ActionScript On Isometric X/Y Grid pattern ...
by ryanmagnon.myopenid.com,
August 26, 2008 20:35
Yeah, 2D Isometrics, sort o...
ActionScript On Isometric X/Y Grid pattern ...
by Juha Hollanti,
August 12, 2008 10:28
Umm, i don't know what you'...
ActionScript On Get color from string
by Nosredna,
August 04, 2008 23:52
If anyone wants to know how...
ActionScript On Get color from string
by shaman4d.blogspot.com,
August 04, 2008 23:42
Yeah - its a much better th...
1 2 3
public static function getColorFromString(color:String):int return parseInt(color.split("#")[1],16); }
ActionScript On Get color from string
by Nosredna,
August 04, 2008 22:47
A lot depends on what you k...
1 2 3 4
public static function getColorFromString(color:String):int { return parseInt(new RegExp(/[0-9a-fA-F]{6}/).exec(color),16); ...
ActionScript On Get color from string
by Juha Hollanti,
July 13, 2008 21:04
Ahh, ok. I misunderstood th...
ActionScript On Get color from string
by shaman4d.blogspot.com,
July 13, 2008 19:21
Thanks, but wgat we have fo...
1 2 3 4
public static function getColorFromString(color:String):int { // Convert '#' to '0x'. Everything starting with '0x' is interpreted by AS automatically as a hex number. ...
ActionScript On Get color from string
by Juha Hollanti,
July 13, 2008 12:08
I can't picture getting aro...

loop through x, y and get t...