Platformer 2.0 Upgrade Progress Help
by Dro Sarhadian · in Torque X 2D · 04/10/2008 (8:03 pm) · 2 replies
I'm currently upgrading the platformer kit to version 2.0 of the kit and I need some help. When I build the Platformer Framework, I get this error:
Error 2 'GarageGames.Torque.T2D.T2DSceneGraph' does not contain a definition for 'Instance' C:\Documents and Settings\Dro\Desktop\development\PlatformerDemo2.0\PlatformerDemo2.0\PlatformerFramework\ActorComponent.cs 2090 27 PlatformerFramework
and this error:
Error 6 The type or namespace name 'InstancePlayLimitException' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Dro\Desktop\development\PlatformerDemo2.0\PlatformerDemo2.0\PlatformerFramework\SoundManager.cs 106 20 PlatformerFramework
Can someone tell me how to fix either of these errors?
Thanks.
Error 2 'GarageGames.Torque.T2D.T2DSceneGraph' does not contain a definition for 'Instance' C:\Documents and Settings\Dro\Desktop\development\PlatformerDemo2.0\PlatformerDemo2.0\PlatformerFramework\ActorComponent.cs 2090 27 PlatformerFramework
and this error:
Error 6 The type or namespace name 'InstancePlayLimitException' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Dro\Desktop\development\PlatformerDemo2.0\PlatformerDemo2.0\PlatformerFramework\SoundManager.cs 106 20 PlatformerFramework
Can someone tell me how to fix either of these errors?
Thanks.
About the author
#2
No clue about the 2nd one. I don't recognize that.
04/11/2008 (5:13 am)
Since there are multiple scenegraphs the easiest way to get the current scenegraph is to access the T2DSceneObject.SceneGraph property. So if that function deals with a scene object, try to have it access the scenegraph off of one of the objects.No clue about the 2nd one. I don't recognize that.
Torque Owner Andy S.
Default Studio Name