Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

amemorex

[java] transparency in sprites??

This topic is 5594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ok im working on sprites for a java applet, and i want to put them in the applet now.. how should i handle the transparency masking or hwatever? should i just use a single image and fill the background with a color like purple, then tell java to use purple as the transparency? can it do that? or do i need to create like a mask which is basically the same image with all the positive space filled with black, and negative space as white? thanks

Share this post


Link to post
Share on other sites
Advertisement
use a Transparent GIF. Java automatically handles the tranparencies of the GIF format. It is the easiest solution.


Anime:Drugs would be cheaper.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!