![Easy to stupid AI: walker - [Game Maker Studio 2 | Basics]](/images/yt/j_/easy-to-stupid-ai-walker-game-maker-studio-2-basics-kz-qy.jpg)
Easy to stupid AI: walker - [Game Maker Studio 2 | Basics]
This basics video tutorial shows you a very easy way how to make a walker enemy object.
The idea is quite simple. You basically give the walker (snail) enemy object a direction and speed value. Then you set on an invisible layer collision objects that redirect the enemy walker direction plus the image_xscale. What you get is a walker that ping pongs from left to the right. That easy way can be also used for enemies that go up and down.
A little disclaimer: There are more efficient and complex ways to achieve this goal but this is the most easy way I could conjure up.
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