Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jesternario on Thu 17/06/2010 06:33:27

Title: Can we do wrap-around backgrounds for rooms?
Post by: jesternario on Thu 17/06/2010 06:33:27
I'm trying to make a first person game where the player has a 360(ish) degree view of the room. I want to keep the room count down, and making each view a different view seems a bit much. Is there a way i could use a wraparound background where the player could use the mouse to move his view of the area?
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: Khris on Thu 17/06/2010 10:03:25
Yes, that's possible; say the screen is 320 pixels wide and your room is 1000 wide. You'd have to copy the leftmost 320 columns of pixels to the right, increasing the room width to 1320. Then set the viewport manually and jump to the far end if the player reaches one end.

There's also the panorama module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38512.0).
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: Monsieur OUXX on Thu 17/06/2010 11:13:31
Quote from: Khris on Thu 17/06/2010 10:03:25
There's also the panorama module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38512.0).

Yep, the PANORAMA MODULE does it for you. :-)
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: Kweepa on Thu 17/06/2010 13:43:02
May I also suggest my Panorama module?
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27632.0

(This is not a totally flippant comment as Khris's link goes to my Panorama3d module, which is slightly different.)
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: monkey0506 on Fri 18/06/2010 22:55:56
This may be a bit off topic but you might want to check out the Panorama module by Steve McCrea. No link, just sayin.
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: Knox on Sat 19/06/2010 00:46:00
Either that or the panoramic module could work too.
Title: Re: Can we do wrap-around backgrounds for rooms?
Post by: LimpingFish on Sun 20/06/2010 01:32:54
There's a Panorama module now?!

EDIT: I heartily recommend it.