Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 20/05/2006 04:28:50

Title: Having trouble transitioning between rooms. (SOLVED)
Post by: on Sat 20/05/2006 04:28:50
Hey all. I checked the FAQs, the manual, the knowledge base and the forums and couldn't find an answer to my problem.

Here's the thing: all of my rooms transition just fine so far except 2. For these rooms, it fades out and then fades back in onto the same room I was already in. I used a hotspot with the command to change rooms to specific coordinates. I double and triple-checked that they weren't set to send the player to the same room he's already in, so what could the problem be? There's nothing invalid about my first room being room 0, is there? Because one of the rooms is supposed to lead to room 0.

Thanks for being patient with a newbie,

-the featherbeast
Title: Re: Having trouble transitioning btwn. rooms.
Post by: Candle on Sat 20/05/2006 04:57:21
Check the rooms again as you have something sending him back to that room.
I have done it before so take your time and look at all the scripts.
Title: Re: Having trouble transitioning btwn. rooms.
Post by: deftonesrule on Sat 20/05/2006 22:48:40
yeah this is something i did by accident when i started making rooms, load up each room seperately to make sure you didnt overwrite the 2nd room with the first one.

if they are both indeed different, look in your interactions and make sure it says which room number to go to.

aside from that im a noobie too so goodluck geting that straight.
Title: Re: Having trouble transitioning btwn. rooms.
Post by: on Sun 21/05/2006 17:48:50
I still can't  figure it out I changed the transition to a dissolve and now for just a second I can see the room I want to transition to, but the same room then loads...almost like it fades out to the room I want and then overlaps it with where my player character already is. The numbers all see to be right, so I don't know what's going on. BTW, I have zero scripting experience and am a complete noob with this, so any more help would be much appreciated. Thanks to those who already posted.

-the featherbeast
Title: Re: Having trouble transitioning btwn. rooms.
Post by: Ashen on Sun 21/05/2006 17:59:33
Can you post the script or interaction editor commands you're using to change rooms? Also, ANY interactions you have in the rooms that don't work (particularly 'Player enters room(after fadein'). It sounds like it may be what Candle suggested - you're somehow sending the player back to their previous room - since you get the brief glimpse of the room you want to be in.
Title: Re: Having trouble transitioning btwn. rooms.
Post by: on Sun 21/05/2006 18:18:47
Sure. It goes like this:

I made the room's door a hotspot with this quality: Interact hotspot>Player-Go to room with specific coordinates (0, 131, 104)

For the other room I did the same thing: Interact hotspot>Player-Go to room with specific coordinates (4, 41, 79)

In both cases, the specified room IS the one I want the player to go to.

Thanks,
the featherbeast
Title: Re: Having trouble transitioning btwn. rooms.
Post by: Ashen on Sun 21/05/2006 23:10:15
What about in those rooms? Are there any interactions that might be changing the room (e.g. are the coords they arrive at on a Region that sends them back through the door)?
Title: Re: Having trouble transitioning btwn. rooms.
Post by: on Mon 22/05/2006 21:03:44
hmm, that could be it! Let me see if i've got that happening and change the coordinates if necessary.

-the featherbeast
Title: Re: Having trouble transitioning btwn. rooms.
Post by: on Wed 24/05/2006 18:37:20
that was it...it's working now.

thanks all.

-the featherbeast