vila4480's Recent Forum Activity

  • > I'm afraid this is not currently supported.

    Would it be possible via Javascript maybe? Thank you!

    I tried following my previous link's example, but I'm missing the bootstrap libraries required to run certain RTC functions, available at getbootstrap.com

    In other words, I don't think this would be possible at all. Thanks anyway.

  • I'm afraid this is not currently supported.

    Would it be possible via Javascript maybe? Thank you!

  • I'm not sure this helps, but it seems it is possible...

    tutorialspoint.com/webrtc/webrtc_voice_demo.htm

    Just no idea how to do it in-engine.

  • Hey guys, I'm having a hard time figuring out how to send microphone input via the multiplayer object.

    My intention is to create a rudimentary in-game voice chat.

    Is this possible at all?

    I wouldn't know where to start!

    Thanks,

    -ViLa4480

  • Thank you Ashley, it took me a while to find this option - it was hiding under the collapsed "EDITOR" section in project view. I didn't notice it was collapsed (was using the dark theme) and thus was having a hard time finding it.

    Thanks!

    -ViLa

  • Until someone comes up with an answer, I decided to go ahead and just move each and every item to the appropriate layer once the game starts.

  • Hey guys,

    Is there a way to disable WebGL in the editor?

    I'm working with lighting and I'm using the Multiply effect on a layer, which hides everything in my project while in the editor. It makes it impossible to see what I'm doing in the editor.

    Unfortunately we're not able to disable the effect while in the editor and enable it in real time when the game starts.

    I could move every asset to a new layer that has the Multiply effect when the game starts, but I was trying to keep it simple...-is there a way to disable webgl preview in the editor (like we had in C2)?

    Thanks in advance!

    -ViLa

    Tagged:

  • It looks like you are running Construct in Chrome browser. You need to use the Desktop App:

    https://www.construct.net/en/forum/construct-3/general-discussion-7/construct-nw-js-desktop-app-131317

    NWJS actions will not work in a browser.

    SOLVED!

    Thank you so much dop2000 - I honestly thought I had Construct's desktop app installed on my computer (it shows up as an app), but I didn't know that there was a specific NWjs version for this sort of thing.

    Thanks guys! :)

  • I doubt it has anything to do with CORS. Maybe NWJS has no access to the folder you are using. Try "My Documents" or something similar. Also, have you checked error messages in the console log?

    This very simple code works fine for me:

    This is what I'm getting... I have no idea what it means though...

    Thank you Ashley, I will try to learn a bit more on how to run a local webserver + C3.

    Unfortunately I'll be away from keyboard for this week, but I'll pick this up again once I come back.

    -Thanks guys I really appreciate your help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I doubt it has anything to do with CORS. Maybe NWJS has no access to the folder you are using. Try "My Documents" or something similar. Also, have you checked error messages in the console log?

    This very simple code works fine for me:

    Thank you dop200 That's very useful!

    I made a very similar example code and it doesn't work for me at all. I've tried using paths with no particular user access rights and no spaces in the path. I wonder if there's something wrong with my desktop app permissions then...

    I'll have to look into this in a few hours and I'll report back.

    Thank you dop2000 and Ashley!

  • vila4480 You can access files from a fixed location on your hard drive with NWJS.ReadFile() expression. You'll have to use the Desktop app to preview your project if you need to use NWJS features.

    Thank you for your reply dop2000 - I am indeed using the desktop app and NWjs.Readfile(), but I'm getting a non-disclosed access error while in preview. I've tried exporting (which takes a long time between versions) as NWjs and it does work - but the preview mode just doesn't seem to be able to access local files at all.

    Agreeing with Ashley, I'm thinking that would likely be a CORS issue, since the preview runs under "https://preview.construct.net" instead of localhost (like construct 2 used to run).

    So my question is how should I set it up so that I can access my local files in preview mode without having to run a private server with special CORS policies set.

    I'm sorry if it feels like I'm insisting on this topic, but so far I haven't seen any answers that solve the issue of working with local files in preview - and since this wasn't an issue in Construct 2, I'm having a hard time accepting that it isn't possible in Construct 3. There's got to be a way ..right?

  • Thank you for your reply - I understand what you're saying, but what about files on my hard disk? What would be the best way to access them without using embedded project files?

    How could I build an offline standalone NWjs game with savefiles on my local hard drive, that I can edit or share with my friends?

vila4480's avatar

vila4480

Member since 29 Jan, 2013

None one is following vila4480 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies