hi! I’m a french guy… and I have need to be advised.
I know I’m not the best English Speaker of the World, so I beg to be excued for my low level in english.
In fact, I have gone in a french forum where someone advised me to go here so as to find the solution of my problem.
My prob is the following:
I would make a java-game and I have to make Sprite, I succeeded in implementation of frame animation in my sprites: I use a big Image where I placed the different sub-image which will be used by the sprite so as to animates itself.
But I have found two, even three solution:
-the method: Graphics.drawImage(Image img, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1*, int srcy1, int srcx2*, int srcy2, ImageObserver observer);
-the method: BufferedImage.getSubImage();
-and the method: CropImageFilter.
I would like know what’s the most performant method.
I have realized some test, and it seems that BufferedImage add a time of loading (and lot of lines in the code, hihi!! ).
But I don’t know if this detail is important…