Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Improving Rendering Performance - How to Make a 2D Game in Java #11
Play lesson

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

5.0 (0)
8 learners

What you'll learn

This course includes

  • 26 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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/1qcafOofpXYd_QPr95qbgfb1GYxXKgSZb/ 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

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere