This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fast graphics in Java

 
Daniel Gen Li
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic