How do I multiply the enemies I have in my game

  • So I have my enemy character with all the code and everything set up. I've done the 'for each' and have the enemy spawn at different coordinates on the level, however, a lot of the code only works with one of the enemy. The mirroring, attack and a lot of the code doesn't work on the first enemy encountered and only seems to work once I walk past the the last enemy character on my level. Any help please?

  • Hi JoshSenpai,

    Do you have a capx you can share? Off the top of my head it sounds like there's an issue in the conditions selecting enemies or perhaps the assignment of values to enemies when they are spawned, but this would be easier to assess from the actual code.

  • Hi JoshSenpai,

    Do you have a capx you can share? Off the top of my head it sounds like there's an issue in the conditions selecting enemies or perhaps the assignment of values to enemies when they are spawned, but this would be easier to assess from the actual code.

    Hi, I believe I need more reputation points to upload it. Will do so in a bit. Do you know if there is another way to upload the file?Thank you so much.

  • JoshSenpai

    You can post the link with spaces in it so it doesn't register as a link.

  • https: //www.dropbox.com/s/0aaun9gyhw2eh ... .capx?dl=0 Here. Hopefully, this works. A lot of the things work, however, after I kill the first boss, the second one is pretty much unkillable and I have to kill all the other enemies before I can kill the second enemy on the layer. I have no idea on what to do. Any help would be very much appreciated

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI JoshSenpai, I'm afraid that link doesn't work - you can generate one by clicking the share button for the file on dropbox, clicking the "copy link" button.

    I won't get a chance to check it tonight, but I'll have a look tomorrow morning.

  • I am pretty sure that I had done that, if not here it is again. (delete the first h from the https)

    hhttps://www.dropbox.com/s/0aaun9gyhw2e ... .capx?dl=0

  • Nope, still not working - it should look like something like this: https://www.dropbox.com/s/h8pmfmjgfkvu8 ... .capx?dl=0

    Notice that there is no ellipsis before ".capx"

  • YOU need 500 points to paste the link with https, and www, that's why the construct modifies the link. You can just paste the link as plain text remove the https and www from it. Example dropbox.com/blablabla.

  • imhotep22 cheers I just noticed that my link was automatically contracted! D'oh!

    JoshSenpai It should look like this:

    https: // www .dropbox.com/s/h8pmfmjgfkvu8zl/arrayShuffle.capx?dl=0

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