Colludium's Recent Forum Activity

  • Tutorial.

  • Custom icon via Resource Hacker.

  • Enigma Virtualbox which is free, or Inno Seup which is also free.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • But a high cpu use tends to correlate with frame drops. Just to be sure, I repeated my tests and added a dropped frame counter (running test for one minute, the counter ignores the first 10 secs because they are usually terrible):

    Preview win32: cpu 35%, dropped frames: 4

    Export win32: cpu 33%, dropped frames: 5

    Export win64: cpu 41%, dropped frames: 17

    So, IMO, win64 wins the "not useful" export competition.

  • Copy-paste out of PowerPoint.... Then resize as you desire.

  • Just download the 'normal' version of nw.js and replace the files in the nwforc2 folder. C2 ships with the sdk version of nw.js so that you can use the debug functions, but the normal version does not contain the debug functions. Here's the link.

  • It seems pretty obvious, but 64-bit NW is intended for developing on a 64-bit system, while 32-bit NW is intended for developing on a 32-bit system.

    If my system wasn't a 64 bit i5 then I would not have been able to test it, I suspect. Perhaps there are benefits to the 64 bit version that are not being accessed by c2.... but if the 32 bit export is way better on a 64 bit system for us c2 devs then I don't see the point of having anything else...

  • I have a debug text object that I use to display cputilisation, memory use etc.

    So, I tried again this time using r225 and the v13 rc4 nwforc2:

    Preview: cpu 36%

    export win32: cpu 36%

    export win64: cpu 43%

    With this later version of nw.js I'm not convinced that there are significant differences now (although I have no idea why x64 should use more cpu).

    Of note, if I run an export and then run the preview, something in local storage causes a conflict and the preview crashes to black screen on start (and then won't close down). A memory wipe fixes this....

  • Problem Description

    Update: To be confirmed; please test independently. Running this test in nw.js v0.14.0 and this bug was no longer apparent. May not be a c2 bug.

    When nw.js initialises its size dimensions are set to the game's window size, which causes the internal canvas resolution to be smaller than that desired for the game.

    Attach a Capx

    capx link

    Description of Capx

    Simple layout with a text object to display the nw.js window size and the rendered on-screen canvas size.

    Steps to Reproduce Bug

    • run layout in nw.js

    Observed Result

    The nw.js window initializes to the c2 window sizes, which does not account for the size of the nw.js window frame dimensions. Thus the rendered canvas size is less than that desired for the game. It is complicated and hackey to then resize the nw.js frame to achieve the desired canvas dimensions.

    Expected Result

    The nw.js window should initialise by default so that the displayed canvas is the same size/resolution as the game's desired window size.

    Affected Browsers

    • nw.js

    Operating System and Service Pack

    W10 x64

    Construct 2 Version ID

    r225 running nwjs for c2 v13 rc4

  • OK, on my embryonic platform game, at the same re-spawn position with only some background bullet effects taking place...

    nw.js 32 bit preview: 48% cpu

    nw.js 32 bit export: 39% cpu

    nw.js 64 bit export 61% cpu

    It's illogical....

  • Sounds good - thanks ASHLEY.

  • This week I'm starting to experiment with how to walk on moving platforms.... Which is much more complex than it should be!

Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies