Easy to stupid AI: crawler - [Game Maker Studio 2 | Basics]
This basics video tutorial shows you a very easy way how to make a crawler enemy object.
The idea is quite simple. You basically give the crawler (snail) enemy object a direction and speed value. Then you set on an invisible layer collision objects that redirect the enemy walker direction. What you get is a crawling enemy that goes in one circle around a rectangle. The difference to the previous video is that you don't flip the image_xscale all the time because here the crawler doesn't ping pong from left to right. So if the crawler has to go counter clockwise you set the image_xscale to -1 and clockwise to 1 once.
Previous video (walker ai): https://youtu.be/j_hKZ-qYA60
gpl 2.0 surt monkeylad further
https://opengameart.org/content/monkey-lad-in-magical-planet
▶ Gamemaker Studio: https://www.yoyogames.com/get
▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
🎮 My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
💓 My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
📜 Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/?referralCode=6AB816C3B321FB60C885
👑 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