1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Formula for grid count

  1. Mar 8, 2012 #1
    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 ?
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Formula for grid count
  1. Grids and Graphs (Replies: 0)

  2. Series and grids (Replies: 1)

Loading...