Game Development Community


#1
03/03/2005 (3:27 am)
You can use "setDebugOn" on either the fxSceneGraph2D (in which case it applies to all objects in the scene) or to individual fxSceneObject2D objects (essentially everything).

As a sanity check, use option #0 which turns the debug-stats on.

Try this on your scenegraph object, something like...
t2dSceneGraph.setDebugOn( BIT(0) );

You see debug-stats at the top of your screen?

- Melv.
#2
03/03/2005 (3:56 am)
No problem. Only the vector-utility commands are global, all the other T2D ones are object member functions.

Glad it worked. :)

- Melv.
#3
03/03/2005 (4:09 am)
Robert,
Don't feel bad about asking alot of questions.
Everything I have seen from you is good questions. Keep it up. I learn a few things when you ask questions!
#4
03/03/2005 (7:39 am)
T2dSceneGraph.setDebugOn( 0xFFFFFF );
will show all the debug info... the debug info in T2D is beyond outstanding !

the advantage Melv implemented when making this an object member function is you can do this

$player.setDebugOn( BIT(5) );

and now you see just the players bounding box !

EDIT: btw I like your questions ! All good ones.
#5
03/03/2005 (8:03 am)
Yes, it's important someone ask these questions, so that when the next guy comes along and (hopefully) uses the search feature, he'll find what he needs!
#6
03/03/2005 (8:14 am)
We should be able to compile a very effective FAQ from Robert's questions alone :)