Ashley's Forum Posts

  • The project has no main script set. You need to select main.js in the Project Bar, and in the Properties Bar set its purpose to 'Main script'. Otherwise Construct won't load any script.

  • What you're asking about is basically an implementation detail of how event sheets are saved to disk. Knowing more about that won't help you achieve your stated goals. For example if you know the ID for some specific action in the event system, that has no correlation to the equivalent in JavaScript or TypeScript coding. It won't help you, and may actually hinder you, with progressing on to coding - instead I would recommend our Learn JavaScript in Construct tutorial series.

    Further these IDs are just how Construct saves things to disk, and don't actually tell you anything about how the event system runs those event blocks. A better way to learn about that would be to inspect the documentation and make some exploration projects that test how Construct actually runs various combinations of event blocks.

    So I'm afraid I don't think it would actually help you to answer your question!

  • I will try to take a look at some point, but I have to say that in general, commercially supporting a product used by thousands of people over several years using 700+ lines of complicated code from a random person on the Internet often proves to be a nightmare, and our other experiments have run in to other bugs and limitations (like gamepad input not working) which I think would be a likely outcome here. It would probably work out a lot better if there was either support from Valve for WebView2, or better official support for render-to-texture for WebView2 (as this looks more of a hacky workaround).

  • You can just use the Gamepad API directly. This isn't yet supported with worker mode, but that defaults to off when using code anyway.

  • See our new guide on persisting browser storage.

  • normally a text adventure will be translated to many languages and right now it doesn't allow to be edited outside construct, reconstructing one by one by hand each dialogue is tedious on big storylines.

    You definitely shouldn't make a flowchart per language. Just have one flowchart for all languages, and instead of putting the actual text in the flowchart, just put the key to look up in the Internationalization object.

    Is that what you wanted the save/load JSON feature for? If so you shouldn't need it after all, as using one flowchart for all languages is a better solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's difficult to help unless you share a copy of your project. I could never have possibly guessed the previous problem until you shared your project file.

  • sgilliam30 - can you file an issue on our tracker about that? I will follow up there.

  • Why do you need this? It sounds like the kind of question which is better answered by changing your workflow so you don't need the answer to this question.

  • I just checked and Remote Preview is working fine for me. It's difficult to help without more information. Try pressing F12 and see if a more detailed error message is in the browser console.

  • The Multiplayer plugin does not do leaderboards. It allows players to send data to each other over the Internet, but it does not permanently remember anything, so it cannot be used to remember things like hi-scores.

  • This thread is about the mobile app build service which handles Android and iOS exports. It is not involved with Windows WebView2 exports.

    If you believe you have run in to a problem with Construct please file an issue following all the guidelines, as we need all that information to be able to help.

  • Just as mentioned above, the possibility to load the entire flowchart, and to save it. So it will allow to read the flowchart as a file, like an array and json files, this helps on Dialogue oriented projects to be able to fix/translate/edit long chains of dialogues.

    I'm still not sure what you mean. At runtime there are two kinds of data for flowcharts: the model (which nodes you have and which they connect to), and the state (e.g. the current node). Do you mean one, the other, or both? Do you want some kind of tool to export a flowchart from the editor and then load that at runtime? Or do you want to load external data in to a flowchart in the editor? It's not clear what exactly you are saving and where, and how you want to load it as well.

    Communication is hard and we have this problem with most feature requests. It is surprisingly hard to figure out what people actually mean when they ask for something more or less in passing. To be clear it's helpful to describe things in detail, with step-by-step workflows, screenshot mockups, etc.

  • OK, this does actually look like a bug in Construct, but the main issue seems to be it's a strange project configuration. Usually if you want to code with TypeScript inside Construct, you'd have just .ts files. But you have .js files in the project too. Normally you'd use one of two workflows for TypeScript:

    1. Have just .ts files in your project, and let Construct automatically compile those to JavaScript
    2. Have just .js files in your project, and edit .ts files with an external editor like VS Code that compiles to the .js files used in the project

    So how come you have both .ts and .js files? Are you expecting Construct to compile .ts files and overwrite the .js files? In that case there's no point having .js files in the project itself, hence the first workflow.

    I'll see if the bug can be fixed for the next release cycle (we're close to a stable release at the moment and this doesn't seem like an essential fix) - in the mean time you can work around this by just deleting the .js files from the project.

  • Update 10:47 BST: Work on the build server has concluded earlier than planned, so the build service should resume normal service from now on. If anyone notices any problems with the build server that only started today, please let us know. We will continue to monitor the build service to check its long-term reliability. Thank you for your patience.