Do conditions resolve at different speeds?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I am creating a game where an Alien Blast is upgraded by placing an Electrical Object effect object over it. I have tried a few ways to make this happen, and the most reliable way so far uses a combination of a flag, and an overlap condition:

    Alien Blast: Internal Flag 1 is on
    Electrical Object is not overlapping Alien Blast
    Create Electrical at (0,0) from Alien Blast

    Here's the thing, with multiple Alien blasts, even if it's just 2, there's a very obvious delay of 1 to 2 seconds before the electrical object is created. There aren't a whole lot of other objects on screen either.

    Is there a difference between types of event conditions and speed? For example, if I used an ALT variable (which was somehow unreliable), would it be faster?

    Please send me feedback on my new 2D space shooter, It Never Ends. Please login to see this link.

  • I don't think there should be any noticable(by human senses) delays what so ever, wichever method you use.

    I am not sure what exactly is going on with the Alien blast? You say you want to upgrade it, but only create the upgrade if alien blast is not overlaping it, and the alien blast has flag 1 on. I have a hard time picturing what is actually going on.

    But, I assume the delay is because the Alien blast either does not have flag 1 on, or the overlap is still happening. to check this, you can make a condition:
    Alien blast flag =1
    Alien blast is overlaping electrical object

    and action:
    every 100 add 1 to Global value x

    And the same for the flag.


    Now you can use the debugger during runtime to see wether or not the conditions are met at the desired time. And may help you figure out if they are not

    My developement live (currently inactive): Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!