Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: Scarpia on March 23, 2003, 07:34:46 PM

Title: Looping rooms
Post by: Scarpia on March 23, 2003, 07:34:46 PM
Hi. I may be asking for something that WME can already do, but...


I would like to be able to make a looping room, like a city, with maybe three screen-width's worth of buildings and storefronts, and make the scene loop so that the actor can walk left or right infinitely, with the background and objects just repeating...


Scarpia
Title: Re:Looping rooms
Post by: Mnemonic on March 24, 2003, 09:00:59 AM
Well, now you've got me. I really didn't think about this before. I believe it could be done with some nasty agressive scripting (i.e. periodically checking actor's position and "teleporting" him to the other edge of the scene when he crosses an invisible border), but the transition from one edge to another would be probably quite apparent. Hmmmm...
Title: Re:Looping rooms
Post by: Ionias on March 25, 2003, 04:14:23 AM
I do know this can be done entirely w/ scripting. Some one in the ROTN AGS boards has done a demo of this w/ AGS which doesn't support that feature.

You need to take a full scale room and add on to the end of the room the begining of the room. Then by keeping track of the player x,y like Mnemonic said you can just teleport the player to that new location. The scene will not appear to "jerk" because of the added length of the pre-existing background.

Title: Re:Looping rooms
Post by: Brassfire on March 25, 2003, 07:01:14 AM
So basically you have a small overlapping section of the room where if the actor moves left it loads the left view and if it moves right it loads the right view? And the actor is still in the same "place"?