Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Kal-El on Mon 24/10/2005 21:01:19

Title: (SOLVED) - Off-Screen Walkable Area
Post by: Kal-El on Mon 24/10/2005 21:01:19
Is it possible to have a walkable area off-screen? i.e. I want a really close up shot of my character but his legs are off screen because the floor is out of view.
Title: Re: Off-Screen Walkable Area
Post by: Scummbuddy on Mon 24/10/2005 22:15:45
You could just copy his image, and then crop the image in mspaint or whatever, and either make "a new character" or use a background image with his face on the bg, and then animate lips on top of that as objects.
Title: Re: Off-Screen Walkable Area
Post by: Kal-El on Mon 24/10/2005 22:18:22
If there's no other way to do it then I guess it'll have to be this way.

Thanks Scummbuddy, much appreciated. :)
Title: Re: Off-Screen Walkable Area
Post by: Scummbuddy on Mon 24/10/2005 22:21:33
Well, you could always take the room you want and add a large black section to the background off to the side, and make another walk area on it. Then fade out when appropriate, reposition the camera, and move char direct to the new location, which, I'm assuming you'd do a huge zoom level on, and then have your character talk. You may have to fiddle with the camera and the bg black size in order to have such a large character. I don't even know if that is a good way to handle enlarging characters for talk views, but its worth a shot.
Title: Re: Off-Screen Walkable Area
Post by: Kal-El on Mon 24/10/2005 22:23:51
I think I'll stick to the first option, lol. That sounds a little too complicated when the same effect can probably be achieved through doing what you first mentioned.

Thanks for the tips and advice though, I appreciate that.
Title: Re: Off-Screen Walkable Area
Post by: SSH on Tue 25/10/2005 11:36:05
Umm, its even simpler than that. You dont need a walkable area if you just do

player.Y=400;

or something like that.

You'll need to move him back onto a walkable area though before returning control to the player.
Title: Re: Off-Screen Walkable Area
Post by: Kal-El on Tue 25/10/2005 11:44:07
That's the thing. The player'll be in control of the character while his legs are off-screen, hence he's off the walkable area  ???

I think the whole redrawing half of the character is the way forward unfortunately unless there's any otfer possible solutions?
Title: Re: Off-Screen Walkable Area
Post by: Gilbert on Tue 25/10/2005 11:52:32
Use a room larger than the screen instead, and use SetViewPort() or whatever to lock it from scrolling.
Title: Re: Off-Screen Walkable Area
Post by: Kal-El on Tue 25/10/2005 12:10:16
There we go!!!

Now we're cooking, turn it up! :D

Cheers Gilbot!
Title: Re: Off-Screen Walkable Area
Post by: Scummbuddy on Tue 25/10/2005 14:41:53
for one thing, i read that you wanted his legs off screen, that's why I said to crop the character to have the zoomed view of him for the talking view... so i apologize.

the setviewport was where I was going with the "black area" addition to a room, but if you've solved it, then great.