Families or what?

0 favourites
  • 3 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • I made a test with the ragdoll example in the last C2 revision.

    I create a new ragdoll with 12 pieces (head, chest, left arm, left forearm, and so on).

    I put all this sprites in the family "ragdoll".

    I create a behavior physics in the family ragdoll.

    Create all the revolution joint and it works ok. <img src="smileys/smiley36.gif" border="0" align="middle" />

    Now, at the beginning I set Immovable the family, so the ragdoll stay freeze. I made an event that when I click on the ragdoll with the mouse, the family became Movable. But, like in the examples of families, the only part that becames movable is the part I touch with the mouse.

    My question is: how can I make ALL the sprites in the family movable when I touch with the mouse 1 object of the family "ragdoll"?

    Hope u understand my english and hope to find a solution (for now, I put 12 event that say "when mouse on head, make it movable", "when mouse on arm, ..."... not so good if i think to put other ragdoll... <img src="smileys/smiley11.gif" border="0" align="middle" />

    Maybe family is not the right choice, but they are very simple to use...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe triggering desired events by variable would work. Something like that: capx

  • Great Scott! Or maybe, great Kastas! <img src="smileys/smiley32.gif" border="0" align="middle" />

    Easy solution, thank'you very much! <img src="smileys/smiley42.gif" border="0" align="middle" />

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