New Reply

Formula for grid count

 
Share Thread Thread Tools
Mar8-12, 07:50 PM   #1
 

Formula for grid count


Hey

I'm making a small indie game project but have hit a bit of a road block.


My maths is not great and until now i been doing fine but have got stuck.

I'm trying to calculate how many tiles fit within an area in an isometric angle - so that no empty spaces are left.

Lets say the area is:

Width : 1200
height : 600

The isometric tiles are:
width: 64
height: 32

Now I first tried:
(area width / tile width) * (area height / tile height)

But that doesn't work because it means each 4 corners are empty spaces. Which means this is not the "maximum" amount of tiles... so does any one know the formula to working it out ?
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
New Reply
Thread Tools


Similar Threads for: Formula for grid count
Thread Forum Replies
Wilczek and his Grid Beyond the Standard Model 3
On a 19 x 19 grid... Calculus 1
Grid Curves Calculus & Beyond Homework 10
Probability on a Grid Set Theory, Logic, Probability, Statistics 5
Grid Networking Computing & Technology 3