surfaceView in not-UI thread

2011/9/4 RichardC <[email protected]>

> Look at LunarLander in the SDK samples folder.
>
>
> On Sep 3, 5:42 pm, Tobiah <[email protected]> wrote:
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
[wu.kunting]

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

Reply via email to