Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
World and Camera - How to Make a 2D Game in Java #5
Play lesson

How to Make a 2D Game in Java - World and Camera - How to Make a 2D Game in Java #5

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 render a world map on the screen. Also we implement a camera function so the camera follows the player character and display the tiles around the player. Implementing camera might be a bit confusing at first so no need to rush. Try to understand little by little then I think you will get it in the end. Of course, if you have any questions, feel free to leave a comment. Caution: This is a tutorial for Java 2D beginners so it's pretty verbose! (and the pacing is a bit slow...) If you want to use my asset (tiles and map) that are used in this tutorial, here's the link: https://drive.google.com/drive/folders/1OBRM8M3qCNAfJDCaldg62yFMiyFaKgYx?usp=sharing Guidelines for using Blue Boy Adventure's code and assets: https://docs.google.com/document/d/1qcafOofpXYd_QPr95qbgfb1GYxXKgSZb/ Thanks for watching. Timestamps: 0:00 Importing additional tiles 2:46 Displaying player character at the center 8:31 Loading world map data 11:07 Implementing camera 18:51 Checking the result 19:25 Improving rendering efficiency 23:55 Final result #java2dgame #javagamedevelopment #javatutorial

Course Hive

Continue this lesson in the app

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

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere