Compiling Diferences
by Techfront · in iTorque 2D · 11/16/2009 (10:31 am) · 6 replies
Hi All.
I have some questions about different targets on iTGB.
I need to know some points:
#1) Will I have a better performance if I use iTGB_Optimize or ITGB_Script_Optimize?
#2) Do I need insert the CS files on resources? or only DSO files?
#3) I'm having problems when I try compile use the preprocessors PUAP_SCRIPT_CHANGE and PUAP_OPTIMIZE, I'm compiling my TGBGame into Mac (Snow Leopard) using this flags yet, but on iphone I had one "BAD_ACCESS_ERROR".
#4) the main.cs of root folder of my game, never is compiled to DSO is it normal?
#5) What is the better project config to get a better performance on iPhone, ITGB, iTGB_Optimize, iTGB_Script or iTGB_Script_Optimize?
Sorry for these questions but I'm really confused about that :)
Another question is, When we will have the 1.3 version? Will it really better than 1.2?
Thanks in Advance
Eros
I have some questions about different targets on iTGB.
I need to know some points:
#1) Will I have a better performance if I use iTGB_Optimize or ITGB_Script_Optimize?
#2) Do I need insert the CS files on resources? or only DSO files?
#3) I'm having problems when I try compile use the preprocessors PUAP_SCRIPT_CHANGE and PUAP_OPTIMIZE, I'm compiling my TGBGame into Mac (Snow Leopard) using this flags yet, but on iphone I had one "BAD_ACCESS_ERROR".
#4) the main.cs of root folder of my game, never is compiled to DSO is it normal?
#5) What is the better project config to get a better performance on iPhone, ITGB, iTGB_Optimize, iTGB_Script or iTGB_Script_Optimize?
Sorry for these questions but I'm really confused about that :)
Another question is, When we will have the 1.3 version? Will it really better than 1.2?
Thanks in Advance
Eros
About the author
#2
Thanks
11/16/2009 (12:31 pm)
When you say "C++ was used", I need port all game features to C++ or with console methods I will have a good performance increase?Thanks
#3
Is there any plug-in or software to help found leaks on script?
Thanks
Eros
11/16/2009 (2:07 pm)
Another question, I think my game have memory leaks, because after 5 minutes my game is crashing with signal 0.Is there any plug-in or software to help found leaks on script?
Thanks
Eros
#4
It seems like you are using 1.2 and there is a fix for that crash.
I would use 1.3.
11/17/2009 (12:38 am)
which version of iTGB are you using?It seems like you are using 1.2 and there is a fix for that crash.
I would use 1.3.
#5
11/17/2009 (3:50 am)
For leak hunting you would use the Memory Instruments, they will show you that you leek and where you leak if possible.
#6
My game is running and 5 minutes after begin the game crash with signal 0 message.
On crash log I see the same messages that using 1.2 version. "Low Memory"
Thanks
Eros
11/17/2009 (8:16 am)
I'm using the version 1.2, but last night I tried to use the version 1.3 (beta) and happened the same problem.My game is running and 5 minutes after begin the game crash with signal 0 message.
On crash log I see the same messages that using 1.2 version. "Low Memory"
Thanks
Eros
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
2) DSOs
3) You need to set it correspondingly to your iphone build settings
4) thats right
5) Script Optimize and primary usage of source, not script