dimitriosfl's Recent Forum Activity

  • I see now that the 2 processes using 90MB RAM, after i left the game open (just open a lvl and stay idle) for about 30min it went up to 600MB RAM!

    So i guess that is my problem..

    I will try --single-process arg but i dont think it will make any change.

    Any other arg or some setting in NWjs or C2 to solve this problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the reply.

    I dont use arrays/dictionaries

    Collisions check per tick is 200-500 and object count is 300-400

    Also cpu usage (core2Quad) is about 50-55% and RAM (in task manager) about 90MB and then it drops to 5MB

  • In preview mode i can't recreate the issue, only after exporting with NWjs.

  • My game is already on steam (Xenia) and some people tell me they get stuck after some time.

    It starts ok, but later the framerate might be lower and if the player dies, he has an increasing delay until respawn and later if he dies more times, eventually he doesnt respawn at all. The game is not frozen (the player can access the pause menu and exit the level) but the character stays at the last frame of the "death" animation.

    I know its not about how powerful each system is, because i have a Core2Quad with an rx 230 and the game works perfect from start to finish.

    Someone has an i7 with an nvidia 980 and the character gets stuck on "death" animation at lvl9.

    Ive tried "if load fail" trigger (in case it was not loading last savegame) but nothing triggered.

    The game is about 1200 events, no physics, i use about 20 times "every tick" and 10 time "for each" (if that matters), i use local storage to save lvls and C2 save/load for checkpoints.

    Using C2 244 and NWjs 0.24

    PS In 48 hours, ive slept 3 hours....i must fix this... :/

  • Leaving package.nw and nw.exe without doing copy /b did not help.

    Also removing --in-process-gpu did not help either.

    Player stucks at the last frame of death animation, If i fire the player's powerup, it fires like he was alive but no movement or respawn.

    It has this issue after lvl5. Maybe on lvl9 or lvl6 or lvl11 and so on, but it never did it before lvl5.

    I dont know if that rings a bell..

  • Ive deleted the files from appdata\local and it worked but have problems.

    It just let the player play a bit more and it got stuck on the next level

  • I thought it might fix my overlay issue on steam (of course it was --in-process-gpu) and i updated to this version.

    Now many people have problems with the game getting stuck after some time and i think it might be nw.js v0.24

    how-do-i-know-if-quot-save-quot-and-quot-load-quot-worked_t195592

    Ive downloaded v0.23 but now not even preview in Construct 2 is working at all!

    Can we fix that?

    And also, if you help me fix it and then upload the downgrade on steam, would it work or people have to do some things manually?

  • Im afraid it might be a problem with nw.js 0.24

    Ive tried to downgrade to 0.23 but now not even preview is working.

    Also, my game is already on steam.

    If i manage to downgrade nw.js and export and update on steam, will it work for those who downloaded my game or it will not start like now (in preview mode)?

  • also there is a BIG framerate drop before this bug..

  • Ive used this tutorial

    Subscribe to Construct videos now

    to make the checkpoints in my game.

    But i have this problem.

    When my player dies, i play "death" animation and then -> when "death" animation finish->load "mysave"

    Most times works great but sometimes the player just stays there on the last frame of "death" animation.

    The game is NOT frozen because i can access my pause menu and exit the level

    On the last checkpoint, the animation changed so i thing save is completed.

    If it failed to load the save, is there something i can do?

    Could the problem be something else and not the save/load function of C2?

    I use the latest NW.js and C2.

  • You should put the --disable-dev-tools arg in the package,json and it will work. And if you do then you can remove that nwjs event you have there as well

    Thank you very much for your reply.

    The thing is that i have no idea how to do that. How do i put --disable-dev-tools arg in it?

    Also ive read that using arg my cause game crashes.

    Then i thought of using normal nw.js that doesnt have dev tools? Would that work?

    Yet again, how do i use that since its a zip file?

    I mean, using the C2 version of NW.js is easy since its an .exe file. But the normal version (without dev tools) is a .zip. Where do i put the files after i extract?

  • Yes, dev tools were popping on and i put when f12 is pressed>nwjs>request attention and now its not popping but also no screenshot

dimitriosfl's avatar

dimitriosfl

Member since 15 Jan, 2014

None one is following dimitriosfl yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies