🔴 Sniper [GameMaker Studio 2 | Basics]

🔴 Sniper [GameMaker Studio 2 | Basics]

Channel:
Subscribers:
9,720
Published on ● Video Link: https://www.youtube.com/watch?v=WHLPXL6v0uo



Category:
Tutorial
Duration: 17:19
763 views
33


This basic video tutorial shows you an easy way how to make a sniper in gamemaker studio.

How is this done?
You only need to understand that the sniper has 2 phases in which he will toggle. Enemy out of range or enemy in range. When the enemy is in range you have 2 cooldown timers. The first one simply is a reload timer so the sniper cannot constantly fire. The second one is when the sniper can fire the needs to lock on to a target where you can draw a red line symbolizing his current state. For all those mechanics you basically only need two position variables, first the sniper x and y plus the nearest target x and y. Here you only draw the red line when the sniper is locking on/targeting an instance.

Mini project can be found here: https://www.patreon.com/posts/youtube-project-34598601


▶ 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:
https://www.instagram.com/1upindie
https://twitter.com/1upIndie
https://discord.gg/gvr98nb







Tags:
gamemaker sniper
gamemaker sniper tutorial
gamemaker studio sniper
gamemaker studio sniper tutorial
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial