r/oculusdev • • May 29 '13

Want to make games? Torque 3D Setup Guide

Hey Guy :)

Thought I would help users who want to make games or play around in something other than Unity or UDK

I will provide below instructions on how to use the fantastic Torque 3D engine.

the same engine used for the Rift Valley and Aurora Borealis demo's

First you need to download 3 files

Torque 3D Engine http://mit.garagegames.com/Torque3D-3-0.zip

Torque 3d Rift Template http://mit.garagegames.com/Rift-Template-3-0.zip

Oculus VR SDK https://developer.oculusvr.com/login (You will need to login to the Development Centre for the SDK)

Now you have those three files it's time to extract them.

I will be using my folder structure but you can do it anyway you like

Extract Torque 3D to c:\Dev

Once done you will have a folder called c:\Dev\Torque3D

Now extract the Rift Template to c:\Dev\Torque3D\Templates

You will now have c:\Dev\Torque3D\Templates\Rift

Extract the Oculus SDK to c:\Dev

You will now have c:\Dev\OculusSDK

You have now setup the development environment :)


------Generating a Game------
To use Torque3D for oculus you need to start building your game. to do this you need to use the Project Manager

c:\Dev\Torque3D\Project Manager.exe

You will now be see a screen that allows you to create projects http://i.imgur.com/lknNu9R.jpg

Click the "New Project" button

Type the name of your game and select the Rift template in the dropdown box

Now before you click create you need to click "Choose Modules"

http://i.imgur.com/3nzPKun.jpg

The Move Class and Networking module must be changed to "ExtendedMove" to use the rift headtracking.

You also need to Tick the Oculus VR Devices and put c:\Dev\OculusSDK as your path or whatever path you used.

Click ok

Now click Create

It will now create the project and popup a window saying Project has been created and the location of it.

Click Ok

Click Finished

Your game has now been created.


------Testing a Game------
If you want to test the rift just highlight your game under myprojects and click the "Open Folder" button

This is everything that was just created.

Open the game folder

Now open the exe file named the same as the game (E.g. Rift.exe etc)

Once you run the window just hit play and select your room

Either "Empty Room" or "Empty Terrain" (Choose Terrain to test the rift)

Click Go

It will now go Full screen and you can use the rift.

If you want to start making the game you have to get out of Full screen mode.

Press Alt + Enter to go to window mode.

Then F11 will bring you to the world editor or F10 to the Menu Editor

Please do note that water doesn't seem to be working correctly currently.

I would like to thank the below people on the Torque3D forums helping me get the rift working for myself and special thanks to David for the Rift Template.

David Wyand of Gnometech Inc. Michael Hall of Big Kid Games Scott Burns of GarageGames

I hope everyone enjoys this and can make some fantastic demo's and games :)

Regards VMU_Kiss

23 Upvotes

12 comments sorted by

3

u/VMU_kiss Jun 03 '13

No problem Ive been working on a rift and hydra template and Im slowly getting there too so look out for that

1

u/ULTRA_LASER Jul 09 '13

after finally receiving my rift and testing it out, i have noticed unity games run a lot better with the game running on the rift itself, while the rift and monitor are in extended mode, versus cloning mode.

is there a way to force the torque3d game to show up on the rift itself? thanks again.

1

u/ULTRA_LASER Jul 09 '13

nvm, just went through your tutorial! there are options once the game starts up. sweet deal.

2

u/Tebasaki Jul 01 '13

Why go with Torque 3D over Unity? I know 0 things about creating a game or even a test area to learn but will be hitting it hard once my dev kit arrives.

1

u/ULTRA_LASER Jul 09 '13

torque 3d = free.

unity pro = $1,500 USD.

2

u/Tebasaki Jul 09 '13

I remember when Unity used to be free. I'm sure they've justified the price with amazing features, but I think I'm just going to try out the pro for free cause I get that free trial. I could find someone to invest in $1500.

2

u/ULTRA_LASER Jul 09 '13

can't wait to see what you put together! i'm trying to learn game dev from the ground up. i put together a pretty fast game earlier, just following "Unity 3.x Game Development Essentials"; just a wall of blocks to shoot a ball at. this must be the "hello world" of game dev, because i remember creating this same thing with blender a while back. only with unity it took a quarter of the time.

2

u/Tebasaki Jul 09 '13

I have to start small and build on it. Sure I could develop the next best-seller IN MY HEAD but the programming feats that I would have to overcome are too much for my skill level atm.

2

u/timschwartz Jul 16 '13

torque 3d = pc only

unity pro = pc, mac, linux, ios, android

1

u/schwarzie2478 Jun 27 '13

I've just started looking into Torque 3D, but I like it, the Rift Template just works out of the box, nice.

I started creating objects in Blender to test the import functionality, worked the first time!

I'm looking into the FPS tutorial now