# Isometric - Too ambitious?

**URL:** <https://forum.kirupa.com/t/isometric-too-ambitious/26578>\
**Category:** Uncategorized\
**Created:** [February 21, 2003, 11:22am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578 "2003-02-21T11:22:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ember](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@Ember](https://forum.kirupa.com/u/Ember)\
**Post date:** [February 21, 2003, 11:22am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/1 "2003-02-21T11:22:17Z")

</div>

Hey everyone, first off I’d like to welcome myself to these forums, they look very spangly.

I used to be here, before they got moved, under a different name, probably Pez, or PezDemon… I can’t remember!

Ok, here’s my problem…

I am a pixel artist, and I want to create my new website in flash, with a pixel theme to it… Basically, there will be a little pixel person in an isometric room, and when a user hovers over an object in the room, a description will appear in a pop-up (already found that tutorial on this site- thanks! :D) - but then when they click it, I want the little person to walk over to the object… and then the link to carry on… go to a new page etc.

I have absolutly no idea how to do this, I am a complete beginner, so please be clear, or link to sites that arent written in uber g33k speak.

Thanks for your time, I will be sure to stick around and get posting!

PS. I have attatched my latest piece of pixel work so you can get idea of scale etc.

PPS. These smilies are cool! :skull: :ninja: \<-- ninja!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 7:04pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/2 "2003-02-23T19:04:17Z")

</div>

Sen! When you are finished, just pop this in Best Of Kirupa 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 6:04pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/3 "2003-02-23T18:04:21Z")

</div>

Playamarz had already taught me isometric movement… but WOW, this is definitely in depth!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 6:18pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/4 "2003-02-23T18:18:26Z")

</div>

Hi,

I may be wrong, but shouldn’t the formula for finding the \_x and \_y of the onscreen object given the spacing and isometric x and y be:

\_x=x_spacing+y_spacing;  
\_y=x_spacing/2+y_-spacing/2;

which then reduces to:

\_x = spacing \* (x + y);  
\_y = spacing/2 \* (x - y)

Tim

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 6:55pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/5 "2003-02-23T18:55:14Z")

</div>

Hi,

I may be wrong, but shouldn’t the formula for finding the \_x and \_y of the onscreen object given the spacing and isometric x and y be:

\_x=x_spacing+y_spacing;  
\_y=x_spacing/2+y_-spacing/2;\<–x times spacing, y times negative spacing, NOT x times negative spacing, y times spacing

which then reduces to:

\_x = spacing \* (x + y);  
\_y = spacing/2 \* (x - y)

Tim

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 1:35am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/6 "2003-07-24T01:35:02Z")

</div>

That is just neat, senocular.

I really haven’t seen any article that talks about isometry in that way.

Good Job. :):thumb::thumb:

BOK?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2003, 5:35pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/7 "2003-03-13T17:35:41Z")

</div>

AWESOME STUFF SEN! You should write a book not just on isometry but on other flash stuff! 🙂 P.S. Do you have any more information on this topic! 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2003, 4:35pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/8 "2003-02-21T16:35:21Z")

</div>

hey  
good my thing would help… anyways, in my example, you’ll have to enter the IsoCoordinates to get to the block you want… if you wanna do that by clicking on the block itself, you’ll need to write a function that will convert the \_xmouse and \_ymouse to the iso-coordinates the block’s iso-coordinates… i tired doing that and i half-succeeded… let me know if you found a solution 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2003, 10:38pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/9 "2003-02-21T22:38:06Z")

</div>

i tried using your way marz (which is sen’s way too), but it didnt really work, and, if i try to describe why it wouldnt then i’ll probably confuse you and myself… but it just didnt 🙂 ☹ (:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 22, 2003, 2:21am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/10 "2003-02-22T02:21:57Z")

</div>

that would be awesome! :)…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 22, 2003, 11:50pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/11 "2003-02-22T23:50:32Z")

</div>

whoa!.. this obviously belongs in ‘best of kirupa’ 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 3:35am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/12 "2003-02-23T03:35:16Z")

</div>

ok… i think i found the way to get my path-finding thingie to calculate the path from the \_xmouse and \_ymouse… i’ll try it and post it soon 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 2:34pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/13 "2003-02-23T14:34:12Z")

</div>

> \*Originally posted by senocular \*  
> **\_x = spacing \* (x + y);  
> \_y = spacing/2 \* (x - y);**  
> so now, is there a way to reverse this relation in a way so that we can enter the real coordinates and get the isometric ones…?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 5:41pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/14 "2003-02-23T17:41:39Z")

</div>

oops i missed that part… but… wow, this is a lot… you should write a book about isometry… really 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 23, 2003, 6:27pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/15 "2003-02-23T18:27:18Z")

</div>

hm… isnt this what sen posted? 🙂

> \*Originally posted by senocular \*  
> \*\*\_y = spacing/2 \* (x - y);\_x = x \* spacing + y \* spacing;  
> \_y = x \*-spacing/2 + y \* spacing/2;

which reduces to:

\_x = spacing \* (x + y);  
\_y = spacing/2 \* (x - y);\*\*

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 1:05am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/16 "2003-02-25T01:05:21Z")

</div>

this is really nice sen :)…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 6:30am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/17 "2003-02-25T06:30:41Z")

</div>

yeah im just getting into multi-layered collision and stuff like that actually… this stuff is fun 🙂

i had a question though… if i wanna make something like an isometric pong, how would i go about finding the angles?.. just do it as if im doing it normally and plug the numbers in the formula…? :q:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 3:03am UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/18 "2003-07-24T03:03:13Z")

</div>

wow sen… i haven’t seen anything as comprehensive as this before, not even in books =)

:thumb::thumb::thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2003, 4:50pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/19 "2003-02-21T16:50:02Z")

</div>

Half succeeded eh ahmed?

I could write a basic path finding script… But it would take me a while to sit and think about how it would go again… I have the idea in my head…

And what ahmed is talking about is…

When you click the mouse… Register the \_xmouse and \_ymouse locations. Then you just test how close they are to the nearest set of tile coordinates… Then you just have the guy “run through” without you being able to see him… A guy will sit and think of the path he will take before he walks.

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2003, 7:39pm UTC](https://forum.kirupa.com/t/isometric-too-ambitious/26578/20 "2003-02-21T19:39:56Z")

</div>

Ya man… if you couldn’t udnerstand what sen wrote… You might wanna take your adventures down a notch for now…

Just use his isometric movement and allow the user to walk the character around instead of clicking around… It’s alot easier and for what you wanna do it would probably create a better effect 🙂

[Next page](https://forum.kirupa.com/t/isometric-too-ambitious/26578.md?page=2)
