Game Development Community

Python + T2D = Yummy

by Tomas Dahle · in Torque Game Builder · 03/26/2005 (12:15 pm) · 24 replies

Well, after a few days of digging around with the engine I've finally managed to polish my TGEPython based PyT2D enough to run the entire tutorial perfectly.

Now I am NOT going to spend even half a second at this point telling people that they should use Python instead of TorqueScript. All I want to do is show it and invite anyone that has a bit of familiarity with python and preferably C++ as well to test it out with me.

Anyone that wants to try out PyT2D, just e-mail me at tomas@cakefish.com. It's pretty smooth right now, but I certainly expect more peculiar issues to arise, so I only want people that are a bit resourceful and wish to help me work it out to try it out at this stage.

Feel free to ask any question about PyT2D here, I'm happy to answer :)

Example code, straight from the Tutorial follows:

(you will correctly notice that I only included some of it, but the entire tutorial does work)
Page«First 1 2 Next»
#21
08/06/2005 (4:39 pm)
Tomas,

If all you care about is a T2D implementation that you can write Python on, then take a look at my t2d.net wrapper.

and then take a look at Iron Python

I have first hand knowlege that the Iron Python project is very alive and huge amounts of work is being done to support the .NET2.x platform.

Of course, right now T2D is .NET 2 only, and therefore no mono support...

Anyway, I'm playing devils advocate here. I was hoping to get some ideas on how you did Python T2D, but it seems like nevermind...???
#22
08/06/2005 (5:42 pm)
@Jason: Here's TGE Python, which PyT2D is based on. It requires no wrapping of any functions, which is quite nice.

@Tomas: To make T2D Pythonic requires utilizing T2D as a library which Python calls to, rather than embedding Python into T2D. It can be done, but it's a different approach than what TGE Python took.
#23
08/06/2005 (6:02 pm)
Thanks for the link Jason, however what I am really interested in (Docs on how it was made/summary) seem to be gone forever, as the domain that was hosting it seems to be gone..

No matter, I was currious, but not THAT currious :)
#24
08/10/2005 (7:00 am)
Just mail me and I can give you the package with the files I have and the slight documentation I wrote while I still was fresh into it. But I probably can't answer questions as my memory of the endeavour is fading.
Page«First 1 2 Next»