Game Development Community

2D game with 3D assets in Torque X 2D Builder?

by Steve Marshall · in Torque X 2D · 10/07/2008 (4:49 pm) · 2 replies

It is possible to make a 2D game using 3D assests in Torque X 2D Builder?

I've spent the last 3-4 weeks learning to use Torque X 2D Builder and feel comfortable with it. I want to start replacing some of my 2D assets with 3D assets...is this possible?

#1
10/07/2008 (4:53 pm)
Yup
I would suggest buying the complete guide to Torque X
but,

T2DShape3D object = new T2DShape3D();
object.Name = "woot";

object.SetShape(@"data\meshes\mymesh.dts");
object.ShapeScale = new Microsoft.Xna.Framework.Vector3(10);

TorqueObjectDatabase.Instance.Register(shape);
#2
10/07/2008 (5:08 pm)
Thanks a lot, really appreciate it. Ok, try it out tonight.

Yes, I purchased it just yesterday thru Amazon and I'm waiting for it to arrive :-). Glad to know that it will contain some useful info.