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.
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
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 (:
*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…?
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:
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.
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