Character freeze during walking mode...

Started by Ninone, Wed 29/07/2009 13:40:22

Previous topic - Next topic

Ninone

I hope someone can help me...

My character, RANDOMLY, during the walking mode along the walking area, it doesn't matter what room is, it freeze... GUI still is in function, but character can't move, and i can only quit...
I'm using the last version of AGS in 1024x768.

TY :(

Khris

Make sure the walkable areas are at least three pixels wide. If they aren't and the character accidentally leaves them, it'll stop them dead in their tracks.

Ninone

TY for your reply.
In many rooms there are walking area about 4px near 50+px...
I can't understand, it seems to go aout from rail randomly when reach the edges of walking area.
This happens not in rectangular area but in irregular areas... and in scrolling background. The character walk with 7 speed, maybe is too high?
I hate random issues :(

Khris

The pathfinder does seem to have issues occasionally, especially with very irregular shaped areas or near corners.
You could try to increase the WA width to at least 7 pixels, or simply check if the character gets stuck if you decrease the speed. It shouldn't matter in theory, but if it does, it's pretty much a bug.

Ninone

Atm, with only rectangles, it seems to work :) TY

SMF spam blocked by CleanTalk