This enemy ai video tutorial shows you how to make a contra style turret that rotates slowly towards the player in GameMaker Studio.

The idea is quite simple. You first define a distance towards the player on when entered the turret starts to rotate toward him. Because we don’t want an instant rotation we delay the rotation. Then when we are in a good enough angle towards the player we can start shooting. That’s it!



πŸ‘‘ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
πŸ’¬ Discord: https://discord.gg/gvr98nb
πŸ“œ Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)

Totally not mario and boomerang found here:
https://opengameart.org/content/admurins-general-items
https://opengameart.org/content/super-miyamoto

————————————————————–
0:00 What we will do
0:46 Subscribe
0:59 How it works
2:05 Coding part
10:51 Game shown – The massenger

1up Indie

View all posts

Add comment

Your email address will not be published.