Creating a Boss for platformer game

butterbeanbutterbean Member Posts: 4,315
edited November -1 in Working with GS (Mac)
I'm in the midst of trying to create a boss for a platformer game, and trying to get him to cycle through various animations, would I just place a timer and do animations separately? If anyone has tackled this, any suggestions would be helfpul :)

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    What you could do, is create an attribute called animation. Assign it to 0 or something. Then create a rule under the boss actor that say "When game.animation = 0" "Play Animation" and put in the images.

    Repeat this for 0,1,2,3 however many animations you have.

    Then you could have a timer, switch the animation attribute, or have it based on the players location, or anything else you can think of. The nice thing of creating an attribute is that you can have the animation triggered or altered by outside actors.
  • butterbeanbutterbean Member Posts: 4,315
    Thanks Mulcahy! I will try that out :)
Sign In or Register to comment.