Ashley's Recent Forum Activity

  • Remote Preview will download similar resources to an unminified export of your project. I'm not aware of any tool ever having been developed that could reverse even an unminified export back to a Construct project, but it is theoretically possible (although a lot of details would go missing, like comments in event sheets).

    If you export your project with advanced minification, it makes it far harder for anyone to reverse engineer it. I suspect (but don't know for sure) that it is infeasible to develop a tool to reverse advanced minified projects back to a complete Construct project - we've specifically designed it to make sure this approach scrambles all the key details of the project. I'd guess it's more convenient for pre-release testing to export an advanced minified copy of your project anyway, as the Remote Preview URL only works so long as you keep the Remote Preview window open, so your testers will have to load the project at the same time as you.

    I'd also point out NW.js is deprecated and is going to be removed from Construct in the next few months, although it will continue to be supported in the next LTS release to the end of 2026. It will be far easier to switch to the other export options before you release your project, since otherwise you risk losing things like Local Storage data. So I'd suggest switching over and using the File System plugin for local read/write functionality, as that will be supported indefinitely.

  • My advice is to add a JSON project file and load it with AJAX. Then you can use a dedicated editor for your JSON data without having to worry about how to properly escape JSON strings in expressions, which is quite fiddly.

  • You do not have permission to view this post

  • As ever, please file an issue for such reports so we can properly investigate them.

  • The Array object has a number of features intended for one-dimensional arrays, because it's a particularly useful case to have a list of items. Push, pop and shuffle are some of the features oriented around that usage, but they can also be applied to 2D and 3D arrays.

    If you want to shuffle a 2D array, you should be able to do that by shuffling twice, first on the X axis (shuffling every row), and then on the Y axis (shuffling every column).

  • You can use the 'Enable/disable collisions' action in the Physics behavior for collision filtering.

    Integrating a physics engine with Construct is an advanced topic with lots of complexity. If you are asking for a simple code example, you probably won't get one - it's going to be complicated. As others have advised, by far the easiest thing to do is just use the Physics behavior, which already uses the Box2D physics engine. It also uses a WebAssembly build of the original C++ code for maximum performance.

  • (Moved thread from Construct 2 forum to Construct 3 forum)

    For what it's worth - Construct updated to use the Google Play Billing library v7 in r394, which was released over a year ago in June 2024. All releases with a higher number include the update, including r397.6 LTS and r440.2 stable. Exporting your project with any of those versions will then use the v7 library.

  • It looks like possibly it's a Construct bug, but I'm afraid it's not possible to help from just that information. If you can file an issue following all the guidelines, we could then investigate.

  • That's a third-party plugin and not the responsibility of Scirra. You'll need to contact the addon developer.

  • See the Addon SDK documentation on Cordova plugin dependencies. C3IDE is a third-party tool so I cannot provide any advice about that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry - should have screenshot more - I only run those events on the click of a button which is only enabled once the AJAX request had completed.

    It still looks wrong though - using 'Set response binary' has no effect once the AJAX request has completed. You must use that before sending the request for it to load in to the Binary Data object automatically when the request completes.

  • I was just trying that to see what happened because:

    Also results in "EncodingError: Unable to decode audio data"

    The image also shows incorrect logic. The Binary Data object remains empty until the AJAX request is completed. That means you must send the request and wait for 'On completed' to trigger before the Binary Data object contains the downloaded data. Only then can you use the Binary Data GetURL expression with 'Add remote URL'. In the actions pictured, you obtain the Binary Data URL before the AJAX request has completed, so you are giving the Audio object a URL pointing to empty data, which it will then fail to decode audio from.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,762,741 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x125
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs