Saturday, September 3, 2011

[android-developers] Animating a graphics shape.

I want to make a vector style 2d video game. I started
with a subclass of View. I can draw shapes on it. Now
I want them to move. I could erase and draw new shapes,
but I know if I do that, I won't get a chance to see the
movement on the screen until my routine is done.

I guess I need another thread to do the drawing. Can
someone point me in the right direction? Are there
sprite style facilities that I should look at? Do I
need android.Animation, or android.view.Animation?
Should I be looking at Canvas, or SurfaceView?

Thanks,

Tobiah

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate