Ashley's Forum Posts

  • Minification is done by babel-minify. If you can reproduce the problem independently, you could file an issue with them (although I'm not sure how actively maintained the project is any more). Occasionally though the pragmatic thing to do is just work around it and move on.

  • You can't call expressions directly from script. You can pass values in variables though as shown in the integrating events with script example.

    In this case it's really not worth the trouble though. The expression is a single line of JavaScript:

    function distanceTo(x1, y1, x2, y2)
    {
    	return Math.hypot(x2 - x1, y2 - y1);
    }
  • You can't call those methods arbitrarily though, since there are various rules imposed by a suite of optimisations to reduce the overhead of SOL management in the event engine.

  • But don't you think popping a notification screen "Exporting to Android Studio: Known issues here" would be a large customer service benefit?

    Well, it's actually pretty complicated - the advice needs to depend on the addons your project uses; it can't cover third-party addons; the details change regularly so could easily go out of date (and wrong advice can be worse than no advice); it's unlikely it will cover every possible issue or quirk, so will probably always be incomplete; in cases where there are bugs that other companies need to fix, the right solution is to get them to fix it, rather than start spreading messages about it; and some users will (sometimes even wilfully) get the wrong end of the stick, point to that message and say things like "look how buggy Construct's mobile support is" (especially if other tools have no equivalent message), even if none of it is our fault or nothing mentioned affects them in any way.

    Mobile publishing is just kind of tricky no matter the tool or framework you use, and I don't think there's any easy answer that will fix all the problems in one go.

  • It's a super complicated part of the engine with lots of subtleties and non-obvious bugs if you make the wrong sequence of calls. I think it'd be a lot of work to document and implement all the SOL APIs, and as ever, time is by far our most limited resource.

  • The URL you gave uses an insecure server. Many features are unavailable on insecure servers, including IIRC device motion. (There have been security vulnerabilities reported where the device motion can be used to guess what the user is typing on an on-screen keyboard, so it is regarded as a security-sensitive feature.)

    These days you should host everything on a secure server (HTTPS) from the start. You can't really get away with insecure servers any more.

  • It's hard to tell what the problem is from your post, because "crashes on start" contradicts "could not build project". Could you build the app or not?

    In general third-party addons are not our responsibility, so you should take up any issues with it with the addon developer.

  • So the problem is in Construct.

    It's basically too soon to cast around blame until you have solved the problem. See a blog post I wrote a while ago on blame in technology, and the aardvark case.

  • Please download the standalone version from www.scirra.com, install that and test it.

    • Post link icon

    Please, feel free to develop your own console engine. But note you'll be shouldering the costs and risks I mentioned earlier. If you find a third-party company who have already dealt with Construct games, they will be a long way ahead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes. It is only used on the server responding, it doesn't apply anywhere else.

    This is an essential part of security on the web. For example, it prevents random websites obtaining your Facebook profile picture without your permission.

  • As far as I'm aware iOS and Android publishing has been working the whole time. Our stats show thousands of users publishing to Android and iOS every week.

    The main problem people have with Xcode and Android Studio seems to be that ultimately these are tools aimed at developers with programming experience, and involve a certain degree of complexity. It can be difficult for non-technical Construct users to make the jump, especially since these tools are not themselves perfect, and have their own bugs, quirks and configuration requirements that are nothing to do with Construct, and will have to be dealt with no matter what tool or framework you use.

    One example is there appears to be a bug in Google's own AdMob library that causes the app to crash if it is misconfigured. If you configure it correctly it works, but you have to follow the steps carefully and do everything right. The crash is nothing to do with Construct, it's squarely Google's fault. But unfortunately as with any complex technology, people don't always recognise the different layers involved and end up blaming us instead.

  • I don't think it's possible, I'm afraid.

  • I asked if the standalone version is affected, but it doesn't seem clear from your answer whether it is. If you use the non-Steam version of Construct 2, does that also slow down?

  • The image on cloudfront.net does not send an Access-Control-Allow-Origin header. So no, it's not correctly configured. You can check the headers it sends in the networking panel of browser dev tools.