You telling me from the 2 lines of code you posted, that it's not
obvious to you what's wrong?  Even a blind could see the issue...

On May 23, 10:06 am, bob <b...@coolgroups.com> wrote:
> I used a Java Timer object and a TimerTask like this for some game
> physics
>
>                 if (!timergoing)
>                 {
>                 PhysicsTask physicsTask = new PhysicsTask();
>
>                 Timer tm = new Timer();
>                 tm.scheduleAtFixedRate(physicsTask, 1000, (long) (1000.0f/
> physicsFrameRate));
>                 }
>
> However, the physics was somewhat choppy to my surprise.   Anyone know
> what the deal is with this and how to make it better?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to