Ashley's Forum Posts

  • "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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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 ashleyibj@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.

  • It's already supported by the official Touch plugin. As documented in the manual:

    Alpha is the compass direction in degrees.

  • It looks like a bug in the site. We should fix it soon. In the mean time just refresh the page and the content will load.

  • Well now you have two 'On start of layout' triggers, one which sets the variable, and another that gets it. It works if it does set then get, but it doesn't work if you get then set. So you've created a dependency on the order on which Construct runs 'On start of layout' triggers. It's best to avoid depending on internal details like that. If you initialise everything in one 'On start of layout' trigger, then you have clear control on the order things happen.

  • You shouldn't need different worlds to do that. The existing features should allow you to do all that already, with collision disabling and per-instance forces.