is it possible to embed python to iTGB?
by kingkong · in iTorque 2D · 07/08/2009 (6:02 pm) · 3 replies
Prairie Games used python with tge, tgea for the "Minions of Mirth" mmorpg game.
TGEA/TGB, GCC-XML, and Python
Torque MMORPG Technology!
i wonder if it's possible to embed python to iTGB?
i'm interested in using python twisted with iTGB for developing iphone 2d mmorpg.
any suggestion would be great.
TGEA/TGB, GCC-XML, and Python
Torque MMORPG Technology!
i wonder if it's possible to embed python to iTGB?
i'm interested in using python twisted with iTGB for developing iphone 2d mmorpg.
any suggestion would be great.
#2
07/08/2009 (10:41 pm)
Filling it with .pyc files instead of .dso files might not make a huge difference - I'm not sure how fast the Python bytecode interpreter is compared to TorqueScript's. It has been used in action games for more than ten years, though. If you want to try, I'd be interested in seeing your numbers afterwards :)
#3
07/09/2009 (2:09 am)
PCs aren't ARMs. ARMs at least at the time, are pretty bad at string operation, which is why it is nearly unimportant what script language you use. Anything that does not compile to native code will be a good magnitude slower than C++ / Obj c
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
But I'm not sure if it is of interest using it from the performance point of view as you will mainly work within the source anyway for anything but a simple game with little maths.
What you need to keep in mind is that you are not allowed to parse script code at runtime on the iphone
All code thats present must be static.