zhajym's Forum Posts

  • 3 posts
  • Doing a 'Create Family' event will create random member of that family.

    Alright, wasn't sure if this would create instances of all objects in that family on top of each other. Couldn't really tell, because all my sprites have the same shape and size (just differing in color). But if it's only one random object, that's exactly what I wanted. Thanks! :)

    BurningWood:

    Thanks for the link! Right now I was just looking for a way to spawn a random object, not to set a random position... But this tut also might come in handy for me soon. :)

  • do you have a variable set up for the damage the arrow deals regardless of any armor?

    if you have that subtracted from e.g. the enemies health on impact (taking armor into account by subtraction/division or whatever), you could just manipulate the damage variable on the arrow for balancing and it should work...

    hope this helps...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    I have 6 different sprites set up in my layout and I'm trying create an instance from one of those (randomly selected) at a fixed timing rate. I have combined all of them in a family, but I only have the option to spawn the whole family-object.

    Since I only need one instance on screen at a time, I also have set up "Destroy" right before the "Create"-Action,

    While this seems to work ok, I'm not sure if this is the right way to do this... does anybody have another suggestion how to go about this?

    Any help appreciated, thanks!

  • 3 posts