Game Development Community

UseUpdateCallback=true; Problems...

by Ecliptic · in iTorque 2D · 07/07/2009 (5:17 pm) · 2 replies

Hey guys! I have been bugging Mat all day trying to get this working.. Has anyone else had success with this? I tried adding it to...

1) startup function in game.cs.
2)cs file for the particular level where I use a OnLevelLoaded() function.
3)Tried using this code to make sure I grabbed the right name for the scenegraph...
%scene = Scenewindow2d.getSceneGraph();       
%scene.mUseUpdateCallback = true;

Can anyone tell me how you used it and how it worked for you? I am using a iTGB_Optimized build BTW.

Thanks for any help,
Ecliptic

#1
07/07/2009 (5:47 pm)
I edit the level.t2d file and set it in there.
#2
07/08/2009 (9:51 am)
Thanks Bret! That did the job. I was pulling my hair out because it seemed so simple but wasn't working anywhere :P.

Ecliptic