alexheg's Forum Posts

  • 8 posts
  • codah

    Thank you, it helped.

    It is a pity that another problem still remained. The problem is that I have 2 copies of the enemy with the private variable "Lives". And if I do so as in the screenshot, then life is taken away from both in contact with only one, with generally unknown as it is taken away, the double-triple number...

  • I have 3 sprite, which overlap each other, we can say they are the same width and X is the same. There are bullet sprite. I made a condition that the collision ("on collision") With any of these sprites (one event through "or") Bullet destroyed and taken away from the Live variable 35.

    So, if the bullet hits the point of overlap of the 3 sprites, then the variable will be taken away three times the number is 105.

    Can somehow fix it?

    Tried and family to do all the sprites and check for collision with the family, does not help. Just trying to make a variable that is set to 0 when the bullet collides with sprites and after some time it becomes equal to 1, and that only when variable = 1, only consuming 35 did not help. Tried to make and through Overlapping and Trigger Once, all also did not work.

    Can I somehow fix it and make that would take up only 35 in each collision, and no matter how many bullet grazed sprites?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Prominent

    Yes, thank you very much, removed the for each XY element, and now everything is working as it should

  • Why sorting doesn't working?

    This is a part of Drag and Drop inventory system.

    Selected_Cell - value of the initial inventory slot.

    Selected_Cell_type2 - the value of the final inventory slot.

  • I need to object 1 placed on position copy of the object 2. Only one copy that corresponds to the condition (local variable). Doing inventory on the array. With an array of all okay, works as it should, but the position of the object's something strange going on. I turns out that the object is placed on a copy of randomly while repeatedly copying.

  • Is there any way to make this image a Collision Area without doing it manually? PNG image with transparency. The player must be inside the Collision Area

  • Thanks for the answer, otherwise I would have tried for a long time to fix it. Now I am calm, knowing that it is a bug.

  • Making the save/load system encountered a problem. When you "buy" save this error occurs (below). In what could be problem? And sometimes, this error does not occur, but in most cases this is still happens

  • 8 posts