GMS 2.0 Turn-based Combat System
A downloadable asset pack for Windows
Download NowName your own price
This game asset allows you to set a turn order or randomize who is allowed to attack and who is not based on key pressed event or customized code or instruction. Currently the turn order is set by an irandom_range, if above 25 of the "F" key pressed, it is the enemy's turn, if below 25, it is the player's turn.
This code can be customized to set different criteria for who's turn it is, and allows execution of code during who's turn it is.
Download
Download NowName your own price
Click download now to get access to the following files:
TBCtrial.yyp 9 kB
Comments
Log in with itch.io to leave a comment.
this file is project file, but extension should be .yyz file, not .yyp
No damage coding added to the blue player object, however I placed an alarm event on the red enemy object to do damage to the player object at 200 frames if is Enemy's turn.