Hotline Miami Remake in GameMaker Studio #20 - Easy player collision

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



Category:
Tutorial
Duration: 10:10
1,363 views
46


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-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)







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
game maker collision tutorial
gamemaker studio 2 collision check
gamemaker studio 2 collision mask
gamemaker studio 2 collision code
gamemaker studio 2 easy collision detection
gamemaker studio 2 place_meeting