Well, I move some panels very slowly with an effective speed of <1 pixellength per frame. Though, it seems, all panels are snapped on integers. The panel's motion is stuttering all the time and I can only circumvent it, when I set a low fps_max (=30) and move them with integer values
without time correction via time_step to make it move smoothly. Entity panels are no option, since my panels move between other panel-layers, too.
Here is some sample code:
Code:
PANEL* pan;
pan = ...;
pan->pos_y += 0.1 + sin(total_ticks) * 0.1 * time_step;
pan->pos_x += sin(total_ticks) * 0.5 * time_step;
Can you please circumwent this by giving panels var precision?
Cheers, Christian