Ego doesn't walk to point?!

Started by wackojacko, Mon 20/09/2004 17:43:24

Previous topic - Next topic

wackojacko

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? ???
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

BorisZ

Maybe your walkable area is too small. If it is less then 4 pixels wide, walking will not work very well.

wackojacko

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.
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

BorisZ

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.

Scummbuddy

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?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

wackojacko

#5
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
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

Scorpiorus

#6
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?

wackojacko

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Ã,  :-[.
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

BorisZ

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!

wackojacko

Ok, I'll try to create a new game project with only the island map room, and upload that
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

Scorpiorus

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.

SMF spam blocked by CleanTalk