J2ME: How to display a sprite with a transparent background?

L

Lasse Laegteskov

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top