Jump to content
  • Advertisement


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


Java Images...

This topic is 5649 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

I am having a major preformance problem with drawImage in Java. Does anyone know the most effeicent method of displaying images to the screen? Your reply would be appricated.

Share this post

Link to post
Share on other sites
This question should be posed in the Java forum, but here is a basic reply:

1. Make sure your image is in the same color format as ALL the Graphics classes you will be drawing it to.

2. Make sure your Graphics classes aren''t clearing themselves every paint()

3. Use active drawing instead of passive (search on google)

4. Use the newer 1.4 JDK with its new classes.

The performance of Java for graphics may never meet your needs. Drawing 1024x768 images at 30 fps is an unreachable goal on most computers using java.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!