Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: j-Hed on Fri 02/01/2004 23:44:18

Title: Room changing problem!
Post by: j-Hed on Fri 02/01/2004 23:44:18
Ive got a problem with the player, when changing from room 1 to room 3 (going around a building and coming out on the other side(from left side to right side in the other room)) he wont walk in any other direction than to the left and he wont stop walking when you want him to go in any other direction. The same thing happened when I deleted room 3 and re-made it but then he walked to the right instead (he only wants to walk in one direction).

Does anyone know the problem I would appreciate your help very much!
Title: Re:Room changing problem!
Post by: densming on Sat 03/01/2004 00:26:26
Are you using the MoveCharacterBlocking function?  Or do you have the "Wait for move to finish" check box marked? This could explain why the character will not stop moving once it starts. You should use MoveCharacter or uncheck the "Wait for move to finish" box.
Title: Re:Room changing problem!
Post by: j-Hed on Sat 03/01/2004 00:45:42
I use: "Player - Go to a different room at specific coordinates when Player is standing on a hotspot." And I dont use the MoveCharacterBlocking function.
Title: Re:Room changing problem!
Post by: Wolfgang Abenteuer on Sat 03/01/2004 03:25:34
Wait, which room does he keep walking on?  Room 1 or room 3?  Just to get it straight, is this what you're trying to do?:

Player starts on room 1
Player walks to the edge of room 1 (or to a specific point in room 1)
Player changes to room 3

...or are you doing something else?

~Wolfgang
Title: Re:Room changing problem!
Post by: Scorpiorus on Sat 03/01/2004 16:38:21
Also, don't you have a hotspot with a walk-to point around? :P
Title: Re:Room changing problem!
Post by: j-Hed on Sat 03/01/2004 20:37:06
It's in room 3 the player only walks to the right and he won't stop walking.

And I have no walk to point hotspot.
Title: Re:Room changing problem!
Post by: Inkoddi on Sat 03/01/2004 20:48:27
Use regions!! Character standing on hotspot is obsolete....
Title: Re:Room changing problem!
Post by: j-Hed on Sat 03/01/2004 21:56:47
I tested that and it didnt make any difference!
Title: Re:Room changing problem!
Post by: Scorpiorus on Sat 03/01/2004 22:15:19
Have you altered the main global script at all?
Can you upload that room3.crm file to look in?
Title: Re:Room changing problem!
Post by: j-Hed on Sun 04/01/2004 13:54:31
Do you wan't me to mail the file room3.crm to you Scorpiorus?

Or how do I upload it? Im sorry for all this trouble... ;)

Title: Re:Room changing problem!
Post by: Scorpiorus on Sun 04/01/2004 14:00:09
Sure, drop it on noiprocs_world@mtu-net.ru
Title: Re:Room changing problem!
Post by: Scorpiorus on Sun 04/01/2004 20:13:18
Ok, I've just looked in and found what's wrong. The horizontal part of a green walkable area you drawn is too thin for AGS. Make it thicker (something about 9-10 pixels would suit fine), like:

_||_____________________________||_
________10 pixels thickness __________|


Works?
Title: Re:Room changing problem!
Post by: j-Hed on Sun 04/01/2004 21:54:30
THANX MAN!!!!!

But its strange because the walkable area is much thinner in room one and it works fine.

Sorry for all this fuzz but the demo of my game will be ready in a few weeks and I hope you'll like it.

:)
Title: Re:Room changing problem!
Post by: Scorpiorus on Mon 05/01/2004 16:43:05
You are welcome!

Quote from: j-Hed on Sun 04/01/2004 21:54:30But its strange because the walkable area is much thinner in room one and it works fine.
Yes, I know. In regard to original walkable, I was able to make the character walk in a desirable direction by means of clicking on the walkable area itself. Clicking outside makes the character to walk in wrong direction for some reason, possibly because of specific shape of the area.

QuoteSorry for all this fuzz but the demo of my game will be ready in a few weeks and I hope you'll like it.
I liked the background graphics, btw. Good luck on your project! ;)

~Cheers