Game Development Community

Beta4 - Deprecation Nightmare

by Bruno Grieco · in Torque Game Builder · 05/24/2006 (12:13 pm) · 2 replies

Just returned my project back to Beta 2.

.getClass() was deprecated to public access of .class field

group field was changed to graphGroup

The "tunneling" problem that was corrected thru scripting, using setAtRest() doesn't work anymore.

A background loaded thru the path "~/data/images/image.jpg", had to be changed to "game/data/images/image.jpg".
What happened to "~" and what does it mean now ?


Is there a deprecation list from Beta 4 to Beta 3 and Beta 2 ???

BTW. the gravGun Demo on the Mac doesn't show any particle effects

#1
05/25/2006 (11:41 pm)
So the API might have changed a bit but aren't you exaggerating to call it a nightmare? I think Beta 4 is looking pretty good myself. Here

getClassName() is still member function of SimObject. I don't know about getClass.

Tilde is the folder that your TGB project is contained in. Try running this code in your script to see
Quote:
warn( isFile("~/main.cs") );
warn( isFile("~/../T2D.exe") );
both return true for me.
This is on Windows maybe it's broke on Mac- I don't know
#2
05/26/2006 (3:50 pm)
Seems that one of the problems ( The gravGun effect ) was corrected in other thread.

It seems that the root in MacOs was set to the .exe directory rather than the game directory.

But still the Tunneling problem got much worse.