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
