Changes alpha2 > alpha3
by Adam Johnston · in Torque Game Builder · 01/23/2006 (12:49 pm) · 10 replies
I think would be a useful thread if we post here all the changes
we find in the API from alpha2 to alpha3:
Here is something I found:
we find in the API from alpha2 to alpha3:
Here is something I found:
t2dSceneGame.setDebugOn (BIT(5));is now
t2dSceneGame.setDebugOn (5);
#2
using bits is fine because you can use your own bitmask.
can someone comment on this? was it really changed this way?
01/23/2006 (10:24 pm)
Uhhh.. i hope you are mistaken with the bit thing being changed.using bits is fine because you can use your own bitmask.
can someone comment on this? was it really changed this way?
#3
01/23/2006 (10:30 pm)
Adam is correct. The setDebugOn/Off functions now take either a string or comma separated list of debug modes as opposed to the mask. This is the only one of the new console functions that is not backwards compatible. Although, the other mask functions (setCollisionMasks for instance) do have counterparts that take string or comma separated lists (setCollisionGroups/Layers).
#4
My actual project has slowed down aprox in 15%
01/26/2006 (8:30 am)
Can someone confirm a little slow down with the alpha3?My actual project has slowed down aprox in 15%
#5
01/26/2006 (9:20 am)
I confirm a slowdown. It might just be for projects using old code though. I'll try making a new project and seeing if it's slow there too.
#6
01/26/2006 (9:23 am)
Just keep in mind that performance isn't the only metric...it may very well oscillate around a bit as final features and feature enhancements slide in to the engine! Melv, Josh, and the rest of the team are certainly going to keep focused on making T2D as fast as feasible, but functionality does have a cost in performance, so I would suggest that you not worry too much about incremental changes to the final performance levels as these alphas get closer and closer to the final engine.
#7
it appears linkPoints are now 1,2,3 ect... instead of 0,1,2
01/26/2006 (12:21 pm)
I agained around 20fps with this alpha.it appears linkPoints are now 1,2,3 ect... instead of 0,1,2
#8
The debug solution was given me errors although
but the release configuration compiled fine "ofh the box"
01/27/2006 (7:59 am)
I'm compiling alpha3a with MSVC 2003The debug solution was given me errors although
but the release configuration compiled fine "ofh the box"
#9
ex: the SetDebugOn() now takes parameters instead of a bitmask.
it's great and all to make it simpler to use, but I think keeping backwards compatability would be a good thing, especially since the bitmask is good for anything besides script calling it.
01/27/2006 (12:52 pm)
This may seem like a rant, but can we please not modify the API calls unnessicarily?ex: the SetDebugOn() now takes parameters instead of a bitmask.
it's great and all to make it simpler to use, but I think keeping backwards compatability would be a good thing, especially since the bitmask is good for anything besides script calling it.
#10
It's nothing that can't be changed. Don't forget, that nearly all the API calls have changed in this respect and 99.9% are completely compatible. I think that's a good result. ;)
- Melv.
01/27/2006 (2:44 pm)
Jason,It's nothing that can't be changed. Don't forget, that nearly all the API calls have changed in this respect and 99.9% are completely compatible. I think that's a good result. ;)
- Melv.
Torque Owner Drew -Gaiiden- Sikora