TheRealDannyyy's Forum Posts

  • I've looked into this and it looks like a memory leak caused by the NW.js workaround for the autoplay policy that got implemented in Chromium M66. Here is my report regarding this issue: Github Link

    You guys can feel free to test if playing back the WebM manually with a button press is causing the same issue. (Disable autoplay in plugin properties before testing.)

    Cheers!

  • TheRealDannyyy

    I can confirm this is also happening in the latest 31.5 version of NWjs, I don't see they have any opened issues about this, can we post this bug with a construct exported example?

    BTW, it looks like a memory leak, the process jumps by 1GB every second, till it can't take any more.

    Randomly checked the bugs section to find out that I didn't receive a notification, thx new forums!

    I will look into this when I got the time and create a bug report, if Ashley doesn't do it before me of course. Could one of you guys please confirm that this bug doesn't occur in NWjs v0.28.0?

  • By using a zip. It took a few days solely to reverse engineer the zip format and figure out how to hack our zip library to put the right flags in the right places.

    I guess this means that it's still necessary to upload to Steam from a Mac or does Steam accept .zip files in their upload process?

    Also not sure about this but would you mind uploading the "hacked" part of the zip library you're using to Git if possible? (If it's not too deeply coded into C3 itself.)

    I wouldn't mind creating a PWA or something similar to provide an easy solution.

    Thanks for the response!

  • It's taking longer than expected as we're still waiting on Rackspace to create a new server for us to run the script on (I requested it around 4 days ago). Please be patient.

    Tom Not sure if the new porting attempt happened yet but besides the centered images and minor quirks like that, there seems to be a major issue with text that had been formatted with the old "color" and "size" properties.

    Those types or text either don't show up at all or are showing up extremely large. Would appreciate a fix in the next porting attempt.

  • The problem is Windows doesn't understand the necessary file permissions to ensure a Mac app is executable. So I'm not sure there's any way this is possible, without using a different container format like a zip which you never extract on Windows.

    I remember a while ago you said that this has been fixed in Construct 3. Now I know what you're thinking but I'm not asking for a backport but rather would like to ask, how did you manage to fix/workaround this issue?

    You probably know that I have a dedicated topic for NW.js workarounds and I wouldn't mind providing a custom application or whatever it takes in order to give C2 users an easy workaround for this issue.

    Again not complaining or trying to stir things up, just asking nicely if you could provide all the necessary information involved in the C3 workaround if possible.

  • > TheRealDannyyy no good news (yet).

    >

    > I posted this same topic as a Bug Report:

    >

    > In hindsight I should have started with that.

    TheRealDannyyy Hello, any news on it?

    Didn't really look into this any further. I couldn't reproduce this on my end so I guess some connections are simply not made for longer sessions.

    I don't know Javascript so I can't look into the plugin code either. Sorry.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AshleyChrome Beta 68 officially supports gamepad vibration without any flags. (Feel free to test it yourself: Link) This means that Chrome Stable 68 will officially support this feature as well.

    I would like to request an update to the gamepad plugin with vibration support just like the Xbox plugin in Construct Classic had.

    Requested ACE's:

    Actions:

    • Vibrate gamepad (gamepad index; motor index; strenght; duration; method)
    • Force stop vibration (gamepad index; motor index)

    Conditions (Optional):

    • Is gamepad vibrating?

    Expressions (Optional):

    • None

    *If this feature is going to be added, I'd be available for private testing. (therealdannyyy@gmail.com)

  • It should be enabled by default in Chromium 68 (waiting for Chrome Beta update to confirm this).

    If everything goes smoothly we should see support for this in Chrome Stable by the end of July.

    (If you want to test it out now, just install Chrome Canary, go to our testing website and you'll notice that it works by default. The dev behind it was nice enough to actually split that feature from the Gamepad Extensions Flag and create a separate Gamepad Vibration Flag, which is always enabled by default.)

  • I'm afraid it's not possible at the moment. Web pages can't directly access files on disk for security reasons, and currently there's no other API for web pages to register a file type association. The desktop build can do it if you manually associate it with .c3p files.

    Could an official C3 browser extension solve problems like these?

    I assume that those would have more permissions (e.g. local file access), since they require to be installed manually.

    (Also created this topic regarding browser extensions to workaround permission issues quite a while ago.)

  • Hi there, while this isn't a major update to the topic, I would like to make use of the reach that this topic has in order to inform everyone about a recent change introduced in Chrome M66: Chrome's new autoplay policy. Just as a heads up, the new policy doesn't seem to affect NW.js projects (tested using v0.30.0+).

    Like the use of outdated memes on the developer update website, this feature is a huge step backwards for the web in my opinion and already affects several projects from websites to games, please read this blogpost for more details. In order to hopefully get this sorted out as soon as possible, I would like to ask everyone to show support for the following issue regarding this created by Ashley himself. Below you will find the link, steps to support the issue and also the changelog for this minor topic update.

    Link: Allow audio to autoplay, but optionally mute output Chromium Issue

    How to support:

    • Sign in with your E-Mail

      (usually on the top-right)

    • Go to the mentioned issue
    • Click on the "Star" icon

      (usually on the top-left)

    • That's it, thanks for your support!

    Topic changlog:

    • <Updated> How To: Test Your Game On Higher Framerates Than 60FPS
    • <Other> Further compressed some images to reduce loading times
    • <Other> Prepared How-to... --autoplay-policy=no-user-gesture-required for future changes

    Cheers!

  • In my tests I found out that the selection tool could be at fault for several bugs including this one. (My Bug Report)

  • > There's an addon for mouse lock, maybe ask them to port it to C3.

    >

    Have done. I know your busy with C3 Runtime etc. But if there is any possibility of having a official plug in the future that would be very welcome. I may raise a c3 suggestion fwiw.

    Maybe it is time for me to learn some real programming and look into the addon sdk.

    how hard can it be ????

    (I can already hear all the real programmers chuckling in the background...)

    Armaldio's been busy with a lot of stuff recently, I will ask him about the progress of the rewritten plugin (with C3 support) again. Last time I checked, the new plugin had issues with Construct 3 on startup. We want a rewrite because we don't want to provide support for two completely different versions of the plugin.

    The Mouselock API is generally a pain to work with so I understand why Ashley wouldn't want to deal with it right now.

  • Hi TheRealDannyyy,

    I'm trying to release my first Construct 3 project, but I'm experiencing some trouble with the mac version.

    To sum it up : the "Run" command does not work on the Mac projector. My pdf embedded file does not open on mac, but it does on windows.

    ...

    Short reminder for everyone else, this issue has been reviewed by Ashley and the NW.js plugin received an update in order to fix/support cases like this.

    Get the new NW.js plugin by using Construct 2 R257 or Construct 3 R96 and all new releases after those.

    This thread is a life saver! I'm publishing my game to steam in 2.5 weeks and there are some things stated here I had no idea about! Like I had no clue you could access the chromium dev tools within my game.

    Thank you so much!

    Thanks for your feedback!

    Hello, as I could read somewhere, the user can access the global variables and can alter them.

    This is disastrous in my game (and in any game I think).

    To solve this, is it enough to hide the developer mode of NWjs ?.

    My game will be published using NWjs.

    If a hacker would gain access to Dev-tools, he could do way more than just edit global variables. While the Chromium-arg prevents direct access like pressing F12, Dev-tools are still available in the NW.js "SDK" build that Ashley ships. If you want to remove Dev-tools entirely, you could manually download and install "Normal" builds from NW.js IO.

    Generally speaking, since our assets (including runtime code) are always open for grabs using NW.js anyway, there is no point in investing a lot of time into security.

    You could try to use 3rd party global variable plugins or encryption/minification but if someone really wants to hack your game, that person will be able to hack it regardless of what types of security you're using (e.g. through hardware exploits).

  • This has been fixed quite a while ago: https://github.com/nwjs/nw.js/issues/6059

    Ashley feel free to close this one.

  • Problem Description

    Construct 2's eventsheet view gets bugged with some types of content inside global text and local text variables.

    I assume one of the chars that can be found inside the initial value parameter is causing this issue to happen.

    Attach a Capx

    Example Project Download

    Description of Capx

    Example shows 3 different types of this issue.

    Steps to Reproduce Bug

    • Open the attached example
    • Go to the eventsheet
    • Notice overlapping text

    Observed Result

    Expected Result

    The global text variables shouldn't have overlapping values.

    Operating System and Service Pack

    Win 7 SP1

    Construct 2 Version ID

    r258