families question

Forum Home Forum Home > Construct 2 General > Construct 2 general
 Post Reply Post Reply
Author
1,494 Rep
Post Options Post Options   Quote egos Quote  Post ReplyReply Direct Link To This Post Topic: families question
    Posted: 09 May 2012 at 1:17am
Hello
I discover families fonctionnality and i dont find a answer on the forum.

Why create spawn random sprite of the familie and move and destroy work fine ?

Its a bug or a fonctionnality ?

EXEMPLE

Thanks for your answer

Edited by egos - 09 May 2012 at 2:15am
Back to Top
5,655 Rep
Post Options Post Options   Quote VampyricalCurse Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2012 at 6:06am
What are you trying to say? Why the sprites destroy all the same time? Do you want to destroy them individually?
Back to Top

Scirra Developer
78,602 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2012 at 10:14am
If you say to create an object and specify a family, what should happen instead? There's no one particular object that should be created, so it picks a random one.
Back to Top
2,775 Rep
Post Options Post Options   Quote Guif0DA Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2012 at 1:09pm
Originally posted by Ashley Ashley wrote:

If you say to create an object and specify a family, what should happen instead? There's no one particular object that should be created, so it picks a random one.

but if you try to specify one with conditions an create a new object family using the system it still creates random
Back to Top
1,494 Rep
Post Options Post Options   Quote egos Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2012 at 9:30pm
Originally posted by Ashley Ashley wrote:

If you say to create an object and specify a family, what should happen instead? There's no one particular object that should be created, so it picks a random one.


but when you move a families it pick all object of the families.
When you destroy a families it pick all object of the families
So why this didnt pick all object when you create object families ?


I hope this make sense, sorry for my english.


I think we need a fonctionnality for connect multiple object. For example life bar : if i made a collision with a sprite i modify the life bar connect with the sprite.
I tested IID and this didnt work fine, This made a lot of bug in my programm. Finally i used pick nearest but if two lifebar overlap this made a bug too......



Edited by egos - 10 May 2012 at 9:30pm
Back to Top
1,494 Rep
Post Options Post Options   Quote egos Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2012 at 4:07am
any idea ?
Back to Top

Scirra Developer
78,602 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2012 at 2:18pm
Your .capx example appears to be working correctly. I'm not sure what you're expecting to happen instead. Can you explain in some more detail?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down