Register to reply

Formula for grid count

by sirchick
Tags: formula, grid
Share this thread:
Mar8-12, 07:50 PM
P: 52

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 ?
Phys.Org News Partner Mathematics news on
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
Iranian is first woman to win 'Nobel Prize of maths' (Update)

Register to reply

Related Discussions
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