BanksySan's Recent Forum Activity

    I suspect the second it being passed into the first as a callback or being executed with a promise. In either case, the execution will be added to the end of the execution queue, so will be executed later.

    I suspect the second it being passed into the first as a callback

    I take this bit back.

    I suspect the second it being passed into the first as a callback or being executed with a promise. In either case, the execution will be added to the end of the execution queue, so will be executed later.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is with the latest (minus today's) release.

    oliver009 Have you raised an issue? I'll raise one if not, or I'll use yours if you have.

  • I see what you mean now. You're right, there isn't a loop, everything stays set based. It's not as horrible as I first thought.

    Still, I'd like to be able to pass the current filtered context into the function if I wanted to.

  • At this part:

    some conditions to pick a certain group of sprites
    --- sprite: set picked to true
    --- function call "foo"
    

    You are using a loop, isn't this just a longer way of writing:

    some conditions to pick a certain group of sprites
    --- sprite: get UID
    --- function call UID
    

    If the function kept filtering context, you could still do this because the filtering doesn't apply to the Pick by UID statement.

  • I want to use CTRL + N to perform an action, however it instead opens a new Chrome instance. Is there a way to prevent this or should I just use a different combination?

  • If there's multiple instances you want to target then a function can't do that anyhow because it can only accept string, number and boolean types. Wouldn't you have to put it in a loop and call it multiple times?

  • That could be achieved regardless though, couldn't it?

  • In the browser I can capture a paste or a drag & drop onto an element and process whatever was pasted/dropped.

    Is there a way to do this with Construct 3?

    Tagged:

  • OK, I can see details of the call from the F12 tools and I can see it's a CORS problem. That's a pain in the bum because this isn't a browser, it's just a client.

    Firstly, can I tell construct to ignore CORS?

    Secondly, how do I react to AJAX errors? Depending on what the error is would change how I would react to it.

  • I'm making a GET to www.example.com. I've tried both HTTP & HTTPS. I can capture the calls and I can see that they're all returning a 200.

    The project always reports an error though.

    How do I get details of the error? It's very hard to debug without any details.

    Tagged:

BanksySan's avatar

BanksySan

Member since 26 Feb, 2015

None one is following BanksySan yet!

Trophy Case

  • 9-Year Club

Progress

9/44
How to earn trophies