Can we do wrap-around backgrounds for rooms?

Started by jesternario, Thu 17/06/2010 06:33:27

Previous topic - Next topic

jesternario

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?

Khris

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.

Monsieur OUXX

 

Kweepa

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.)
Still waiting for Purity of the Surf II

monkey0506

This may be a bit off topic but you might want to check out the Panorama module by Steve McCrea. No link, just sayin.

Knox

Either that or the panoramic module could work too.
--All that is necessary for evil to triumph is for good men to do nothing.

LimpingFish

#6
There's a Panorama module now?!

EDIT: I heartily recommend it.
Steam: LimpingFish
PSN: LFishRoller
XB: TheActualLimpingFish
Spotify: LimpingFish

SMF spam blocked by CleanTalk