Hotline Miami Remake in GameMaker Studio #23 - Ai: idle, alert

Channel:
Subscribers:
11,800
Published on ● Video Link: https://www.youtube.com/watch?v=s5e9Ul_LZqc



Category:
Tutorial
Duration: 20:43
1,379 views
63


This is the 23th video in a series on remaking Hotline Miami in GameMaker Studio.

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)




Other Videos By 1up Indie


2021-04-20Use different languages (localization) [Game Maker Studio 2 | Advanced]
2021-04-148Doors Arum's Afterlife Adventure - A new Hollow Knight?
2021-04-11Best text tool/renderer - Scribble [GMS tools]
2021-04-03Nine slices ninja style [GameMaker Studio Update 2.32]
2021-03-30πŸ”΄Game Maker Studio 2 | Basics - A must know! - Fonts + chars + language
2021-03-19Traps: A sharp saw blade [Game Maker Studio 2 | Basics]
2021-03-16The Chromatic Shield - Amiga throwback sidescroller [Made in GameMaker]
2021-03-13Easy hovering/floating - [Game Maker Studio 2 | Basics]
2021-03-11[ not save for work ] 0, 1, 2, 4, 8, 16, 32, 64 bit(s) to unlimited bits
2021-03-09Character creation tool/generator V6 - Space marine pack! Make your own doom guy.
2021-03-08Hotline Miami Remake in GameMaker Studio #23 - Ai: idle, alert
2021-03-04Overlord Q&A session with Opera and YoYo games (GameMaker Studio 2.3++)
2021-02-28Video gaming industry 2020 - 2021 Insights + Predictions ]
2021-02-26What is a bitmap? Retro video game colors [Video game basics | Vfx]
2021-02-23Character creation tool/generator V5 - Witches & wizards pack! Make your own gandalf.
2021-02-22Ice sparkle magic [GameMaker Studio 2 | Vfx]
2021-02-17Push up correction for pickups - [Game Maker Studio 2 | Basics]
2021-02-15Character creation tool/generator V4 - Ninja pack is out!
2021-02-15Megaman Maker or Megaman engines? [made in GameMaker]
2021-02-13Rejoice! Our new masters have spoken, OperaMaker Studio 2 Roadmap 2021
2021-02-12Domion - Trinity Requiem [game made in gamemaker]



Tags:
Hotline Miami gamemaker
Hotline Miami gamemaker tutorial
Hotline Miami gamemaker studio
Hotline Miami gamemaker studio tutorial
Hotline Miami background tutorial
Hotline Miami gms
gamemaker studio tutorial
hotline miami remake
gamemaker studio 2 state machine
gamemaker studio 2 ai
gamemaker studio 2 collision line
gamemaker studio 2 line of sight