I was developing a card game in Java on Windows. It works great on my laptop and several others, but on many other systems (even several new ones, Mac and Windows) the animation is incredibly slow.
I found the UI Toolkit for Java as the best resource so far, but could not achieve significant improvement, I am using AWT / Swing libraries.
Question:
Looking at my game , (<1.5Mb), how could it be that on some computers (of a similar specification) the performance seems much less than what it is on my laptop? The entire application is event driven, and I did most of the optimization that I could do based on the implementation.
I have a feeling that it is connected with memory. I create (compatible), and then save all my images in an array at the beginning, and then reference them.
Note. I decided to make this game so that I could learn and practice new ideas, so I'm not just trying to share it - I am really interested to know what is happening here.
rtheunissen
source share