Reference to scenegraph
by USC - IMD student 2 · in Torque Game Builder · 07/24/2006 (4:47 pm) · 6 replies
Is there some global variable that I can use to reference the scenegraph? or is there some code that I can use to get a reference to the scenegraph?
About the author
#2
07/24/2006 (8:40 pm)
Yes, i got Torque2D from my school. i'm a student in the USC Interactive Media division, which teaches game design and development.
#3
07/25/2006 (6:17 am)
Sweet, so did you get it working?
#4
07/30/2006 (7:46 pm)
Yes i did, thanks
#5
07/31/2006 (4:12 pm)
You can also create references to the scenegraph on objects in your onLevelLoaded callbacks, since the scenegraph is passed to that function. Or you can get it from the scene window with the getSceneGraph function (the default scene window is named SceneWindow2d).
#6
Good!
@Thomas
That'd be very useful if you're loading multiple levels during the same sitting. Thanks
07/31/2006 (6:23 pm)
@#2 Good!
@Thomas
That'd be very useful if you're loading multiple levels during the same sitting. Thanks
Torque Owner Kevin James
I'm also interested that you are a "Student". Did you get Torque free? That would be pretty sweet!