Home Artists Posts Import Register

Content

Annnd here's part 2! Much shorter than part 1 as it only takes a bit of code re-arrangement to extend the functionality of this state machine to allow for as many different combo chains and attack type as you can imagine.

Live to the world not this coming Friday, but next Friday. 

In all this excitement I haven't actually done a proper weekly update this week, I'll get to that tomorrow where we'll talk about what's coming next!

-S

Files

GameMaker Studio 2: Melee Attacks Tutorial [2/2]

▶ Source code: https://shaunjs.itch.io/shauns-melee-example ▶ Part 1: https://youtu.be/93Dz2hgsZy0 ▶ Support my work: https://www.patreon.com/shaunjs A remade, revamped and more in depth video on melee attacks for GameMaker Studio 2. Part 1 covers a basic attack using a state machine, part 2 will cover combo chains. Shout outs to PixellatedPope and other members of the GameMaker subreddit discord channel for their help in making this video. ▶ Animation_end() script: https://pastebin.com/0AsJn1WB ▶ State machines in depth: https://www.youtube.com/watch?v=-0bckaBj__M ▶ GameMaker Discord: https://www.reddit.com/r/gamemaker/comments/5kcxbt/rgamemaker_discord_server_is_now_live/

Comments

Anonymous

This is really good. Hopefulyl i can figure out how to make it friendly with Projectiles as well. If not worse case scenario i will have to up myself to arch magi for a coupple months but i dont mind doing that because you are a great teacher Shaun thank you very very much again for this tutorial.

Raeldor

I know I'm going late on the tutorials, but I could suggest one little follow up video, explaining a way to implement attacks when jumping, I tried but all I got is a frozen character mid air.