Help with UID/ families

0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hello,

    I know many people have asked this before but I can't seem to make it work. The idea is to have multiple enemies of the same kind that act individually but have the same behavior.

    I have tried using the "for each" command and families but it either doesn't show the second enemy or it just makes both of them very buggy.

    <img src="smileys/smiley5.gif" border="0" align="middle" />

    Here's the capx file(still can't post links yet):


    If you know how to do this please either explain it or just check out the capx file and edit it.

    Thank you very much!<img src="smileys/smiley4.gif" border="0" align="middle" />

  • You have to associate a hitbox with a character, otherwise everything gets lumped together. Containers help here. To get the association right, the container item needs to be created dynamically, so I added another placement object, which then gets destroyed. There are other ways to do this. Also, use the Pin behaviour for position syncing.


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh wow this is perfect! <img src="smileys/smiley32.gif" border="0" align="middle" />

    Thank you very much, I understand the container property much better now! <img src="smileys/smiley4.gif" border="0" align="middle" />

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