Is it possibile to embed wxPython in TGE?
by Prodigy Andy · in Torque Game Engine · 09/26/2006 (11:39 pm) · 2 replies
Is it possible to embed wxPython in TGE?
I found two clues all supported by Josh Ritter---who is a cool man---one is [url=http://www.garagegames.com/mg/forums/result.thread.php?qt=6440"]pyTSE[/url] and another one is [url="http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3345"] TGEpython.[/url]
I tried to embed native Gui in Torque game by using wxPython for about 3 weeks, But i still can't find the right key.
I need your help! SOS...
I found two clues all supported by Josh Ritter---who is a cool man---one is [url=http://www.garagegames.com/mg/forums/result.thread.php?qt=6440"]pyTSE[/url] and another one is [url="http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3345"] TGEpython.[/url]
I tried to embed native Gui in Torque game by using wxPython for about 3 weeks, But i still can't find the right key.
I need your help! SOS...
#2
I once download MoM to look for something like ActiveX IE wxWindow, But i failed.Now I know why. :)
Because my poor experience of coding, I still do not know how to manage "mutiple event loops" as your say.
Can you give me more detail info if you can?
Thanks again any way.
09/27/2006 (12:21 am)
Thanks a lot for your so quick reply, Josh.I once download MoM to look for something like ActiveX IE wxWindow, But i failed.Now I know why. :)
Because my poor experience of coding, I still do not know how to manage "mutiple event loops" as your say.
Can you give me more detail info if you can?
Thanks again any way.
Torque Owner Prairie Games
Prairie Games, Inc.
A few years ago I did some work with wxPython + TGEPython using wxWindows OpenGL stuff. It actually worked quite well... though again, you have to get down in dirty with the platform layer. The nice thing is that buttons and other native controls rendered/performed ontop of the OpenGL rendering just fine.
So, the anwer is that it is possible. It just isn't very easy and is time consuming to get all the glitches worked out.
-JR