Posted By
|
Message
|
norfair
Registered 31/10/2002
Points 244
|
1st March, 2006 at 00:16:39 -
does anybody know a tutorial (or a simple way explainable) to make a multi-pathfinding with
- different starts
- different paths
- different destinations
?
Radix says:
It's regrettable that TDC is the arsehole of the click scene, but somewhere has to be.
|
DanielRehn
Registered 18/09/2002
Points 139
|
1st March, 2006 at 00:21:17 -
Pathfinding object?
Grid Object?
Advanced Path Movement?
All of theese work fine
n/a
|
norfair
Registered 31/10/2002
Points 244
|
1st March, 2006 at 00:37:34 -
Pathfinding object - if I put a second one, the first one doesnt work yet.
Grid Object - never had suscessfull to make a pathfinding by myself
Advanced Path Movement - it crashes when there are 2 apm objects or more
well, exist a MMF tutorial site? ^_
Radix says:
It's regrettable that TDC is the arsehole of the click scene, but somewhere has to be.
|
DanielRehn
Registered 18/09/2002
Points 139
|
1st March, 2006 at 00:46:26 -
omg... never use 2 objects for pathfinding... that's slow...(in the tests for the snowbattle games, I used 1 pathfinding object for more than 40 units)
This is how you do...
Find a path and then record the path to an array, this is much faster as you only need to find a new path when a new order is issued...
Then read the array step by step until you reach your target... If you want a new target, calculate a new path and write it to the array (writing over the old one)..
Hopw this helps some...
Never used any tutorials on this subject, just experimented for a while..
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
1st March, 2006 at 06:28:17 -
Here is a great example using the pathfinder extension (I think).
http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=upload&Number=169920&page=&view=&sb=&o=&vc=1
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
norfair
Registered 31/10/2002
Points 244
|
1st March, 2006 at 10:22:02 -
ahhhh great
this one actually makes the stuff go in the same destination, while I'd like to have different ones but maybe with the suggested method of daniel I could be able to fix that.
many thanks, professional.
Radix says:
It's regrettable that TDC is the arsehole of the click scene, but somewhere has to be.
|
|
|