NW.js v0.12.0 (Chromium 41) 5th March, Discussion

  • This jankyness issue is bringing me to the point of madness. The game starts almost without fault to jag harder and harder the longer the playsession. I'm to submit Klang to IGF this weekend, and I know it stands no real chance in the technical department due to this issue. I'm just hoping the avarage judge quits playing out of time constraints before the jaggyness kicks in. IT REALLY SHOULDN'T BE THIS WAY. Like someone else mentioned, I'm often daydreaming what it would be like to work in GM instead...

    I also see there hasn't been a new node webkit since march? When's the new edition with chromium 43+ coming out?

    I'm getting desperate here... This jaggyness issue and the ridicilous memory consumption of the engine's making me fear for the game's chance on the market.

    You suffer stutter in NW 10.5?

  • I'm getting desperate here... This jaggyness issue and the ridicilous memory consumption of the engine's making me fear for the game's chance on the market.

    Sorry to hear that. It's a spectacular-looking game. Have you tried sending the project to Ashley and let him look at it? It sounds like it could be some kind of memory leak.

  • This jankyness issue is bringing me to the point of madness. The game starts almost without fault to jag harder and harder the longer the playsession. I'm to submit Klang to IGF this weekend, and I know it stands no real chance in the technical department due to this issue. I'm just hoping the avarage judge quits playing out of time constraints before the jaggyness kicks in. IT REALLY SHOULDN'T BE THIS WAY. Like someone else mentioned, I'm often daydreaming what it would be like to work in GM instead...

    I also see there hasn't been a new node webkit since march? When's the new edition with chromium 43+ coming out?

    I'm getting desperate here... This jaggyness issue and the ridicilous memory consumption of the engine's making me fear for the game's chance on the market.

    Your game would play really well on console...

    Can i ask if you're using Spriter for animations?

  • Anyone tried Electron from github as an alternative to NW.js?

    Would be interesting to see a real world scenario with a game like Klang to compare the two.

    http://electron.atom.io/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > This jankyness issue is bringing me to the point of madness. The game starts almost without fault to jag harder and harder the longer the playsession. I'm to submit Klang to IGF this weekend, and I know it stands no real chance in the technical department due to this issue. I'm just hoping the avarage judge quits playing out of time constraints before the jaggyness kicks in. IT REALLY SHOULDN'T BE THIS WAY. Like someone else mentioned, I'm often daydreaming what it would be like to work in GM instead...

    >

    > I also see there hasn't been a new node webkit since march? When's the new edition with chromium 43+ coming out?

    >

    > I'm getting desperate here... This jaggyness issue and the ridicilous memory consumption of the engine's making me fear for the game's chance on the market.

    >

    You suffer stutter in NW 10.5?

    I tried exporting a build with it. The jankyness seemed gone, but back was the horrible memory management. The memory use grew bigger and bigger until it eventually crashed (At worst the collective memory use between all the processes was 4gb, LIKE WTF). At least something got better with the latest editions.

    Gianmichele I will try it. Thanks for the tip

  • Gianmichele The documentation makes me none the wiser. Even video tutorials seems to require lots of programming knowledge. Is there any construct 2 friendly way to implement this?

    ErekT I've reached out to him several times throughout development. I've tried to look at it from every angle, and it keeps coming back to that the jank is the product of something out of my control. The only system expression or object, or anything else in the layouts which doesn't get reset on a very regular basis is the "time" system expression. Through exploiting time scale I tried cranking it up to a value equalavent of me playing the game for something like 5 hours straight. No jank. Also the fact that the jank stopped when I went back to 10.5 doesn't help the case that it's somehow my fault. When I make an empty canvas and boot up the game, something is seriously wrong when the memory use is 1.5 gb.

    I really wish I was in control over the performance of my own game...

    tomsstudio Won't matter if it can't run on the thing. No I don't use spriter. If you look closely at the animations in the trailer you'll see how the characters goes inwards and outwards, sometimes even rotating 360 degress inwards. One can't practically achieve this effect in spine or spriter due to the fact that you're only animating in 2 axis. Since my goal was to achieve super dynamic looking animations, skeleton based animation tools simply doesn't do the job.

  • anyone tried replacing nw's DLL's with version 12.3? improvements?

  • saiyadjin Yes I just tried and it works practically the same. No improvements.

  • I tried exporting a build with it. The jankyness seemed gone, but back was the horrible memory management. The memory use grew bigger and bigger until it eventually crashed (At worst the collective memory use between all the processes was 4gb, LIKE WTF). At least something got better with the latest editions.

    I think we discussed this awhile ago, it's probably due to your game having so much music/sounds and the lack of "unload" action to remove sounds from memory.

    Since your game is about music/sounds, this is the one case where C2 needs to have an Unload option to go along with the Preload action, to allow developers more control.

  • Tinimations To make sure it's your loaded sound effects --which probably effect GB-- could you test with lower quality sfx? (sounds that are loaded into the Sounds folder)

    What about streaming some sfx (importing into the Music folder) is the response just too late?

  • NW.js v0.13.0 went to alpha 4 today and is now updated to Chromium 45! I'm really eager to test it when Ashley will adapt it to work with C2 (as it doesn't, since something changed in 0.13 and broke compatibility with C2).

    https://github.com/nwjs/nw.js

  • "v0.13.0-alpha4: (Jun 23, 2015..." - how is that today exaclty?

  • "v0.13.0-alpha4: (Jun 23, 2015..." - how is that today exaclty?

    alpha 4 (which updates 0.13 to chromium 45) was released today yes. That is just the time alpha 0 was release.

  • v0.13.0-alpha4 not work here

  • & jobel I tried deleting all audio in the entire game. It only makes 2-300mb of difference. The game still takes 2gb of ram at almost any given time. I get the impression that the browser's running the game loads in every asset in the entire game on startup. It's the only plausable explanation I can think of in regards to the memory use. An empty canvas layout takes about 1.5 gb of ram...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)