Hi
I just want to move a sprite on an image, I use BufferStrategy to redraw the whole scene, ok, it has no problem. But I know that there is a better way to only repaint the sprite rectangle in every frame loop without needing to redraw everything. But…When I use clearRect(…), the background image will also be erased? What is the correct way to do the right thing???