How do I Create specifict attacks from bosses as example?

0 favourites
  • 3 posts
From the Asset Store
Unlock platyers earning coins, and save it with Localstorage
  • Lets say I have a boss that is supposed to shoot stuff from the sky, in a specifict pattern?

    Currently I have all sprites above the window size that activates after X happens, so they fall down.

    In my opinion this is not optimal since it takes up so much space in the game (Fill with sprites everywhere and it can only be launched once).

    This is how it looks right now (with sprites above window size)

    (All these are with the bullet behavior that activates after a few seconds) and that's it, then their gone

    Is there a way to spawns these on command instead of just having them falldown, and maybe being able to spawn multiple times?

    I know about the random behavior, (spawn at random) but that is not what I want, I need to have them spawn in a specifict pattern.

    Is that possible or should I just keep have them like this??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Search manual for Loops and loopindex

    [quote:3s2dvj16]loopindex

    Get the index (number of repeats so far) in any currently running loop.

    repeatPAT.capx

    this can also be accomplished with nested loops ..but for now...

  • Search manual for Loops and loopindex

    [quote:6l0c9ggs]loopindex

    Get the index (number of repeats so far) in any currently running loop.

    repeatPAT.capx

    this can also be accomplished with nested loops ..but for now...

    Thats really nice, thank you so much, will definitely learn a lot from this, didn't knew about loops,

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