This is the 22th video in a series on remaking Hotline Miami in GameMaker Studio.
The video tutorial shows you how to do a camera tilting/rotation like you see in Hotline Miami. The idea is that you rotate the camera relative to the player's x coordinate to the middle point of the room with. This is then being rotated negativly when the player's x is bigger and positivly when the x is lower.
0:00 Explaining what we will do
0:45 Subscribe
0:55 Presentation how things are working
4:17 Coding part
13:22 Optional part, creating a buffer zone with 0 angle rotation
15:40 Lerping to create a smooth angle rotation
16:57 Game shown: ENDER LILIES
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)