Headbang Games's Recent Forum Activity

  • I hear ya.

    You can try asking in the forum, maybe someone can help you with the conversion. I guess some users already went through the process.

    Since it's just one action and no external scripts or any other complications, it should be a quick task.

    And sure also post it as a suggestion, it seems like a fairly reasonable request and it doesn't cost you anything :)

    Oh and I don't think you should worry about future changes to the video plugin, the playbackrate is a standard html5 media property and I doubt that's going to change.

  • As far as I know and I might be wrong, but scripting only lets you access features that were implement in the original plugin/behavior and even then not all are accessible, Scirra are adding support for more and more access all the time.

    You would need to create a behavior that will expand the video plugin

    Then you can probably add scripting access to it too.

    Honestly I haven't created any C3 plugins or behaviors yet (only C2), so I can't guide you on how to do it.

    This is the behavior I created that adds the playbackrate action in C2:

    http://headbangames.com/hb_video_extras.zip

    I know that there is a plugin convertor, maybe you can check it out.

  • I cant tell exactly what the issue is without seeing the events, but my guess is you have 2 different events

    speed > 0 -> play walk

    then below it somewhere

    speed > 0 & carrying object -> play carry

    in this case both will be true, so it will switch to the walk, then switch to the carry every tick, which will look like it's playing just the first frame.

    If that's the case, you just need to use sub events, like so:

    speed > 0

    (sub)carrying object -> play carry

    else -> play walk

  • Headbang Games I have not had this issue with NWjs, is it for a particular build? win64 win32? I only use win64.

    What build of NWjs are you using, I don't remember when exactly it broke, but for v55 it's necessary.

    This only regards C2, with C3 there are no issues.

  • > Has there been any luck with the fullscreen/ close function?

    > it seems with each update to C3 it breaks further and further.

    > I think i am going mad with these bugs lol

    Still investigating: github.com/nwjs/nw.js/issues/7542

    TheRealDannyyy

    I have a work around for the close issue, if you want to add it to your list.

    Use the action - Browser -> Execute Javascript

    And run this:

    "var gui = require('nw.gui');

    var win = gui.Window.get();

    win.close();"

  • Here is the full list of all the properties:

    w3schools.com/tags/ref_av_dom.asp

  • I added it as a behavior once in C2, never tried it on C3 though I don't think there will be an issue with it.

    Basically the video plugin is an html5 video object, so every property should be accessible, even if not mapped by the plugin.

    For speed use this.inst.video.playbackRate

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley anything?

  • Memory usage is purely frameCount * frameResolution * rgba

    So to use less memory you got to reduce either the frame count or the resolution.

    It's best to render your image source files at the lowest resolution possible, find that sweat spot between details and size.

    Basically C3 loads images by layout, all object on that layout are loaded into memory (all animations and all frames).

    So if you have animations/frames that you're not using in a specific layout, it will be best to split those into different objects.

    Of course memory usage is also audio files and movie files, you'll need to identify where the bottleneck is.

  • Hi everyone,

    I want to add brightness and possibly contrast controls to my game.

    I was thinking instead of adding webgl effects to all the layout, I'll just add the css filter on the canvas or body (filter: brightness(value);).

    Could this potentially cause any issues with C3 rendering?

    Do you know if there are any CPU/GPU differences between using the css filter or the webgl effect?

    Ashley Any insight?

    Tagged:

  • Yeah it was a bit of a headache :)

    Though I just managed to fix the issue!

    I'm not sure if this will be valid for all other cases, but for me it worked.

    I tried running the previous NWjs version (57.1) and it worked, then I went

    back to v58 and it worked too, strangest things...

    Probably running a different version does some kind of extra cleanup.

  • Hi everyone,

    I'm having a similar issue and I was wondering if anyone have any ideas or suggestions.

    I did a clean windows recovery the other day (clean all windows system files).

    Everything works much better, faster, loading C3, loading projects, previewing...

    But whenever I try to use the debugger NWjs crashes (on all projects, even blank ones).

    I removed the Construct3 directory from the local user appData directory.

    Tried again and it worked!

    Now whenever I try to install any 3rd party plugin, such as the official greenworks, the problem returns.

    What is special about installed plugin that can cause NWjs to crash?

    Ashley I know you're not all for using NWjs, but I was wondering if you might have some insight?

    EDIT: So it's the strangest thing, when removing the construct3 directory and relaunching, debugger works fine, but if I uninstall the plugin and restart C3, it still crashes, with no 3rd party plugins installed.

    It seems like the installation process changes something that breaks it.

    EDIT2: Well... it seems it's not related to the plugins at all, it happens when you relaunch C3 the second time, first time works fine (after clearing the appData directory).

Headbang Games's avatar

Headbang Games

Member since 5 Dec, 2012

Twitter
Headbang Games has 1 followers

Connect with Headbang Games

Trophy Case

  • 12-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
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • 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

21/44
How to earn trophies