Ashley's Forum Posts

  • Press F12 to find error messages in the browser console. It logs this:

    Failed to load texture: DOMException: The source image could not be decoded.

    This suggests one of your image files is corrupt. Maybe something went wrong in the upload.

  • This question is different to Android Studio. There is no need for a Cordova plugin if you're just publishing to the web.

    JavaScript code can communicate between frames using postMessage.

  • I just tried it and it correctly imposed the free edition limit at 2 layers. I would guess you opened a project with 3 layers, which as I mentioned you can still do with the free edition, but editing is disabled.

  • The layers limit is 2 for all use in the free edition, even if you're logged in. This does not prevent you opening a project with 3 layers. If a project exceeds the free edition limits, you can do longer edit it. So it looks like you opened a project exceeding the free edition limits, possibly due to using 3 layers, and now the editor won't let you edit it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Trigger once" really means "this condition did not run last tick". So if it's at the end of a block of conditions, and the block becomes true, it only runs once: the first time it goes from false to true. Therefore it only makes sense to use it at the end of an event block, as the manual entry for it says:

    It must be the last condition in an event.

    It doesn't make sense to use it at the start of an event block. People seem to often misunderstand its purpose and how to use it and end up putting 'Trigger once' in all sorts of funny places. I guess it's quite an abstract notion.

    'Repeat' is much simpler: it does what it says on the tin, and repeats the remaining conditions, actions and sub-events as many times as you tell it to.

  • This is an old Construct 2 forum and you're using Construct 3. File issues here instead: https://github.com/Scirra/Construct-3-bugs

    Note you need to follow the bug report guidelines for it to be possible for anyone to help you.

    • Post link icon

    This is an old Construct 2 forum and you're using Construct 3. File issues here instead: https://github.com/Scirra/Construct-3-bugs

    Note you need to follow the bug report guidelines for it to be possible for anyone to help you.

  • Construct can directly save to a folder.

    I'm afraid there is not currently any automated way to export projects. It would be pretty complicated to do as well, since exporting uses quite a lot of information, it varies a lot between each export option, and it's not clear how you'd automate it from within a browser either.

  • Note that you should wrap around the image offset back to 0 rather than letting it increase forever, because on some GPUs, large image offsets cause the image rendering quality to degrade.

  • Save the project as a folder, and change properties.version in the .c3proj file.

  • AJAX only has one value for LastData. So I think the problem is if both requests finish exactly simultaneously (and it will complete immediately when loading a local file in preview mode), then there is only one value for LastData it can provide.

  • I've not heard of anyone else having problems like this. It's difficult to help though without more information. I'd suggest filing a bug following all the guidelines if you have trouble.

  • If you see an error message, press F12. Usually more details are logged to the browser console.

    You can send me a corrupt project to ashleynir@scirra.com and I'll take a look. However I can't guarantee results (it may be unrecoverable), and sometimes the cause is third-party addons, since if the developer makes a breaking change to an addon it can make some projects unopenable, and unfortunately we cannot support such cases since it's the responsibility of the addon developer.

  • Construct's build service does not do anything special to make any features like Mobile Ad work. It's designed to work the same as doing your own custom build. The most common problem with Mobile Ad is that it is misconfigured - double-check it is set up right as described in its manual entry.

  • What are the - oh, let's say - five most CPU-demanding features of C3?

    It's impossible to answer that question because it depends entirely on what your project does.

    For example 'For each' will be fast if it runs through 5 instances, and slow if it runs through 100,000 instances.

    Ordinary conditions already check every instance to pick the ones that meet the condition. So 'For each' with 5 instances could easily be faster than a simple standard 'Is visible' condition that has to check 100,000 instances.

    Some important points about performance are already documented in the Performance Tips manual entry, but those tend to be things beginners do because they don't understand how much work things take. The key is regular testing to catch anything particularly slow that was accidentally introduced, and guiding your changes solely by actual measurements.