![π΄ Melee hit box [Game Maker Studio 2 | Basics]](/images/yt/4a/melee-hit-box-game-maker-studio-2-basics-r4lhw.jpg)
π΄ Melee hit box [Game Maker Studio 2 | Basics]
This basics video tutorial shows you a way how to spawn a melee hit box in GameMaker Studio.
Is this a standard?
As far as I know yes, at least the approach to it. You have to imagine, that the animation and the actual hit with a melee attack are two seperate things even though they look the same for the player. To indicate the attacking a lot of games have the sprite animate and then spawning an invisible hitbox that does the actual work concering the machanics behind a melee hit.
If you are unsure about hitboxes and bounding boxes please check out my previous video where I describe that in detail.
Found here: www.youtube.com/watch?v=sInOOV6NRwY
This tutorial is a follow up that only shows you why they are seperate things (animation and hitbox) and how you can setup that for your own game.
Tilset and character by Ansimuz CC0
https://ansimuz.itch.io/
βΆ 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