This video tutorial shows you how to make a simple stationary turrent with the focus on having only a 180 degree of movement of its canon in gamemaker studio.
How can this be achieved?
Simple, by having an object that turns around towards a target. Here I will use the mouse x and y coordinates are a reference point. The idea is to set the angle of the canon with the simple function point_direction which returns and angle between 2 points. Then you need to assign the range of the 180 degrees. This can be done for with a zone above the turrent, which is the y position of the mouse. And that is pretty much it.
Patreons get this whole project + graphics as usual totally free to use.
▶ Gamemaker Studio: https://www.yoyogames.com/get
▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
🎮 My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
💓 My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
👑 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
Advanced Gamemaker, Game Design, Gamemaker AI, Gamemaker Basics, Hotline Miami Remake, Interviews, Made in Gamemaker, Pixel Art Game, Super Demon Survivors, Uncategorized, Vampire Survivors Remake, Video Game Reviews, Visual Effects


Add comment