Code Once Feature and Multi Platform Support
by Crimson Rum Khulay Gin · in Technical Issues · 10/21/2007 (1:30 am) · 3 replies
Hello guys! :)
Can anybody here tell me how stable the "code once" feature of TGE is? I mean, is it REALLY possible that you develop just ONE source code for both MAC and Windows without having to touch it other than compilation for MAC and Windows excutable?
Well, this feature is really important since it is one of the specification given to me on choosing the engine. I read a few forums stating they have been having issues with the MAC version.
Is there anyone here who had experience developing a game for both Mac and Windows concurrently? Also, what's your experience with it? Any issues/workarounds...
Thanks in advance...
Can anybody here tell me how stable the "code once" feature of TGE is? I mean, is it REALLY possible that you develop just ONE source code for both MAC and Windows without having to touch it other than compilation for MAC and Windows excutable?
Well, this feature is really important since it is one of the specification given to me on choosing the engine. I read a few forums stating they have been having issues with the MAC version.
Is there anyone here who had experience developing a game for both Mac and Windows concurrently? Also, what's your experience with it? Any issues/workarounds...
Thanks in advance...
#2
Any changes you make to the C++ engine code will have to be made cross-platform. If you are implementing a physics engine, you would need to make sure that it was cross-platform and that the dependencies were also cross-platform.
10/22/2007 (6:40 am)
The "code once" feature is a TorqueScript feature. TorqueScript functionality should be cross-platform.Any changes you make to the C++ engine code will have to be made cross-platform. If you are implementing a physics engine, you would need to make sure that it was cross-platform and that the dependencies were also cross-platform.
#3
10/22/2007 (6:59 am)
Developed for both Mac and Win. The game code (TorqueScript) ran without any problems on both systems. As David said, just make sure that your custom C++ code works on both (if that applies to you). But if you take the existing code as guideance, you don't get any big problems. So far my experience - cross platform just works.
Associate Orion Elenzil
Real Life Plus
but by and large, yes: it works. Fancy stuff like say integrating a flash plugin or a new audio library will always need some platform-specific attention, but the vast bulk of basic game coding works great on both PC and Mac. In addition, we run our servers on linux; so while i can't be sure that the graphics aspects work on linux, i do know that the core game engine stuff is very cross-platform. If yr interested in a proof-of-concept, the PC and Mac versions of our app are free at vside.com.