Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: deadsuperhero on Mon 02/08/2004 19:45:06

Title: Walking Off-screen
Post by: deadsuperhero on Mon 02/08/2004 19:45:06
Hey, I'm just curious, but how do you get the character to walk off the screen. (You know, like the classic Sierra games in which the character totally walked off the screen so you couldn't see him anymore, befor fading to black) Is it an animation that you lose less pixels? Is is a cutscene? Is it some script function? I'm not sure how to do it. ??? Help me out here.
Title: Re: Walking Off-screen
Post by: Snarky on Mon 02/08/2004 20:14:34
Yeah, it's a cutscene, and you have to use scripting to create it. Open up the room interactions, and for "Character walks of left/righ/top/bottom screen edge" insert a script that runs a cutscene of the character walking off.

In order to create the cutscene, you probably need to use the MoveCharacterDirect function, which allows your character to walk outside of walkable areas (like outside of the screen, for instance).
Title: Re: Walking Off-screen
Post by: deadsuperhero on Mon 02/08/2004 20:23:46
Okay, thanks. I'll try it.  ;D
Title: Re: Walking Off-screen
Post by: jrl2222 on Tue 03/08/2004 14:25:26
I have found that
MoveCharacterBlocking(EGO,x,y,1);
Seems to work. I just started a thread though to ask how to get the character to walk straight down from where he is currently instead of to the x position you specify