behavior actions in family??

0 favourites
  • 6 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • Hello

    I'm not sure if it's possible or I'm missing something..

    Can I edit something from a behavior in a family?

    example:

    there are 5 sprites on a family all of them with bullet behavior and I want to change the speed of them to 50, but if I look at the family actions there's no bullet category..

  • Family behaviors are not yet supported - it's on our todo list.

  • Oh, that's good to know then!

    I was trying to stop only the sprites that was overlapping on the same family and I have solved that problem with 2 events but forgot to save and minutes later I have NO idea how I made that.. God.. that's crazy =/

    example:

    family is - units

    and there is sprite1 and sprite2..

    sprite1 have a variable player 1 and sprite2 is player 2.

    If I make an event like units overlapping units, it will activate even if sprites from player1 is overlapping another sprites of the player 1.

    But I want only to activate if its overlapping sprites from player 2.

    I have added some more conditions to the event to make it work but now have no idea what I did and forgot to save..

  • Any ETA Ashley? <img src="smileys/smiley4.gif" border="0" align="middle" />. Thanks.

    Guif0DA Why don't you just write exactly what you need, as in:

    units overlapping sprite2

    or

    sprite1 overlapping sprite2

    or perhaps

    units overlapping sprite

    sprite compare instance variable = player2

    Etc.

  • because there will be alot of sprites for each player.

    as I said I managed to do that with units overlapping units + other conditions that I don't remember.. This reduce the number of events needed to make it work..

    Right now I managed to make it work again but I had to make 2 new families, player 1 family and player 2 family and then:

    units overlapping player 1(family)

    units variable = player 2

    and the same for overlapping player 2 and variable = player 1..

    Isn't the best way but it's working.. still.. I'm very intrigued how I made it work last time with only 1 family.. using units overlapping units

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is now possible with latest beta: scirra.com/construct2/releases/r123.2

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