Question
How to use a TextureMapper with Z_ROTATION whitch will not delay screen tick event.
There is a screen view with a texturemapper and handTickerEvent. I want to use texturemapper to do z-axis animation, and at the same time time and display it through handTickerEvent. However, the timing showed a serious delay.
There is some core code.
textureMapper.setupAnimation(AnimationTextureMapper::Z_ROTATION, 9.0/18.0 * 1, 60, 0, EasingEquatins::cubicEaseInOut);
//...
textureMapper.startAnimation();
void Screen1View::handleTickEvent()
{
ticker++;
if(ticker %60 == 0)
{
time--;
Unicode::snprintf(time_buffer, 3, "%d", time);
textArea_time.invalidate();
}
}