gabmusic's Forum Posts

  • TheRealDannyyy Thanks for calming me down.

    I'll check this Electron application out. Could you tell me more about it?

    Anyway, I need to keep this topic alive to see new suggestions. I can't just give up of nwjs.

  • Guys,

    do you think it's possible to publish a game on Steam in another format than nwjs, like HTML5 (assuming if I couldnt solve my problem)?

  • Asmodean Well, I even didnt know it was possible to preview on nwjs. I use Firefox, is there a problem? When I set the default preview browser to nwjs it opens a Firefox tab. Is that right?

    By the way, when I preview it on Firefox, it runs smooth and keeps smooth. I'm almost sure that it only gets slower on nwjs application.

  • TheRealDannyyy I'll reproduct the problem and send you.

    There's no console errors, only this warning:

    "[Deprecation] Custom cursors with size greater than 32x32 DIP intersecting native UI is deprecated and will be removed in M75, around June 2019. See chromestatus.com/features/5825971391299584 for more details."

    I dont think cursor size is the cause.

    I have no plugins installed. I'll try to install last stable version of C2 now.

  • It's really hard to say. Is the game still slow if you start the game over?

    No. When I restart, independently of which level, it starts smooth again.

    Do you use effects or particles, maybe only in this level?

    No. The levels (layouts) has the same mechanics.

    Do you get any errors in the console (F12) in NWjs?

    I'll check it out

  • Ok, results of installing newest version of nw.js

    No improvement

    The same thing happens: nw Cpu utilisation starts with ~19% and as long as I keep playing, it goes increasing. When it is ~48%, the game is VERY SLOW.

    Some notes:

    My processor is bad, it's 1.7 Ghz

    I've tested with other people. This phenomenum doenst happen with VERY STRONG processors, like >3.0 Ghz.

    This is a problem, most of computers are about 1.7 - 2.8 Ghz, and it happens with those people.

    I think there's nothing wrong with coding optimization, once it runs normally on web (the problem is with nw.js)

    Help me :'(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Asmodean The game is running with 0.37.0 (15th March 2019)

    I've installed 0.40.1 and I have exported the game. I'll test it now, but I dont think this short period means a huge difference.

  • Asmodean Is there a way to know what's the my current version?

  • Asmodean Thanks! :D

    I'll give some feedback soon.

  • TheRealDannyyy

    "C:\Program Files\NWjsForC2"

    Is this folder?

    How to update it?

  • TheRealDannyyy thanks man, how do I update nw.js?

    I didnt know it has versions.

  • ErekTHey man, have you solved your problem?

    I have the same issue. My game runs smooth on preview, but when I export it starts smooth and gets slower in function of time. It gets so slow that it becomes unplayable.

    I'm kind of desperate. Why does this happen and how to fix it?

    Ashley said that .nw should be faster, but I think he doesnt imagine all the nuances involving the application.

  • Asmodean I think it's not my case. I run the debug and observed somethings:

    The game run normally. It's getting clear for me that it only get slower on .nw application. Running on web doenst affect the fps.

    Other obs:

    my cpu ut. = average ~35%

    objects count = doesnt increase

    collision check = doenst increase

    I have no idea why on .nw it doenst run as it run on web. I'm kind of desperate because the game will be released on Steam 18th and I need to update it.

  • Asmodean Thanks for your response. I'll check it now, but I have a question. Are'nt the layouts independents? How could a object persist existing between layouts?

  • Hi! When I play my game it runs with full fps. When I get on lvl 3 or 4, the fps decreases. On lvl 6 or 7 it's almost unplayable, very very slow.

    If I restart the game and continue from where I stopped, it is fast again. It seems to be clear that the problem is due to sometime playing (my processor get really warm).

    I dont know why the layouts are always fast individually, but when I play then on a sequence, it gets very slow. The layout are independents!

    Which are the probable causes of this issue?

    If you want to see the game with your own eyes, play this demo: indiexpo.net/pt/games/josie-s-tank

    Help me, this is kind of urgent! Thanks!

    Tagged: