Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   J2ME: How to display a sprite with a transparent background? (http://www.velocityreviews.com/forums/t134483-j2me-how-to-display-a-sprite-with-a-transparent-background.html)

Lasse Laegteskov 06-18-2004 02:41 AM

J2ME: How to display a sprite with a transparent background?
 
I have read that MIDP 1.0 doesn't support transparency in PNG's files unless
the mobile company have included a support for it.

So I would like to know how I can draw an image (sprite) with a backcolor of
e.g. white only showing the sprite and not the background colour.

Is there a way to control an image pixel making the transperancy turn on and
off?

Please include a little bit of code.

Thanks

Lasse




All times are GMT. The time now is 04:45 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57