I have posted pretty much lately regarding my game Project Europa, and now i have to burden you all with yet a new problem regarding graphics this time =)
The thing is, i have just started using BufferedImage with ImageIO as a loader, instead of Image with Toolkit.
I have also restructured the game some so that the Editor runs in a induvidual class and menu in one and game in one.
I've just got it all to work, but i reallised that the performance really did a total dive to the worst, the editor is just down straight useless in the state that it is in at the moment.
I dont know if it's the change to BufferedImage from Image or if it roots in the structual changes that i've done so it would be a real nice super thing if some guru would like to check my code, a fast check and see if there are some apperant stuffs there that can cause the perf. drop.
One thing that im thinking of is the Transperant images, can these be the cause, and do they really make the performance drop that much? its just down silly how slow things go right now.
I'm using PNG as the image format, and at the moment every image have a color depth of 8bit.
Very well here's some classes that are involved in the game editor.
PEJava.java - main class http://www.home.no/kutulunadir/Java/PEJava.java
Meny.java - menu class http://www.home.no/kutulunadir/Java/Meny.java
Editor.java - the Editor class where the performace drops http://www.home.no/kutulunadir/Java/Editor.java