OK, One Last beginner/N00By question...
by Zachary Woodard · in General Discussion · 10/26/2011 (3:03 pm) · 2 replies
All,
I have one last question that is bothering me that I can't seem to find the answer to:
What is the initial heirarchy of objects created by the engine at startup?
For instance, in the game.cs file that is automatically created in the "Empty Game" project, we find the following default code:
Canvas.setContent(mainScreenGui);
Canvas.setCursor(DefaultCursor);
We also find:
sceneWindow2D.loadLevel(%level);
I do not see that these objects (Canvas and sceneWindow2D) are created in script.
So, is there a reference, or does anyone know what scriptable objects are created, their name/type, and which object owns what?
As always, thanks,
"Snackin"
I have one last question that is bothering me that I can't seem to find the answer to:
What is the initial heirarchy of objects created by the engine at startup?
For instance, in the game.cs file that is automatically created in the "Empty Game" project, we find the following default code:
Canvas.setContent(mainScreenGui);
Canvas.setCursor(DefaultCursor);
We also find:
sceneWindow2D.loadLevel(%level);
I do not see that these objects (Canvas and sceneWindow2D) are created in script.
So, is there a reference, or does anyone know what scriptable objects are created, their name/type, and which object owns what?
As always, thanks,
"Snackin"
#2
It was just what I needed to go Spelunking and find out some answers.
Thanks,
Snackin
10/29/2011 (10:08 am)
@Justin: Man, that was a life saver!!!It was just what I needed to go Spelunking and find out some answers.
Thanks,
Snackin
Torque Owner Justin Proffitt
Oh! Just found this, this should help:
http://tdn.garagegames.com/wiki/TGB/Reference
^^