You can draw to a Bitmap.


Then scale it down real small like *100x100* using this function:


  static 
Bitmap<http://developer.android.com/reference/android/graphics/Bitmap.html>
 
createScaledBitmap<http://developer.android.com/reference/android/graphics/Bitmap.html#createScaledBitmap(android.graphics.Bitmap,%20int,%20int,%20boolean)>
(Bitmap<http://developer.android.com/reference/android/graphics/Bitmap.html>src,
 int dstWidth, int dstHeight, boolean filter)

Creates a new bitmap, scaled from an existing bitmap, when possible.


Then scale it back up to about 800x1280 or whatever the screen size is.  
Then it will be very pixelated.


Thanks.



On Sunday, April 28, 2013 3:04:40 PM UTC-5, Vlad wrote:
>
> I wat to create an android app, a tamagochi to be more specific. For that 
> i need to create a pixelated interface. How can I simulate a "big pixel" 
> and how can I animate the "big pixels"?
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to