[GMS2] Make a Turn-based RPG Combat System in GameMaker Studio 2 (p.32 Defence System)| FunBox

Опубликовано: 14 Февраль 2026
на канале: Blaze Game Dev
969
38

Now that Attacking is done, it's time to Defend ourselves in our turn-based rpg in GMS2.
It's quite straightforward now that we have an Attacking system in place.
And since there was no theory, the next section (skills) is now just around the corner which also marks the end of the pre-planned part of this series.

On a separate note, I'm going to aim to get new content on this channel next year - not just game dev stuff as a way to grow not just the channel, but also as a content creator so let me know what you think!

#gms2 #rpg #tutorial

01:00 Intro
01:35 Defend Button Code
03:30 Room Edit
05:10 New Function
05:50 pUnit new variable
06:40 pUnit User event 0
08:30 pUnit IDLE phase
09:30 Sequence Moment and Broadcast
10:54 cManager Broadcast Message
12:25 cManager Step Event
13:55 UnitAttack() fix
15:00 Code Test
15:55 Outro

Support our channel - A like and a share will be a great help.

Get personalized video messages from your favorite celebrities through CelebVM:
https://www.celebvm.com/FANZ8GSQ3Y6