What is the pixel speed for a ball? Like if its speed was set to 1, how fast is that? I using a clock timer to draw a line following a ball, that is why I'm asking.
from the documentation Drawing and Animation
Speed
The speed at which the
Ball
moves. TheBall
moves this many pixels everyInterval
milliseconds ifEnabled
istrue
.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
So 1 per second?
what about reading more in the documentation about Interval?
Interval
The interval in milliseconds at which the
Ball
’s position is updated. For example, if theInterval
is 50 and theSpeed
is 10, then theBall
will move 10 pixels every 50 milliseconds.
if you set the interval to 1000, then yes
Taifun