• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Ideas for boss fight code

Suzaku

Member
Im making a boss fight in a platform game. So... Im thinking about making the boss with 4 levels of fury, where in each level there are a group of possible moves that he can pick to use against the player, and then on step event it will check the whole time on which level the boss is at the moment, if on level 1 then a specific variable will be true signalizing that only level 1 moves will be allowed for use now. Meanwhile, the boss object will activate scripts of that signalized level, at random or in specific order, and each script will be a move, containing the codes to act. What do you think of my idea? Any tips? Thank you.
 

Slyddar

Member
Ensure you are using a state machine for the boss. It will make your life 1000 times easier, especially when you want to control what he is doing at certain times.
 
Top