Ashley's Forum Posts

  • You should always use feature detection (in this case "is speech recognition supported") instead of browser detection. If you only enable a feature in one browser, you will needlessly block it from working in other browsers, including if other browsers add support for it in future.

  • There is no event named "onstartoflayout" in scripting. See the runtime events "beforeprojectstart" and "afterprojectstart", or the layout events "beforelayoutstart" and "afterlayoutstart".

  • I just tried it and it seems to be working fine. Are you sure your Internet connection is working?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's interesting to hear about HTML5 games that end up on consoles, even if they're not using Construct. However having a look at their blog, it sounds like they more or less ended up porting the game to standard native technology (e.g. porting/rewriting in C++), which is already the de facto way to port HTML5 games to console. There are already companies that port Construct games to console this way, such as Chowdren.

    Also note the topic of Construct support on Switch has been discussed to death already and I'd prefer to avoid going through that all again in another thread. The current situation is Construct has built-in support for Xbox One (via UWP export), and for PS4/Switch you have to find a publisher who can do a port for you. Unfortunately as I've described many times in the past, it's very difficult to improve on that. The best approach is to keep asking Sony and Nintendo for support for HTML5 games.

    • Post link icon

    This thread is a year old, and people keep replying to it with what are likely to be unrelated cases.

    It's best to start a new thread, or file an issue following all the guidelines if you can.

    Also as ever, it's very difficult to help or even make any kind of comment unless you provide either:

    1) the affected project, or

    2) press F12 and include any error messages that were logged

    Since replies to this old thread aren't particularly helpful, closing this thread.

  • I have no idea. The protocol is part of Windows and is nothing to do with Construct. I think you will have to contact Microsoft support.

    If you can't use inline scripts, there is an obvious workaround: paste the content in to a .js file and use a normal <script src="..."></script> tag instead.

  • It also shows "Install as app" in the main menu, if it's supported.

  • Yes, use Chrome and choose the "Install as app" option.

  • That won't work. Expressions are not directly accessible from script.

    All available APIs are documented in the scripting reference section of the manual. If APIs are not available yet, see the Integrating events with script example for how you can pass data between event blocks and code.

  • > In general I think that kind of micro-management goes against the whole purpose of Construct, to make things simple and easy to use.

    I would disagree with this, but ofc i don't know complexity behaind it

    Just to point out one of the problems: texture settings like mipmaps apply per-spritesheet, not per image, and so it complicates the spritesheeting engine (which is already extremely complicated).

  • In general I think that kind of micro-management goes against the whole purpose of Construct, to make things simple and easy to use.

  • It's not clear why that happens or if it's even actually a problem (in the past I've seen that message without any serious consequences at all).

    As I said, the best approach is to make the smallest project you can that demonstrates the problem, and share the project file so other people can try it out.

  • The website tells you. Currently it's r202.

  • The evidence you've shown suggests the problem is not WebGL 2. The screenshot you showed says WebGL 2 is not supported on that device, so it won't be used. If it's not used, it can't be the problem. So we go back to square one and basically there's no indication at all what the problem could be from this post.

    As ever, the best approach is to make the smallest project you can that demonstrates the problem, and share the project file so other people can try it out.

  • Have you tried the latest release? We made a bug fix to work around possible audio issues when switching away from the app which might help. It was aimed at ads on iOS which was the specific issue being reported (including in this thread), but the workaround is actually active on all platforms.