Main Menu
  • Welcome to The RPG Maker Resource Kit.

A* - A Useful Resource for scripters

Started by Tsunokiette, October 05, 2006, 09:46:04 PM

0 Members and 1 Guest are viewing this topic.

Tsunokiette

I haven't translated this to RGSS yet, but here's a link to an effective A* script -

http://nuttybar.drama.uga.edu/pipermail/dirgames-l/2006-July/038590.html

It's a little slower than others, but it should check all possible paths.

What the A* algorithm is - A proccess that checks possible paths and finds the shortest route. Is used mainly in pathfinding scripts.
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

Zeriab

Hey Tsu.

There has been made a pathfinding script which uses the A* algorithm.
It is not stable yet and it is not a very optimized A* algorithm used, but it may help.
http://www.dubealex.com/asylum/index.php?showtopic=11874

You can read a bit about A* here:
http://en.wikipedia.org/wiki/A*

The A* generally does not check all possible paths. It is only in worst case that all paths are checked.
- Zeriab