Advanced Combat - How to Make a 2D Game in Java #48
In this video, we create a monster who swings a weapon and implement its attack AI.
We also tweak our attacking method so each monster/weapon can have a different attack motion speed.
If you want to use my asset (images/maps/sound) that are used in this tutorial, here's the link:
https://drive.google.com/drive/folders/1OBRM8M3qCNAfJDCaldg62yFMiyFaKgYx?usp=sharing
*If you wish to use them to create your own public content (profitable/non-profitable), please contact me via Twitter or email. Both links are in the About section of this channel. In any case PLEASE DON'T re-distribute my asset (graphics/sound) and limit it to personal use.
Timestamps:
0:00 Introduction
1:00 Quick Update
1:35 Optimizing the Monster Class
12:57 Creating Orc Class
16:57 Fixing the Knockback Direction
26:05 Monster Swings a Weapon
28:26 Attack AI
36:09 Unique Attack Motion Speed
40:27 Conclusion
#javatutorial #javagamedevelopment