WRS's Forum Posts

  • It can be seen for the first time I did something wrong with the cannon and it did not work.

    But once again, after you wrote, I did everything and it helped! Huge thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I created object 1, I created a digital variable with it.

    When a given object 1 collides with another object 2, then the variable at object 1 plus the number 1 (ie one collision) and so on, with each collision of object 1 with another object, it plus 1.

    If object 1 collides 10 times with object 2, then its variable will be equal to 10.

    Now the question.

    If I simultaneously create 2 copies of object 1, then when I collide with any object 2 of any copy 1, both copies of 1 have a plus. That is, if one copy 1 is in the other side and the other copy of object 1 collides with object 2, then two copies of object 1 are plus variables.

    For each object when it is created, I create text to see the change in the variable. Perhaps the problem is that the text changes regardless of which object intersects.

    How then to display different text using one text object?

    That is, I create 2 copies of object 1 and 2 copies of text are created to them that display the values ​​of the variable.

    Subscribe to Construct videos now
  • I'll try, thank you very much

  • yadi.sk/d/yUVUJoPcp1FwOQ

    try this

  • I use the detector only because the police appear next to the car and do not overlap it. By this I took the detector.

    I do not quite understand how to work with UID. More precisely I do not understand at all.

  • Set a tick - to prevent rotation on the box. and it will not spin.

  • Not how to make a condition on it, I have already tried everything.

    How should work.

    When a police car is created and it moves, it has a siren. When the car arrives at the stop and stops, a policeman comes out of it. If a policeman is standing nearby (a field is superimposed on him that checks whether he is standing with the car), the car’s siren continues to flash. If a policeman is killed and no policeman gets into the field anymore, then the siren of the car no longer flashes.

    And this condition should work for every new car.

    I can not do it, because if one condition works, then it applies to all new cars and it turns out that they are already driving without sirens, or if a policeman is killed, then all cars that have the same siren can also be killed.

    Help please do not know how to be.

    Project:

    yadi.sk/d/u660gSEL69Q6KQ

  • You do not have permission to view this post

  • You do not have permission to view this post

  • In the line of the browser just write / r158 (https://editor.construct.net/r158) and you will download this version

  • The file in the browser works fine. This confused me.

    On the iPhone, path finding for 99% of instances stops working.

    I tried to give a delay before the start, I tried to activate the scripts after some time. But nothing helps. 1 ant out of 20 can start running. But the rest are worth it. Moreover, they are not removed if they appear in the walls, it is the same tied to finding the way. I think that something is not being converted as the project works fine in the browser.

  • Faced a critical error.

    I use this example for my project, but when converting it to xCode, the behavior of the ants stopped working.

    I tried to convert the author's source file and it also does not work on an iOS device. What could be the reason? For some reason, the scripts on the device are not running.

    Ants will not be removed on condition that the path is not found.

  • Thank you very much, you not only helped but also broadened my horizons about the possibilities of the designer)))

    I will wait for more cool examples from you!)

  • Thank you very much. I removed the line UID 2 but it only helped half. I added a line to check the speed when moving and if it drops to 0 then reload the search path.

    But this is not the right decision. Since UID 2 is food. And if food is absent ants should go about their business.

    That is, we can not remove the UID 2

  • The same situation happens if I try to copy everything completely. That is, I create a new file, copy all the objects from this, all the conditions and simply transfer it to another.

    As a result, the Ants also measure up. File similar to the original. What could be the reason?

    As I understand them, the speed of movement of the post becomes 0. But why is this happening I can not understand

    File

    yadi.sk/d/mt75CqIbw6VMMg