jdforce's Recent Forum Activity

  • What seems to work is to use an older nw.js release. The latest is 50.x and with it, the app crashes. I suggest test with a previous version in the exporter. I also exported to html and packed manually with releases downloaded from nw.js websites. Is a bit of more work, probably unneeded.

  • Is probably not a Construct 3 issue itself, but anyway, in a new MacBook Air M1 (Big Sur) an exported desktop app does not even start. The long error message includes a rosetta error, so Intel code is not translating to M1 at the date of this writing.

    Is there any alternative that someone knows other than compiling some web view in Xcode?

    I haven't tried but guess that Electron is probably in the same state as nw.js.

  • I am developing an Electron application, so I export my game to HTML5 (not NWjs) but the "exported games won't work.." appear every time.

    With NWjs I don't find some features I need, that are straight away in Electron.

    In C2 it was easier just to remove the script, but here I find it more complicated, specially If the js output is minified.

    Is there a workaround for this?

  • Is it possible to pass command line parameters to a NWJS compiled app?

    Just for weekend fun I compiled an app I have working as HTML5 website, but don't find how to pass the URL parameters, like myapp.com/index.html?customer=12345.

    Am actively searching but so far I've not found anything on the subject.

  • Thanks, it´s done now.

  • San Ki Kwong, Can you describe better how to install?

    I copied the files into the construct2 folder but they don't appear in the ide.

    With construct2 closed, also tried to drag each file into the construct executable icon. Then Construct2 opens and it gives an error.

    Do I have to drag the folder or individual files, and where to drop them ?

    Thanks,

    JD

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great, thanks, it works perfectly.

  • Am having a problem with a short audio loop (helicopter sound). The project is in html5 website and is minimal.

    The audio file is around 5 seconds and 35kb (ogg and m4a). In Construct2 editor it sounds great, but exported to html5, on some browsers and computers the helicopter sound stops and makes a gap between 50 - 100 milliseconds at the audio file end. After the silent gap, it starts the loop again.

    Have tested on PC and Mac, from a live website and from local wamp/xampp server. Safari seems to be where the gap is larger. For a helicopter to feel like an aircraft, the sound should loop without gaps.

    The app has a single layout, one (10 frame) animated sprite, no other graphic. The only action it has is play sound on the layout load completed event.

    Could be a bug or there is a guru technique am not following? (maybe some buffer setting or so)

  • Jayderyu, just don´t bet on it.

    Since I remember, I just removed the warning script from index.html and they worked locally without hassle in any browser, and also on my html5 exe wrapper. I asked here just because I thought it was documented somewhere and assumed I missed it.

    If it was an undocumented or unintentional feature, then probably no one noticed it other than me. Yesterday I installed the latest version and I noted the change.

    Seems I will have to roll back to that older version.

  • Thanks, actually they work with wamp or IIS as localhost, but my design is without webserver, wrapped into an executable.

  • Because of the development am doing, I used to just remove the warning, and could run the games just by opening them in a local browser.

    It seems to be totally forbidden lately. Is it a jquery restriction or so?

    I need them to run locally for a development with an embedded browser from a visual studio application, sort of nodejs but with my own functionality.

    Do I need to go back on a previous version of C2?

  • Can I set the background transparent? I mean, the whole layout background.

    I am trying to make the whole project transparent instead of the white color that appears behind everything in the layout. I know it is a canvas variation.

    The goal is to load a page and assign a picture <body> background as in regular html, and when the game loads, I want it to be like a layer above the page's background.

    A variation of this request would be to set the background to some color and then add alpha, but I have not found any documentation on it.

    JD

jdforce's avatar

jdforce

Member since 6 Dec, 2011

None one is following jdforce yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies