This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Game Development and the fly likes Fast graphics in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Fast graphics in Java" Watch "Fast graphics in Java" New topic

Fast graphics in Java

Daniel Gen Li
Ranch Hand

Joined: Jan 02, 2010
Posts: 32
Hi, I've finally got the timing and sprites things to work correctly, but I face a problem of speed....

I would like to ask for some tips on how to make graphics rendering as efficient as possible. For example, what Type of images to use, what methods to use when scaling, resizing, and rotating images, and System values that can be set. Just generally anything that would help to draw graphics as fast as possible.

Then I will perhaps compile them into a list of things and leave it on this post so people can get some tips from it. =)

Daniel Gen Li
Ranch Hand

Joined: Jan 02, 2010
Posts: 32
I was once at your stage. To face the truth, if your using standard java graphics commands, efficiency will be a real pain because there's no way you'd render something complicated at blazing fast speed. which is why I'm sticking to LWJGL which incorporates OpenGL to render your graphics. If you're not familiar with OpenGL, then I'd recommend the Slick2D engine. It's really simple to understand and use.
I agree. Here's the link:
subject: Fast graphics in Java
jQuery in Action, 3rd edition