Improving Rendering Performance - How to Make a 2D Game in Java #11

In this video we will scale our buffered images before the game loop starts and improve the total draw time. We also optimize our code a little bit so it looks cleaner and requires less typing in a long run. I know this is kind of a boring episode but it's an important preparation for the second half where we handle more objects/graphics. Guidelines for using Blue Boy Adventure's code and assets: https://docs.google.com/document/d/1q... If you have any questions, feel free to leave a comment! Thanks for watching. Timestamps: 0:00 Checking how long it is taking to draw 3:59 Draw time before the optimization 5:45 How to scale BufferedImage 8:16 Create a class to handle scaling 10:15 Optimizing tile setup 14:46 Scaling player images 18:14 Scaling object images 20:13 Draw time after the optimization #java2d #javagamedevelopment #javagametutorial