Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
NPC - How to Make a 2D Game in Java #14
Play lesson

How to Make a 2D Game in Java - NPC - How to Make a 2D Game in Java #14

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 implement an NPC and set his behavior. We are no longer alone in this world! If you have any questions, feel free to leave a comment. If you want to use my assets (images/maps/sound) 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 Prepare NPC images 0:54 House-keeping 3:08 Create NPC class 7:34 Create NPC array 7:57 Place NPC on Map 9:23 Draw NPC 13:05 NPC Movement and AI 17:14 Update NPC 19:43 Create Action Lock Counter 22:14 Player to NPC Collision 27:40 NPC to Player Collision 30:51 Final Result #java2dgame #javagamedevelopment #javatilegame

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