How to do Enemy AI 2D - melee attack, turn around in Godot 3? Tutorial
45.6 هزار بار بازدید -
3 سال پیش
-
The enemy goes left, right,
The enemy goes left, right, and can attack. He can also turn around after detecting the hole!
--------------- Ways to Support ---------------
💝 Donate My Game: https://rafafiedo.itch.io/dungeon-res...
☕️ Coffee: https://ko-fi.com/rafafiedo
--------------- Useful links ---------------
✎ Script code: https://github.com/rfiedorowicz/Godot...
✏ My Godot projects: https://github.com/rfiedorowicz/Godot...
✏ Collisions / Layers Tutorial: https://github.com/sheetcode/collisio...
✏ Gravity Tutorial: https://github.com/sheetcode/tutorial...
--------------- Contact and social media ---------------
💬 Discord: Discord: discord
🐝 Twitter: Twitter: RafaFiedo
🎵 Music channel: rafafiedomusic
📬 Mail: [email protected]
--------------- Timestamps ---------------
0:00 Final results
0:11 Intro
0:39 Moving function
1:00 Theory - Turn around
1:30 Practice - Detect turn around
2:18 Turn around
3:30 Scale x explanation
3:50 Theory - Detect and attack the player
4:13 Practice - Detect and attack the player
Don't forget to leave a comment to let me know if you enjoyed this video, it's important for me! :)
Hope you'll like it!
#godot #tutorial
💝 Donate My Game: https://rafafiedo.itch.io/dungeon-res...
☕️ Coffee: https://ko-fi.com/rafafiedo
✎ Script code: https://github.com/rfiedorowicz/Godot...
✏ My Godot projects: https://github.com/rfiedorowicz/Godot...
✏ Collisions / Layers Tutorial: https://github.com/sheetcode/collisio...
✏ Gravity Tutorial: https://github.com/sheetcode/tutorial...
💬 Discord: Discord: discord
🐝 Twitter: Twitter: RafaFiedo
🎵 Music channel: rafafiedomusic
📬 Mail: [email protected]
0:00 Final results
0:11 Intro
0:39 Moving function
1:00 Theory - Turn around
1:30 Practice - Detect turn around
2:18 Turn around
3:30 Scale x explanation
3:50 Theory - Detect and attack the player
4:13 Practice - Detect and attack the player
Don't forget to leave a comment to let me know if you enjoyed this video, it's important for me! :)
Hope you'll like it!
#godot #tutorial
3 سال پیش
در تاریخ 1399/12/28 منتشر شده
است.
45,657
بـار بازدید شده