Tinimations's Recent Forum Activity

  • Just gonna share what I wrote in a different post here:

    the new NW.js finally works with Klang, and oh boy does it work as advertised! Way smoother performance, and areas I felt needed optimizing now runs butter smooth. Don't seem to notice any lagspikes after prolonged play.

    HOWEVER... I keep getting the occational 100ms (approx) lagspike consistently. I can only guess this is due to the more aggressive garbage collection? I really love the fact that the game now won't turn into a slideshow after playing for too long, but these lagspikes will ruin the player's sense of rhythm. It's crucial that I find a way around this, or that the garbage collection becomes more flexible.

    I'm curious if anyone knows what's usually the biggest offenders with gathering garbage for construct games? Does continiously creating and destroying objects matter for instance? If I know what to look out for I can maybe work around it myself.

    -----------------------------

    Did some more testing. This time on my laptop. The results were interesting to say the least.

    The first thing is that I couldn't get the game to boot choosing the nVidia GPU (630m) even with the latest driver installed. This used to work before on NW 12.

    Running the game on the intergrated card worked fine though. However the loading times was greatly increased. in-game videos wouldn't play properly etc. I noticed lagspikes even where I'm 100% certain there ain't any new items loading in. When I played long enough though things started to change. When playing for long enough for the stutter to kick in on NW 12, I now experienced that everything ran smooth, way less lagspikes, and no loading issues. The videos that previously didn't play properly now worked as intended etc.

  • jobel I don't measure it. It's a rough estimate. This is that kind of lagspike where everything stops, even the sound.

    That makes sense, though I do get spikes as well even when there's no new sound being loaded or played. Unless this loading is super delayed and slow, I don't think this really is the problem.

  • That's actually what I've been doin all this time. I would suffer from that issue from day one if I wasn't.

    Did some more testing. This time on my laptop. The results were interesting to say the least.

    The first thing is that I couldn't get the game to boot choosing the nVidia GPU (630m) even with the latest driver installed. This used to work before on NW 12.

    Running the game on the intergrated card worked fine though. However the loading times was greatly increased. in-game videos wouldn't play properly etc. I noticed lagspikes even where I'm 100% certain there ain't any new items loading in. When I played long enough though things started to change. When playing for long enough for the stutter to kick in on NW 12, I now experienced that everything ran smooth, way less lagspikes, and no loading issues. The videos that previously didn't play properly now worked as intended etc.

    I really hate not being in control or having any insight about what's going on behind the scenes while the game's running...

  • the new NW.js finally works with Klang, and oh boy does it work as advertised! Way smoother performance, and areas I felt needed optimizing now runs butter smooth. Don't seem to notice any lagspikes after prolonged play.

    HOWEVER... I keep getting the occational 100ms lagspike consistently. I can only guess this is due to the more aggressive garbage collection? I really love the fact that the game now won't turn into a slideshow after playing for too long, but these lagspikes will ruin the player's sense of rhythm. It's crucial that I find a way around this, or that the garbage collection becomes more flexible.

    I'm curious if anyone knows what's usually the biggest offenders with gathering garbage for construct games? Does continiously creating and destroying objects matter for instance? If I know what to look out for I can maybe work around it myself.

  • Construct 2 is great, but I would still not recommend it for bigger games (even if it has been proven to be able to make them), and for smaller games ignoring the performance you still have to add the size of the wrapper.

    This... If improving the workflow and user friendlyness towards bigger projects is not a priority for Construct 3, I can gurantee I'll be looking elsewhere for future projects.

  • I made some tests as well. I can't get Klang to boot, which uses Ajax. I only get the black screen.

    I got another game of mine to work just fine, NW.js plugin or not made no difference. However adding Ajax to this project prevents it from both booting in preview and and when exported. Pretty severe issue considering Ajax is one of my most crucial plugins for my game.

  • http://www.ign.com/videos/2015/11/23/kl ... ut-trailer Also got the trailer up. Feels more like an achievement for sure!

  • MelVin

    That's what we found right away, cannot export with NWjs object, game wont start, blackscreens.

    So anything that uses that object is a no-go until this bug is fixed. I'm writing a custom save/load using arrays & JSON write/read with NWjs file access, this goes into a set path, output into text files so that it may avoid future save issues. But we'll need the bugs fixed first with the current alpha5 and C2.

    I tried removing the NW object in my game, but I still got blackscreen. Not sure what's causing it. :/

  • Yes I do actually. I'm already hooked up with Microsoft, Sony, Nintendo and another android based console. I'm giving up on Wii U since it has no webGL support, I have a good feeling I'll be able to port to Xbone eventually without too much trouble. I still gotta do more research up towards PS4 to see wether it's viable or not. I might even have to port it to another engine altogether.

    When it comes to the game example. I didn't see a lot of smacktalking, hell the positive ratio was 98 %. When it comes to low sales however, I can see it. The impression I got was that this game's some sort of metroidvania with "ok" art direction and game feel. The use of colors was good, but the overall art design (especiall the characters) lacked appeal. It didn't intrigue me. However Kingdom has that "stop effect" needed for people to check it out. It makes sense to me why one did better than the other.

    While Klang is a platformer, the hook is much more rare than the avarage metroidvania. The positive feedback on the greenlight gives me hope that it has a shot to do well. https://steamcommunity.com/sharedfiles/ ... =399150347

    Though yes I definately want it out on consoles as well.

  • jobel Thanks! I just hope I can get the new NWjs to work soon. Struggle with that black screen on startup issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jobel Thanks! I just hope I can get the new NWjs to work soon. Struggle with that black screen on startup issue.

  • C-7 Yeah I mostly did it to leave the trailer in the article. Increasing views and letting interested people get to see more than just the demo. I'll probably won't get anything but personal insults from that one troll anyway.

Tinimations's avatar

Tinimations

Early Adopter

Member since 18 Mar, 2013

None one is following Tinimations yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies