Boss Help!

0 favourites
  • 2 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm making a boss for my game, and he is supposed to run around, stop, throw stuff, then run to the opposite side of the layout, throw stuff, then do it again. How would I do that, and trigger the animations?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I like to add a string variable to my sprites called "state", and then have conditional states like "idle", "walk", "attack", etc... For more complicated movements like with a boss, you can also have trigger objects that the boss can collide into and have a certain action take place before he switches directions.

    In order to control his movement directions, you can make a variable called "direction", and make it a number or string, and have it so different numbers/words correlate with different directions you'd have him take. Assign a variable to the trigger objects with data corresponding to the new direction the boss should take after colliding with them.

    There are of course a million ways to go about your goal. The vague method I described is only one of those ways, but your best bet is to experiment until it has the movement and actions you want.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)