I am using tweenLite in a game that I am making
the thing is that it seems to have a mimimum speed alowed, is that so?
the fastest I get it to go is 0.01 seconds,,, If I set the time lower it just display the tween at the same speed it would do with 0.01
I have tryed really low values and no luck (for example 0.0000001)
help?
best,
Alvaro
I seeeeeee now, the limitant was the framerate, tween lite can't go faster than the FPS, I setted the framerate higher and the tween went faster.
Wanna explain why so short tweens, the thing is this.
I am making a little game, and I am programin the character walk cycle.
I have the character composed with body parts, legs arms foots etc,
So my walk function have 4 stages (Rleg.rotation = 22, Rleg.rotation = 0, Rleg.rotation = -22, Rleg.rotation=0)
But each of those 4 stages is then divided in 10 tweens, You might ask why??????
well, depending on where the character is facing the leg rotation can be:
1) a normal rotation when the character is walking to the side,
2) scaleY transformation when the character is walking towards the camara, and and for example a tween from -45 degrees to 45 degrees in scaleY would be a tween from scaleY = .5 to scaleY = .5 it would not do anything!!!, so that is why I divided the stages in 10 tweens. doing that the scaleY would go something like this: .5 - .6 - .7 - .8 - .9 - 1 - .9 -.8 -.7 -.5