ZeldaVerde's Recent Forum Activity

  • It was the extensions. Thanks as always Ashley and sorry for bothering you with such a rookie mistake.

  • While using the script as demonstrated in the example given on the Audio scripting reference page, I get this:

    What am I doing wrong?

    Thanks in advance.

    Tagged:

  • Oh, so now they work just like event sheets do, which I didn't realize. So sorry for that and thank you so much as always.

    Edit: Now that I think of it, I think this was because of the way I replaced the main script when creating the new project. After setting the main script, we are back to the same error that started this thread. So no, the "weird typescript setup" wasn't the problem.

  • Oh ye, makes sense. Thanks.

  • It is exactly the same error, but here you go: drive.google.com/file/d/1b-xocb2KfHf4UnULT8djQ7MeogYRCdWQ/view

    Do you also get the same error on your end? It seems like something related to my browser to me, idk.

  • So, I've created a new project. It won't give me errors anymore but now runOnStartup() just isn't called... What?

    Edit: It all appears to still come down to that "Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR".

  • Am I dumb or is there no javascript gamepad plugin implementation done yet?

  • Thanks for the reply again Ashley. Yes, I was expecting construct to overwrite the js files and I had no idea I could just delete them from the project and have it compile them somewhere hidden. I was messing with the new built-in editor and trying to edit ts from construct, but I mainly use vs code and now can't figure out how to configure it to work with vs code handling the ts again.

  • My project is really minimal since I've just created it. Here it goes:

    drive.google.com/file/d/1b-xocb2KfHf4UnULT8djQ7MeogYRCdWQ/view

    I'm pretty sure the code is alright, and I'm so sorry for wasting your time if the problem is as simple as such an oversight from me.

  • Thank you for the response Ashley, but it did not work.

    To be clear, I am able to preview other projects.

  • I've just created a new project and realized construct has a couple new options when right clicking the scripts folder, related to typescript. I suspect I'm misunderstanding them, because my main script will fail no matter what. I'm trying to use typescript, edited thru vs code (as I've been doing for a while). I'm getting this on the console:

    Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR

    sw.js:617 [SW-Preview] Up to date

    bootPreview.js:105 Registered service worker on preview.construct.net

    domSide.js:1 Error loading project main script: Error: main script did not run to completion

    at r._InitDOM (domSide.js:1:12370)

    at async r._Init (domSide.js:1:8594)

    _InitDOM domSide.js:1

    webgpuRenderer.js:1 The powerPreference option is currently ignored when calling requestAdapter() on Windows. See crbug.com/369219127

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I couldn't find how to get/set tilemap as/from json thru script, does anyone know how? I feel like either tilemap is missing some scripting features or the tilemap scripting documentation is missing some features. I also couldn't find how to use brushes, if that is possible.

    Tagged:

ZeldaVerde's avatar

ZeldaVerde

Member since 11 Nov, 2018

None one is following ZeldaVerde yet!

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • 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
  • Email Verified

Progress

11/44
How to earn trophies