Walking Off-screen

Started by deadsuperhero, Mon 02/08/2004 19:45:06

Previous topic - Next topic

deadsuperhero

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.
The fediverse needs great indie game developers! Find me there!

Snarky

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).

deadsuperhero

Okay, thanks. I'll try it.  ;D
The fediverse needs great indie game developers! Find me there!

jrl2222

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

SMF spam blocked by CleanTalk