Game Development Community

Where's TS?

by Skylar Kelty · in Torque X 3D · 11/07/2006 (11:00 am) · 16 replies

Hi,

No TorqueScript?
Why?
When?

Thanks,
James

Great Beta though, I cant believe you've done all this so quickly

#1
11/07/2006 (11:02 am)
TorqueX will not support Torque Script. You will have to write your games fully in C#.

and now the Why:
In order to support torque script they would have to write a parser and a compiler in C#, its would be not only incredibly hard, it would be a waste of time, and resources as the compiler for TS would probably come out to more lines of code than all of TorqueX
#2
11/07/2006 (11:02 am)
Not that scripting doesn't have it's place in managed code, but it's C#! You don't NEED TS!
#3
11/07/2006 (11:16 am)
Right, I dont know much about C# so I didnt know...

Shame, I wanted to use TX :(
#4
11/07/2006 (12:57 pm)
C# is easier to learn than TS =)
#5
11/07/2006 (1:02 pm)
I already know TS and im very good at it.
C# looks completely different
#6
11/07/2006 (1:19 pm)
I know nothing about C# but if it's truly easier than Torquescript then that is one easy language.

Edit for poor grammar.
#7
11/07/2006 (1:21 pm)
Couldn't agree more :)
#8
11/07/2006 (8:56 pm)
Try it you will like it!!!! C# has been a favorite of mine since I started using it in spring of 2002 as a beta release. Hope I might be a resource on C# and .Net related issues.
#9
11/08/2006 (7:36 am)
Thanks, I'll try it
#10
11/08/2006 (8:36 am)
I'd have to agree with Terrance. I love C#. C# is THE easiest language to learn outside of vb.net. For those interested, a really good video tutorial site on anything .net related is www.learnvisualstudio.net
#11
11/21/2006 (11:06 am)
I started learning C# and I now think it's the easiest and best language ever! :)
#12
11/22/2006 (8:33 am)
I really like C#, but script has it's benefits too, like being able to edit objects in-game from a script prompt.

At this stage, I think it's too premature to add script. Once the TorqueX 3D has stabalized and shipped a few games, it would be nice to see some more work on scripting (Not necessarily Torque Script).
#13
11/22/2006 (8:56 am)
LUA has a C# tie-in to it and is widely used in the gaming arena.

www.lua.inf.puc-rio.br/luanet/
#14
11/22/2006 (9:15 am)
There are methods to compile C# from within C#

www.codeproject.com/csharp/cscompiler.asp

I have considered building a structure to hold the code and then compile it at runtime. You could then dynamically reload portions of it if your structure was built correctly.
#15
11/22/2006 (9:20 am)
Although this is a really cool feature, it's pretty resource intensive and I don't know how viable it would be in a game.
#16
11/22/2006 (11:44 am)
Actually i know of a few engines in which this is used.

However for actual release purposes it probably would only be useful for mods. However for debugging it could be very useful.

"but script has it's benefits too, like being able to edit objects in-game from a script prompt."

assuming that the Gui stuff has a text box object in it you could use reflection to alter the in game objects assuming you had access to some kind of data structure that they are in.

The code wouldn't be overly complicated.