Hotline Miami Remake
Hotline Miami Remake in GameMaker Studio #23 – Ai: idle, alert
The video tutorial shows you how to do start the ai by having a state machine. This part is not meant to be for beginners because the concepts/scripts shown are for advanced users. In essence we are having multiple checks which change the idle state into an alert state. These checks are, 1. is there an player instance? 2. Is the distance from the enemy to the player in a sight range? 3. is the enemy looking more or less in the direction where the player is? and finally 4. is there no wall in the way?
If all these checks are positive we can swap the ai of the enemy to an alert state.
0:00 Explaining what we will do
1:26 Subscribe
1:46 Concept explained
4:56 Coding part
20:17 Game shown: ENDER LILIES
Project + assets found here:
https://1up-indie2.itch.io/hotline-miami-clone-project-sprites
👑 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)
Add comment