Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Algorithms > Re: 2D array ti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 583 of 680
Post > Topic >>

Re: 2D array tile map diemsnions from Isometric map

by Bill <Bill@[EMAIL PROTECTED] > Sep 28, 2006 at 09:56 AM

Miss Elaine Eos wrote:
> In article <TGySg.25481$eW5.8118@[EMAIL PROTECTED]
>,
>  Bill <Bill@[EMAIL PROTECTED]
> wrote:
> 
>> Can anyone suggest a formula to find the dimensions ( width and height
) 
>> of a 2D array tile map in terms of tiles from an isometric map? The 
>> Isometric tiles are typical 2:1 diamonds and the width and height of
the 
>> isometric maps vary because they are randomly generated. These
isometric 
>> maps are not 45 degree rotated squares maps, they are rotated 
>> rectangles. For example I have the isometric map on the left, but I
need 
>> to create the 2D array on the right, which turns out to be 3x5.
>>
>>   /\         _____
>>  /\/\       |_|_|_|
>> /\/\/\      |_|_|_|
>> \/\/\/\     |_|_|_|
>>  \/\/\/\  = |_|_|_|
>>   \/\/\/    |_|_|_|
>>    \/\/
>>     \/
> 
> Works better if you use spaces (mono-spaced font) rather than tabs, btw.
 
> This arrived misaligned; I think I straightened it out for others to 
> view.
> 

Thank you, Elaine. I hope the new diagrams I added to the thread are not 
misaligned also.
 




 5 Posts in Topic:
2D array tile map diemsnions from Isometric map
Bill <Bill@[EMAIL PROT  2006-09-27 13:39:16 
Re: 2D array tile map diemsnions from Isometric map
Miss Elaine Eos <Misc@  2006-09-28 02:34:47 
Re: 2D array tile map diemsnions from Isometric map
Bill <Bill@[EMAIL PROT  2006-09-28 09:56:24 
Re: 2D array tile map diemsnions from Isometric map
Bill <Bill@[EMAIL PROT  2006-09-28 09:40:46 
Re: 2D array tile map diemsnions from Isometric map
"Geoffrey Summerhaye  2006-09-28 13:23:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:03:03 CDT 2008.