Game Development Community

Some Qs about Torque 2D, plz help

by Daniel Kashtan · in Torque Game Engine · 04/05/2006 (2:03 pm) · 7 replies

First, can I use a .swf flash file for say, menus in my game? I have seen Flash used in commercial games for menus, and I am pretty good at Flash so I'd probably rather make my menus with it. And perhaps for cinematics too depending on the situation. Is it possible?

Second, can you use 3D graphics in Torque 2D? What I mean is 3D graphics, but 2D gameplay, like Super Smash Bros or the upcoming Mario Bros game on DS which is in 3D, but on a 2D plane.

Lastly, can Torque 2D do any of the 2D graphics that faked 3D? For example, like Mode 7 scaling as was done in Super Mario Kart or F-Zero on SNES.

#1
04/05/2006 (2:33 pm)
There is a Flash plug-in for TGE. It should work with T2D as well. But I'd still recommend using T2D. In fact, I've been using it FOR my menus and such in my TGE project.

T2D is a 2D game engine. you can load 3D models, but they are translated to 2D representations. It makes things like animation nice. But it is not a 3D engine. You can use TGE for a "2D...er, 3D game" like Viewtiful Joe, the new SMB, etc.

Mode 7 was a hardware trick that you could emulate. I believe you would have to dig into the source since it is non-standard functionality. You might be able to fake it with some creative scaling and scrolling...but...I have no idea without attempting to emulate the process rather than square-pegging it into a round hole.
#2
04/14/2006 (9:06 am)
Awesome i can use Flash if I so desire! Hopefully it wont be needed though. And I guess faking mode seven is the best way. So I can load 3D models? So does that mean that they'll be translated into 2D sprites and be like pre-rendered graphics as with Donkey Kong Country or Resident Evil?
#3
04/14/2006 (9:11 am)
Well, the 3D models are translated to 2D sprites. But Donkey Kong Country used rendered models to create their sprites while Resident Evil actually used 3D models over 2D pre-rendered backgrounds.
#4
04/14/2006 (12:40 pm)
Quote:
Well, the 3D models are translated to 2D sprites.

Not actually true...TGB used the same rendering for TSShapes (dts models) that TGE does--it just does it in a 2D world.
#5
04/14/2006 (1:46 pm)
Ah. I was confused. I haven't actually looked at the code. I had just looked at the write-up and played with it a bit. Once again, I spread incorrect information. Viva la disinformation!
#6
04/14/2006 (2:28 pm)
@David: Normally you do quite well...and we certainly appreciate all of the time you spend, as well as forgive the minor stuff you very rarely mis-speak about...in fact, I think your record is better than mine ;)
#7
02/12/2007 (5:27 pm)
Hmm, I dont quite understand, I dont even know what TSShapes are... :(