This is the 20th video in a series on remaking Hotline Miami in GameMaker Studio.
The video tutorial shows you how to setup a limted but very easy to implement collision system which works effective in this project. We simply have to check if there is an object collision with any obj_wall instances and if there is none, horizontal/vertical movement is possible.
This system has 2 limitations. No decimals are allowed (and no acceleration also) plus the start placement should be on grid (so no decimal numbers as a start placement also).
Note: Decimals can be used in an advanced version where you have rounded values with extra checks but this is kept simple so here these 2 limitations are fixed.
0:00 Explaining what we will do
0:39 Subscribe
1:00 Use place meeting as our collision code
3:22 Fixing collision mask issues
7:40 Optional - extra collision buffering
8:24 Limits of the current system
Project + assets found here:
https://1up-indie2.itch.io/hotline-mi...
👑 Support me and get fresh game art and game maker projects every month:
/ 1upindie
Follow me on:
📸 Instangram: / 1upindie
🐦 Twitter: / 1upindie
💬 Discord: / discord
📜 Udemy: https://www.udemy.com/course/become-a... (See youtube about page for discount)