Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: wackojacko on Mon 20/09/2004 17:43:24

Title: Ego doesn't walk to point?!
Post by: wackojacko on Mon 20/09/2004 17:43:24
Hey, I have a little problem
In my game I have an island map, like in monkey island.
When you click on a location the hero walks to that point and when it walks over a region it goes to a new room etc.
But if the Ego stands somewhere on a place in the map, it's only in one area, the Ego only starts to walk when I click very close to him. If I click a bit more far away(where the area really IS walkable) it doesn't move.
Here's a picture of it with the walkable area shown:

http://tim.vd.hoeven.free.fr/1.bmp

Can someone help me? ???
Title: Re: Ego doesn't walk to point?!
Post by: BorisZ on Mon 20/09/2004 18:23:39
Maybe your walkable area is too small. If it is less then 4 pixels wide, walking will not work very well.
Title: Re: Ego doesn't walk to point?!
Post by: wackojacko on Mon 20/09/2004 20:22:34
I don't think thats the problem 'cause when I click to that point and stand somewhere else, the ego does walk to that point.
Title: Re: Ego doesn't walk to point?!
Post by: BorisZ on Mon 20/09/2004 21:05:48
Try making your walkable areas a little bit wider as I told before.
I think the area you pointed that character is standing on is too thin.
Title: Re: Ego doesn't walk to point?!
Post by: Scummbuddy on Mon 20/09/2004 21:06:58
I don't think thats neccesary. It may have to do with regions and such. or maybe you only have to only walk to walk-to points?
Title: Re: Ego doesn't walk to point?!
Post by: wackojacko on Tue 21/09/2004 16:04:46
Quote from: Scummbuddy on Mon 20/09/2004 21:06:58
I don't think thats neccesary. It may have to do with regions and such. or maybe you only have to only walk to walk-to points?

Could you be a little more detailed? I don't understand what you mean... ???

And for Borisz:

Well, I made the walkable area a bit wider but that doesn't seem to change anything
Title: Re: Ego doesn't walk to point?!
Post by: Scorpiorus on Tue 21/09/2004 18:10:38
I'd try what BorisZ suggested. Making your walkables wider will help the ags pathfinder to calculate the correct route for the character to walk.


EDIT:
QuoteWell, I made the walkable area a bit wider but that doesn't seem to change anything
How big is your game? Maybe you can upload it for us to look at?
Title: Re: Ego doesn't walk to point?!
Post by: wackojacko on Wed 22/09/2004 19:23:37
Ok, here's the link. It's a self-extracting exe-file and it's about 848 kb:

http://tim.vd.hoeven.free.fr/MonsterIsland.exe

The original game is in Dutch so I tried to translate it in English. Some parts of the game could still be in Dutch. You can only play the island map. Try walking from the bridge to the beach (by first clicking on the bridge and then on the tree). Or try walking from the beach to tree, that's impossible too.

If you meant the game project, I could upload that on my site too, but I'm afraid that my ideas and artÃ,  will be stolenÃ,  :-[.
Title: Re: Ego doesn't walk to point?!
Post by: BorisZ on Wed 22/09/2004 19:33:17
Quote from: wackojacko on Wed 22/09/2004 19:23:37
Ok, here's the link. It's a self-extracting exe-file and it's about 848 kb:

http://tim.vd.hoeven.free.fr/MonsterIsland.exe

The original game is in Dutch so I tried to translate it in English. Some parts of the game could still be in Dutch. You can only play the island map. Try walking from the bridge to the beach (by first clicking on the bridge and then on the tree). Or try walking from the beach to tree, that's impossible too.

If you meant the game project, I could upload that on my site too, but I'm afraid that my ideas and artÃ,  will be stolenÃ,  :-[.

Your exe will be no good to us for checking (maybe if we reverse enginere it....).
And about your art and ideas.... yes, by all means, keep it away from dirty old men like us!
Title: Re: Ego doesn't walk to point?!
Post by: wackojacko on Wed 22/09/2004 20:55:01
Ok, I'll try to create a new game project with only the island map room, and upload that
Title: Re: Ego doesn't walk to point?!
Post by: Scorpiorus on Wed 22/09/2004 20:57:56
Yep, it's difficult to say what exactly is wrong without being provided with a roomX.crm file at least. But still, it seems like the path is too complicated for the pathfinder -- it's narrow and has quite a few curves. Try increasing path width graduately and see when the character will be able to go to any point. Also, try changing character's walking speed to, say, 1 and see if it helps or behaves the same way.