Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Technocrat on Wed 14/07/2010 14:31:32

Title: Disabling the pathfinder...
Post by: Technocrat on Wed 14/07/2010 14:31:32
I've dug through the forums and found things relating to the maximum size of rooms before. The common complaint is that when the room gets too large, the game slows down dramatically, and this has been blamed in the other threads on the pathfinding system. Slowdown is the problem I'm having, so I had a couple of questions about the pathfinding.

Firstly, is there any means by which I can disable?

Secondly, how important is it for the movement of a unit? If I had absolutely no obstacles, and all characters and objects were non-solid, am I right in thinking that the pathfinding would be unnecessary for a simple movement like WalkStraight?
Title: Re: Disabling the pathfinder...
Post by: Khris on Wed 14/07/2010 14:41:35
If you use the eAnywhere parameter, the walk will ignore walkable areas. I guess this includes solid objects but I haven't tried it yet. Thus this shouldn't use pathfinding at all.
An alternative is to simply calculate the movement path yourself and move and animate the character manually.