# Pathfinding

**URL:** <https://forum.kirupa.com/t/pathfinding/56812>\
**Category:** programming\
**Created:** [July 7, 2004, 10:13pm UTC](https://forum.kirupa.com/t/pathfinding/56812 "2004-07-07T22:13:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cthulhu](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@cthulhu](https://forum.kirupa.com/u/cthulhu)\
**Post date:** [July 7, 2004, 10:13pm UTC](https://forum.kirupa.com/t/pathfinding/56812/1 "2004-07-07T22:13:51Z")

</div>

Can anyone here point me in the right direction for having a character walk around an object?

Attached is my best attempt after numerous tries.

I’m basically using hitTest on a bunch of little nodes that define my area the object should move around.

Each node tells the object to move a certain ammount until the object is clear of the nodes, and the object goes where I originally clicked. Problem is, my method sucks and the object gets stuck most of the time.

I’m trying for the functionality of a point-and-click graphic adventure game.

Thanks.

---

<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 7, 2004, 10:25pm UTC](https://forum.kirupa.com/t/pathfinding/56812/2 "2004-07-07T22:25:19Z")

</div>

[http://www.tonypa.pri.ee/tbw/index.html](http://www.tonypa.pri.ee/tbw/index.html) its somewhere on the menu there ; D

---

<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 7, 2004, 10:39pm UTC](https://forum.kirupa.com/t/pathfinding/56812/3 "2004-07-07T22:39:41Z")

</div>

Hmmm. Tile-based, but interesting all the same. I might have to re-think my methods. Lots of other goodies on that site, too. Thanks for the link.

---

<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 7, 2004, 10:53pm UTC](https://forum.kirupa.com/t/pathfinding/56812/4 "2004-07-07T22:53:19Z")

</div>

there is a book called flash MX game design demystified that talks about the A\* algothrim thats used for pathfinding, u might wanna check that book out

---

<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 7, 2004, 11:07pm UTC](https://forum.kirupa.com/t/pathfinding/56812/5 "2004-07-07T23:07:31Z")

</div>

Yeah, I saw that book on Amazon. I’ll have to go check it out at a bookstore. Thanks.

Now if they only had “Building a Lucasarts-Style Graphic Adventure: For Dummies”, I’d be set. 🙂
