TheRealDannyyy's Recent Forum Activity

  • Gamepad Rumble is now live!

    Both Chrome Stable M68 and NW.js Stable v0.32.0 fully support gamepad rumble without any additional flags by default. Other browsers will hopefully catch up soon but for the time being, this is more than enough for serious desktop games made with C2/C3.

    There are currently no signals from Scirra towards adding official support for this feature but armaldio has made a paid addon which you can test and buy below:

    Cheers!

  • Hello, I would like to make a new way to protect resources.

    This way would be to put a password to the package.nw file.

    This file is a zip file.

    I would put a password to this zip file using winrar.

    With winrar you can create compressed files with a password.

    Then I tell NWjs that he should use this password to unzip the file.

    This is possible? Can be done?.

    There is honestly no point in doing this and I'd generally recommend working and finishing up your game instead of using time on this. HERE is an issue regarding this from the past about package.nw/zip password protection.

    There might be complicated workarounds with NPM modules but I'm not familiar with both NPM and JS to provide something useful, putting aside the fact that your game could run slower or take forever to start up with something like this implemented.

    One thing you could do is "hide" it inside the exe file (How To: Secure/Hide Your Game Assets), which at least would make it more difficult for people that don't know how to reverse the process to access it.

    Again speaking from personal experience, don't waste your time on this and finish your game instead. If someone really wants to crack your game, that individual will manage to do it even if you use super expensive security systems like Denuvo.

  • This should be alright now, thanks again for increasing the char limit Tom! No new workarounds or features, just some new external bugreports which can be found in the "NW.js Archive".

    Cheers!

  • > > I use ogv files in my project and it also happens.

    > Ok that's nothing then. Weird thing is that I couldn't reproduce or at least notice this when using shorter WebM files. Perhaps the issue only occurs at a certain file size or video length.

    >

    > I'll keep looking for more convenient workarounds while the issue is still active.

    >

    > Headbang Games Could you do me a favor again and try to reproduce this issue with an exported project using Construct 2 r256 or earlier? I have the Steam version (no downgrade possible) and can't export with NWjs in the free non-Steam version.

    I don't think it's file size related, I have a 6 seconds 7mb video file that causes the same issue.

    I also don't think it's a C2 issue, since on previous versions of NWjs it works fine.

    I tried r256 and r253 (both before video autoplay fixes), still happens on both of them.

    Thanks, just want to make 100% sure this isn't somehow caused by C2.

  • I use ogv files in my project and it also happens.

    Ok that's nothing then. Weird thing is that I couldn't reproduce or at least notice this when using shorter WebM files. Perhaps the issue only occurs at a certain file size or video length.

    I'll keep looking for more convenient workarounds while the issue is still active.

    Headbang Games Could you do me a favor again and try to reproduce this issue with an exported project using Construct 2 r256 or earlier? I have the Steam version (no downgrade possible) and can't export with NWjs in the free non-Steam version.

  • This might be nothing but what format are you using in your webm file? WebM VB8 or WebM VB9 and could you try encoding and using the other type please.

    There are several online converters but I'm sure you'll figure it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > > I'm not sure if it helps, but I made a test with Pode HTML Div plugin.

    > >

    > > I added a video tag with the same video file, made it preload and let it play and it doesn't hang, memory and cpu usage are normal.

    > >

    > > It's a hack-y work around, but it's better than having your game crash, at least until this issue is resolved.

    > >

    > > here's the example:

    > > badpadgame.com/videodiv.capx

    > >

    > > This is the DIV plugin:

    > > construct.net/forum/extending-construct-2/addons-29/plugins-pode-html-pack-46896

    >

    > I guess it's good to know that there is a workaround for people that have to use newer, affected versions of NW.js but I'd still recommend using older versions instead of doing this.

    I'm a little hesitant about rolling back NW.js, can't it cause issues with storage files structure changes or other incompatibilities?

    Yes, that's not really an option for you so the workaround is currently the only choice you can make besides waiting for an official fix.

  • Tom If you haven't seen this already, I'd really appreciate if you could look into this soon.

    If this isn't some sort of new-forum bug, I guess that it's just one variable that needs to be cranked up to 1 million or something like that.

    Cheers!

  • I'm not sure if it helps, but I made a test with Pode HTML Div plugin.

    I added a video tag with the same video file, made it preload and let it play and it doesn't hang, memory and cpu usage are normal.

    It's a hack-y work around, but it's better than having your game crash, at least until this issue is resolved.

    here's the example:

    http://badpadgame.com/videodiv.capx

    This is the DIV plugin:

    https://www.construct.net/il/forum/extending-construct-2/addons-29/plugins-pode-html-pack-46896

    I guess it's good to know that there is a workaround for people that have to use newer, affected versions of NW.js but I'd still recommend using older versions instead of doing this.

  • Tom It seems like there is a new char limit restricting me from completing my post. I would like to request the removal of this newly introduced feature so that I can fully update this topic. (Github Issue)

  • Thanks man, I'm following the issue on git.

    I don't think that manually triggering a video with a button is relevant, even if it works. nobody wants to click a button to see a cut-scene ;)

    Was just for testing if autoplay is at fault (too lazy to test it myself :b). Anyway let's see how this one goes. Will post updates in here if it gets a fix or any thing else happens.

  • Since I don't want to mess with the main post yet and wait for the forum update, here are the latest known NWjs issues:

    Custom cursor CSS not preserved in window (Github Link)

    NW.js v0.30+ WebM Playback Causes Apphang/Appcrash (Github Link)

TheRealDannyyy's avatar

TheRealDannyyy

Member since 30 Sep, 2014

Twitter
TheRealDannyyy has 18 followers

Trophy Case

  • 10-Year Club
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies

Blogs