Hotline Miami Remake
Hotline Miami Remake in GameMaker Studio #28 – Go to player in sight
The video tutorial shows you how to use the lasts videos state machine to go to a target point and back. Here we will establish the player to activate the ai of every enemy that is in a circle of sight and which can actually see the player by having a line of sight also. When these two conditions are met we give the enemy a reaction time of a second to start its ai to go towards the last saved position of the player. Since we loop this ai activation from the player, the last position is being reset all the time.
For the future: This series will end after the ai is in a good state and we will do the requested revolving doors also. After that, this series goes into maintenance mode and is offically over. The itch.io project will be updated then to the up to date version (when I finish the ai) and will be advanced/refined a bit more. This little extra will be not part of the series.
Path finding with mp_grid:
https://youtu.be/gqzsBhb7ov4
Project + assets found here: (will be updated once the state machine is done)
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)
0:00 Explaining what we will do
2:08 Subscribe
2:18 Concept explained
3:47 Coding part
Add comment