The time between moves is dictated by 20ms in your timer the jerky motion by 10 in your x increment.
Regards,
Jim
Type: Posts; User: jim829
The time between moves is dictated by 20ms in your timer the jerky motion by 10 in your x increment.
Regards,
Jim
You didn't include the code but it doesn't matter. There are two basic aspects to making something move. The time between moves and the distance per move. So increasing the time and shortening the...
Why not put in a counter in your timer task and increment it on each call. You can then either exit directly from there or set some flag which you can check later.
Regards,
Jim
Actually, you have your timer configured for a one shot operation. Check out the API and add a third argument for repeated calls.
Regards,
Jim