Hello. I thought it was an easy find over all these android forums but
it seems i cannot find if there is a pre-built way to draw my sprite
(made up with a couple of shapes) over a static bitmap as background.
What I currently do is redrawing the background and drawing over same
canvas the sprite, for each onDraw() event, with some performance
issues ofcourse.
I remember some mode 0x13h experiments in old C, so there surely are
ways to copy-pixels behind the sprite, move the sprite, rederaw the
copied part of background to cover the old sprite, and draw the new
sprite position.
My question is different: is there a way to set up a certain number of
layers/levels and leave the bitmap on the bottom layer and going on
erasing-drawing only the sprite in the top layer? That would you
normally do for instance in actionscript3, you create 2 canvas, and
operate them individually. But if you want to be old-school you can
work with copypixel but there is almost never the need.
But whenever I search for "layers" or "overlays" searches spit out
GoogleMaps layers coding, MapView overlays stuff which really don't
matter :D
So what classes am I missing for doing this very basic thing?

Thanks

-- 
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