Ashley's Forum Posts

  • "Mirror" just means negative width, and "Flip" just means negative height. So mirroring is just setting the width to -width. I think we added mirror/flip to Sprite as convenience actions, since it's common to use mirroring for platformers, but you can do it with any resizable object if you just set a negative size.

  • I'm afraid it's impossible to tell what the problem is from a post like this. This is why we have an issue tracker with guidelines about what information to provide - we need that information to identify what is happening, and fix the problem.

  • This is already supported - see the tutorial How to collaborate on Construct projects with GitHub.

  • I want to phase out the browser storage save option, because people keep clearing their browser storage, then asking where all their projects went. We have warnings in the editor itself specifically to advise people about that, but it still seems to be something people do by accident. So if local file/folder saves are supported, since that's a better option for local saves it hides the browser storage saves to avoid you accidentally wiping all your projects!

  • I don't take backwards incompatible changes lightly, but this is essential in order to support JavaScript Modules, which is a major improvement and modernisation for the scripting feature. It's also extremely complicated and results in awkward bugs to support both modes in the engine, so we want to only support one mode. The default SDK downloads are and have always been fully compatible with modules, and even if you bring in your own external scripts, so long as they have been written using strict mode - best practice since 2011 - they will be fine too. So it's only addons that bring in their own scripts written in pre-2011 "sloppy" mode, that also depend specifically on sloppy mode features, that have any issue. Hopefully that should not be too many. I'm also not really prepared to allow a small number of abandonware addons to prevent us making improvements that benefit all Construct users. This is another reminder that using third-party addons means your project is beholden to that developer for maintenance and compatibility, so it's best to check they are actively maintaining it, especially for important projects.

  • As noted in the issue, it's by design, since Construct is detecting your project as compatible with modules and switching it over automatically.

    The option will be removed soon anyway - it only exists for a backwards-compatibility grace period for addon developers to update their addons if they need to change anything, and it's been around 4 months now, which I think is long enough for anyone who's going to publish an update to do so. If you still need it for a third-party addon, you should get in touch with the addon developer ASAP, as the option is going away.

  • Classic script mode is already deprecated. We announced the changes in November so there's already been several months for addon developers to respond and update their addons accordingly. Consequently I was planning to remove the option shortly after the next stable release.

  • Construct uses 0.5 as the pressed threshold. So testing button > 0.5 with 'Trigger once' is equivalent to what Construct does for detecting a button press.

    I don't think 0 is a sensible threshold as noise in the reading may produce small nonzero values. I thought 0.5 made sense as being the half-way point. You can try and hack damaged controllers to work, but if it's so damaged the button doesn't read anything at all, you can't fix that in software... so there's a limit to what you can do about this.

  • For the record, it's a bug in Chrome.

  • That option is deprecated and will soon be removed. If you're using it, you need to contact the addon developer for an update. The only reason the option exists is to buy you a little more time to get the addon update before the option is removed.

  • It's a documented method, but not all addons support meshes. The method is only valid for objects that support meshes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The error is telling you the object does not support that method, so you can't use it.

    Do not change the internal details of the engine. You will just cause crashes and maintenance problems. Our SDK documentation also explicitly states we won't support you if you do that.

  • Assuming your server really is up and running, connecting to it from Construct will count as a cross-domain request, which needs some extra configuration. It's covered in the AJAX manual entry under Making AJAX requests cross-domain or in preview.

  • The language problems don't matter - Construct will just switch to a fallback string.

    The real problem is at the end:

    Exception opening: Error: missing action id 'load-json'

    This means the project is using an action that is missing in one of the addons it uses. As I said all official Construct content is fully backwards compatible, so I think my guess was right: you're using a third-party addon, and they either released an update that broke your project, or you installed the wrong version of the addon that does not have that action yet.

  • If Construct gives you a .zip file, you did not build an APK. You must have chosen a different option, like a Cordova project (which is for building an app yourself). If you rename that .zip to .apk, it's not an Android app and so it will be invalid. Make sure you choose to build an APK when exporting. You will then be able to download a file already named .apk.

    See the tutorial Building Android apps (APKs) in Construct 3 for more help.