Issue with behaviors
by dan hussey · in Torque Game Engine · 01/11/2010 (9:33 am) · 0 replies
I have been following the Platformer Mechanics Tutorial @http://tdn.garagegames.com/wiki/TGB/Tutorials/Platformer/Player and at the bottom of the page, is a heading, Player Control via a Behavior.
It says that it is a replacement code for the player control, but when I use it in TGB it leads to the player characters animations to stop functioning, and after the player character jumps he jilts manically up and down and then loses the ability to jump completely!
Also the console says: t2dStaticSprite::setFrame() - Cannot set frame without existing t2dImageMapDatablock Datablock!
I always end up with a similar issue when using behaviors.
Any help would be greatly appreciated.
It says that it is a replacement code for the player control, but when I use it in TGB it leads to the player characters animations to stop functioning, and after the player character jumps he jilts manically up and down and then loses the ability to jump completely!
Also the console says: t2dStaticSprite::setFrame() - Cannot set frame without existing t2dImageMapDatablock Datablock!
I always end up with a similar issue when using behaviors.
Any help would be greatly appreciated.