Hotline Miami Remake
Hotline Miami Remake in GameMaker Studio #20 – Easy player collision
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-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