creating enemy issue
by Lino · in TGB Platformer Kit · 03/14/2010 (3:35 pm) · 2 replies
Hello everyone,
I tried to create an enemy and followed all the guidelines from the tutorial. When I try to run the level it crashes. If i try to run it in visual it highlights the code
return Vector2.Distance(_actor.Position, (SceneObject.SceneGraph.Camera as T2DSceneCamera).Position);
as the problem source.
has anyone else had this issue creating an enemy that spawns as the tutorial shows?
I tried to create an enemy and followed all the guidelines from the tutorial. When I try to run the level it crashes. If i try to run it in visual it highlights the code
return Vector2.Distance(_actor.Position, (SceneObject.SceneGraph.Camera as T2DSceneCamera).Position);
as the problem source.
has anyone else had this issue creating an enemy that spawns as the tutorial shows?
About the author
#2
07/14/2010 (7:06 am)
has anyone figured this out cos i have looked on what feels like every page of the forum and can't find anything
Associate Phillip O'Shea
Violent Tulip
www.torquepowered.com/community/forums/19