Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gardinero on Mon 01/02/2010 08:45:59

Title: Character does not walk any more, after ChangeView();
Post by: Gardinero on Mon 01/02/2010 08:45:59
Hey Guys,

I have another problem with my AGS Game.

My Character wakes up in his pyjama and goes to the bathroom to change his dress.
Here I used a global variable, which changes to value 1.

When the character returns to the living room again, the room script checks the value of the global variable and "decides" which view will be shown.

The view is changed by ChangeView(2);, but afterwards the character cannot walk anymore.

I also added a second walkable area in this room.


Thank you in advance

Gardinero
Title: Re: Character does not walk any more, after ChangeView();
Post by: Gilbert on Mon 01/02/2010 09:01:44
This is quite odd. Can you post the script used in the living room for us to see if there're any problems (in case the ChangeView() was used in a loop, etc.).
Title: Re: Character does not walk any more, after ChangeView();
Post by: Khris on Mon 01/02/2010 11:55:26
If you can exclude that independent from the view, you didn't place the character outside the walkable area, does View #2 have its first four loops filled with at least one sprite each?

Is the walkable area too thin maybe? A thickness of three is the minimum requirement.