bitmap - Android animated pixelation -


i'm working on game obscures part of image, player guesses what's hidden , obscured part revealed, player can see if guessed correctly.

at moment draw black box above obscured part, nice if pixelate obscured area huge pixel size, decrease pixelation size until image visible, in animation.

is possible somehow utilize android's support animations (i have used in 1 game, animate on screen stuff), or need implement entirely on own using kind of timer , drawing on canvas myself? or there handy me?

hint possible solution: use bitmapfactory sample of image that's smaller original, , blow create "pixelated" version. see: http://developer.android.com/reference/android/graphics/bitmapfactory.options.html#insamplesize


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -