Game Development Community

Can TGB do 360 panoramic scenes

by Pierre78 · in Torque Game Builder · 09/25/2010 (6:29 pm) · 2 replies

Hi !

Some 2D games integrate a panoramic 360 view, especially for adventure games. It's pure 2D, but the player can turn all around him without moving in front or back.

I think about all the adventure games from Microids for example, especially Mysterous Island Jules Vernes, Leonard Da Vinci or Dracula 3.

I imagine those games are made with a cube mapped with 2D pictures of the scene on the 6 faces. Some sprites are then added on those pictures with a classic way. Some hot points are then defined on the pictures (like a door for example) to simulate a move (like changing room).

How can we do that with TGB ?

Thanks for your help,

Pierre



#1
09/25/2010 (9:35 pm)
You could do this. There is an object called the t2dScroller. If you built your panoramic view and added it to the scene as a t2dScroller, you can then slide the image around. It automatically handles the wrapping aspect, but I think it requires that the image sides be power-of-2.

You could also just put the paromaric image next to each other and move the camera right and left between the two. When a player is getting near the right edge of the rightmost image, you just jump the camera to the left image. Opposite for the other direction.
#2
09/25/2010 (11:55 pm)
Are you thinking about a 2D space something like the old game called Chain of Command? Everything in this game was 2D, but you could move your camera around to a different side of the playing field in a certain direction.