hi…
here my original sprite painting method:
public void paint(Graphics g)
{
g.setclip(x, y, width, height);
g.drawImage(image, x, y, Graphics.TOP |
Graphics.LEFT);
g.setclip(0, 0, getWidth(), getHeight());
}
i found out this method is bad cause it ‘clip’ your image on the screen… so once the image is painted it forever stuck at cliped position on the screen…
Thanks