Animations running too fast in iTGB 1.4
by Richard Skala · in iTorque 2D · 09/13/2010 (12:33 am) · 2 replies
I recently moved to iTGB 1.4 (from iTGB 1.2), and I noticed that most (if not all) of my t2dAnimatedSprite object animations appear to be running much, much faster than what is described in the editor. Has anyone else had this problem?
About the author
Founded in 2009, Pixel Vandals Inc. is focused on bringing fun, fresh, and new ideas to the iPhone. www.pixelvandals.com www.pixelvandals.com/vineking
#2
09/13/2010 (9:03 pm)
Actually, this turned out to be completely my fault. mCurrentTime was being updated twice in t2dAnimationController::updateAnimation because I added a check for paused animations and failed to see elapsedTime being added to mCurrentTime again later in the function. Oops!
Torque Owner Scott Wilson-Billing
MeYuMe