Ashley's Forum Posts

  • The web has no built-in file listing feature. You can only make HTTP requests to named resources. Construct knows which files are in your project, but it doesn't know if you uploaded any other resources after exporting your project, so it can't have a true "list files" features.

    It should be easy to work around though: either keep your own array of filenames somewhere, or what I'd recommend is having a top-level import for the folder. For example if you have the files:

    myfolder/module1.js

    myfolder/module2.js

    myfolder/module3.js

    Then add myfolder/main.js which imports those modules. You can use "export from" syntax to conveniently re-export everything without having to list all its exports, e.g.:

    export * from "./module1.js";
    export * from "./module2.js";
    export * from "./module3.js";
    

    Then if you import myfolder/main.js you get all the modules in that folder imported. If you need to add a new file, then you can add module4.js in "myfolder", and then add a new line in main.js to export it too.

  • I can't open the links - they say 403 forbidden. But your sample code uses premultiplied alpha incorrectly. If you want to draw with an opacity of 50%, then you need to set the color RGBA components to (0.5, 0.5, 0.5, 0.5) - because the RGB components need to be multiplied by the opacity when using premultiplied alpha. SetOpacity() only changes the alpha component, so will leave the RGB components of the current color unpremultiplied.

  • You do not have permission to view this post

  • Apologies, there was an outage of a few hours earlier. It should be up and running again now.

  • Use the instVars property. (See IInstance documentation)

  • Are you using any third-party addons? They may need updating. Construct's official features should not show this message if you export from r397 as we have already updated everything (so far as we are aware).

  • If your project does not load in the latest release, please send a copy of your project to supportggh@construct.net and we'll try to make sure that it can be opened. Assuming there is a problem with Construct itself and not a third-party plugin, then such issues are a high priority for us.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, it's too late - Construct loads all textures with premultiplied alpha, so to correctly render them, you must use premultiplied alpha rendering mode.

  • There's no limit on how many addons you can install.

  • I'd guess you've set the wrong color/alpha values either in the texture data or in the renderer current color. For example if you try to render non-premultiplied alpha in premultiplied mode, or vice versa, you'll get incorrect rendering results. It's hard to say any more than that from just reading this post.

  • There's not enough information here to be able to determine if it's a bug. If you think it is a problem with Construct please file an issue following all the guidelines, as we need all that information to be able to help.

  • Ashley This is not true. You can contact Google/Apple support and explain them the issue in proper technical terms.

    We already do that routinely. In fact IIRC I've already reported this issue to them. If something isn't getting enough attention, then the more customers who report it to Apple/Google, the higher a priority they will give it. And in this case you don't really need to understand how our engine works. You can just file an issue that says "my game is janky" and they should look in to it.

    You can either just complain on the forum and nothing much will happen, or try to do something about it, and it might be fixed. It's up to you! I'm actually trying to help by pointing people in the direction in which things are most likely to get sorted out. If you don't co-operate it makes it less likely to get sorted out.

  • The answer to the question "How do Construct web games use the Internet?" is "the same as any other web pages". It makes the same kind of network requests the same way as any other web content.

    If you want to learn more about how Construct's offline support works, see Offline games in Construct.

    Please contact supportqlr@construct.net for any queries about payments or subscriptions. We cannot help with these in the forum as it's public and these issues often involve sensitive information.

  • Have you actually tried? Do you have issue reports you've filed where you've had that response? I find Google are usually pretty good at responding to issues. If you haven't yet tried you should at least give it a go - as I said you can complain as much as you like to us but there's nothing much we can do about it, as it's scheduled by the browser engine, not Construct.