So after looking at multiple ways to paint or draw things onto the canvas/screen, I tested out my own way that seems to work, no problem. I simply just g.clearRect(0, 0, width, height) on an update method that is put in my game loop so that the game can refresh every frame, and the BufferStrategy will only show after all the items are refreshed fully, so wouldn't this be an okay strategy?
Here is the idea of the method that I use that uses a canvas's BufferStrategy.
public void update() {
//Update all the entities that are on the screen, like their x and y, etc.
player.update();
g.clearRect(0, 0, width, height);
// Draw the things I want here, such as player, etc.
g.drawImage(image, player.getX(), player.getY(), null);
bs.show();
}
Is this method inefficient somehow? I struggled a lot to find a method of displaying objects and such on screen, but I stumbled across this way which seems very easy for me.