dop2000's Recent Forum Activity

  • Nah, it all looks good to me. Couldn't write it better myself

    • Post link icon

    , thanks for the links. I've actually increased the icon cache size to 8Mb about a week ago, this didn't make any difference.

    I tried deleting Thumbnails in Disk Clean-Up, this didn't remove the lag with event dialogs.

    Tried manually deleting files from C:\Users\Stan\AppData\Local\Microsoft\Windows\Explorer folder - some files were deleted, some not. This didn't help either.

    When I start C2 for the first time after deleting Thumbnails, a few new files are created in that folder.

    But no new files are added with consecutive launches. In fact the whole folder stays at about 10Mb and its size does not increase much over time.

  • You can do this:

    fullLeterBox on Drag Start

    ...fullLeterBox is overlapping emptyLetterBox -> emptyLetterBox set hasLetter to False

    One other thing - what if when you drop the letter, it's overlapping two empty boxes?

    I suggest you add another sub-event under #11:

    emptyLetterBox pick nearest to (fullLeterBox.x, fullLeterBox.y)

    • Post link icon

    Ashley

    I think both my bug reports about Windows 10 performance are related, or have some common cause.

    This delay with event dialogs also depends on windows uptime and/or the number of times C2 was launched.

    That test where I opened/closed C2 many times for an hour - event dialogs became very slow after it too.

    How come the same Windows API that creates icons works fast after reboot and becomes extremely slow an hour later after C2 application was launched a hundred times?

    In that bat-file I don't just start Construct2.exe application, I open a test C2 project with ~90 objects.

    So here is an uneducated speculation - maybe all these icons from every C2 session are cached or indexed or something like that, and this cache/index never gets reset?

    R0J0hound

    Thanks for the tip, I disabled the patches in registry, will see if this helps.

    Update: I disabled Meltdown/Spectre updates as described here and tested again with versions r252 and r239.

    For each version I rebooted Windows and ran that bat-file for an hour, and in both cases C2 slowed down considerably.

    I didn't notice any improvement.

    • Post link icon

    Ashley

    Yes, I can. Which versions do you want me to check?

    Testing each will take hours, so please only give me a couple of key versions where you made some big changes in the editor.

    Update: I disabled Meltdown/Spectre updates as described here and tested again with versions r252 and r239.

    For each version I rebooted Windows and ran that bat-file for an hour, and in both cases C2 slowed down considerably.

    I didn't notice any improvements.

    I also noticed another funny little bug (probably completely unrelated, but who knows) - with each launch, the right panel with the Project Bar expands a bit to the left. So after about 50 launches, it fills the entire window.

    • Post link icon

    W10 home build 15063, i don't use updates

    I read someone else's comment that he too doesn't have these problems on windows build 15063.

    So looks like the older windows 10 versions are not affected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zoom in the image, you should see the line of white pixels.

    Or simply create a new Tiled Bachground 4x4px and fill it with black color.

    • Post link icon

    It's possible that this problem may be related to recent windows updates (from the past couple of months).

    Do you have automatic updates enabled on both your laptops and do you install all recommended updates?

    What is the exact Windows version and build number?

    Also, do you run Windows for many days or reboot regularly?

    MPPlantOfficial

    Can we please keep this post on-topic? Several similar posts were closed and I don't want this to happen again.

    I don't have any issues with other applications performance on this laptop, only with C2.

    • Post link icon

    Ashley,

    r246 was definitely affected. Probably r244 too, but I don't remember for sure.

    I first noticed this about 30 days ago, when I started using C2 on this laptop with Windows 10.

    I included information about that experiment with bat file as I hope it might be useful. It's obviously a synthetic test and not a real usage case. But it demonstrates that it's not the windows uptime (or not just the uptime) which is causing these lags, but also the number of times C2 was launched.

    Also, you could probably try to leave a similar script running on a Windows 10 PC with all recent updates overnight, and check next morning if C2 is running slow or not.

    I understand, that an app should be starting from a blank slate, and I've never seeing anything like this with other applications. So maybe C2 leaves something behind after closing that's slowing it down over time? (temporary files, some processes in memory, open files or something like that?)

    For example, after that experiment I found that C2 created lots of temporary folders, 400Mb in total, many of which contained copies of project files in \Documents and Settings\{profile}\Local Settings\Temp

    Unfortunately, removing these folders didn't improve the performance. Only rebooting Windows seems to help.

    • Post link icon

    Hi Ashley,

    I believe this is the same issue as other people reported in those 2 closed posts.

    You wrote there that these issues should be properly logged as bugs, so I'm doing exactly that. I tried to include all details that could be useful.

    I don't have "thousands" of objects in my project. The test capx I attached to this bug report has only 92 objects.

    The project which I'm referring to as "big" is actually not that big. It's 15Mb in size, has 1500 events and 188 objects (not 370 as I mentioned in the video, I counted them wrong). I believe Construct 2 should definitely be able to handle it.

    And this same projects works well without any lags on two much older laptops, including 8 years old Celeron with 4Gb Ram, running Windows 7.

  • Nope, sorry. I really though this was something simple like sending JSON in clear text.

    There are several JS libraries available on jwt.io website, so I guess you need to find somebody who can make a plugin from that.

    Try posting a request in this forum:

  • The easiest solution would be to use SpriteFont and set the same width for all numbers.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 273 followers

Connect with dop2000

Trophy Case

  • 9-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

29/44
How to earn trophies