Game Development Community

Testing game

by Joe · in Torque Game Builder · 02/08/2006 (6:45 pm) · 4 replies

How do I load scripts into the T2D editor.

#1
02/09/2006 (1:15 pm)
I am guessing you mean the level editor, which you see when you start T2D. Short answer is: you can't. While I don't know GG's plans for the level editor in the future, I dont think it includes a built in IDE. For working with scripts, check out Torsion or Codeweaver.

As for loading scripts to interact with the levels you create, there unfortunetly isn't much available in the way of tutorials or howto's at the moment due to the level editor being so new. I've just written a tutorial that tries to explain a bit of what happens behind the scenes in the code when you start T2D, eventually I'd like to add a section which covers script interacting with level editor creations.

For now you can take a look at it here, I have no idea how to add it to the main T2D page on TDN, editing it only shows it blank: tdn.garagegames.com/wiki/Torque_2D/Getting_Started/T2DBasicStartUpTutorial
#2
02/09/2006 (2:17 pm)
Thanks, I already use codeweaver, I'm just wondering how to get the scripts to run.
#3
02/09/2006 (2:41 pm)
I would like to help you more, but "getting scripts to run" is a rather general topic. There are many different setups and ways to begin inserting your own code into T2D. What have you scripted or created in the level editor so far, and what would you like to accomplish?

For general help, I can only suggest reading up on the basic spaceshooter tutorial included in the docs or perhaps some of the genre tutorials on TDN. They do a great job at showing you how to get custom made scripts to run.
#4
02/10/2006 (1:45 pm)
I wrote first 3 snipets of code in the space shooter tutorial and i can't get it to run