Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on an isometric game and the designers want to use a different isometric angle than the default one, where I simply had to do a 2/1 offset based on tile size.

I know what the new isometric angle is, how can I work out the w/h ratio to offset my tiles ?

share|improve this question
Are you aware of the tangent function and, incidentally, the inverse tangent? – sam hocevar Dec 12 '11 at 12:49
No, I wasn't :) Thanks for the heads up. – George Profenza Dec 12 '11 at 15:25
When you find out your answer, you should post it as an answer to this question so future visitors can learn from your efforts. – Tetrad Dec 12 '11 at 16:43

As @Sam points out, this is essentially all about trig.

tan(angle) = opp/adj implies that if you know the angle and either the width or the height, you can find the other dimension. For example, by rearranging: opp = adj * arctan(angle).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.