Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,618 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 3 of 3 1 2 3
Re: Aum 64 [Re: PrenceOfDarkness] #130789
05/23/07 06:54
05/23/07 06:54
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline
Serious User
jumpman  Offline
Serious User

Joined: Apr 2002
Posts: 1,246
ny
is there a way to modify the new pathfinding to accomadate multiple entities pathfinding?

Re: Aum 64 [Re: jumpman] #130790
05/23/07 20:26
05/23/07 20:26
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline OP

Expert
George  Offline OP

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
"what did you do to increase the number of nodes from 100 to 300?" I have increased the size of the arrays and I have optimized a few functions.

"What version of Gstudio can this code run on?" It was developed and tested with A6.506, but it should work fine with A6.314 as well.

"Will you later on Add some form of "Enemy AI" that can take adavantage of this new system?" This isn't that complicated. I have kept the same (or almost identical) function names, so you can simply replace the functions from my old Perfect AI demos with the new, faster, optimized ones. On the other hand, you can easily turn player's path finding code into an enemy pathfinding code. Just feed the robot the current coordinates of the player (let's say) every second instead of giving it the coordinates of the clicked area of the level and you've got an enemy that follows the player everywhere.

"is there a way to modify the new pathfinding to accomadate multiple entities pathfinding?" I did that in the previous versions of PAI this way: the (single) function that computes the path runs from time to time, serving as many enemies as needed in a queue. Since the path is computed in a frame, you can easily compute the paths separately for 50-100 enemies that are close to the player. You can see this mechanism running in the last demo from my old Perfect AI series of articles.

Re: Aum 64 [Re: George] #130791
05/27/07 19:34
05/27/07 19:34
Joined: Jul 2003
Posts: 85
France
Gandalf Offline
Junior Member
Gandalf  Offline
Junior Member

Joined: Jul 2003
Posts: 85
France
Aum64 translate into French is online.

Page 3 of 3 1 2 3

Moderated by  George 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1