dop2000's Recent Forum Activity

  • Hi Ashley,

    If you recall, there have been several posts about the poor performance of C3 editor in Chrome and Edge. When working with fairly large projects, there are random lags and freezes lasting from a fraction of a second to 10-20 seconds.

    What's weird is that these issues are isolated not just to the browser app, but to a single browser tab. I can have two or three editors open in Chrome and only one of them will be freezing and the other two tabs will be working perfectly fine.

    Seems like we found the possible cause of the issue - garbage collection!

    Clicking the "Collect garbage" icon in DevTools immediately reduces or completely removes the lags. Please see the videos in previous comments. Here is also a report from relixes on Discord:

    Unfortunately, the effect is temporary. In my case the lagging returns after 5-15 minutes, so I have to keep the DevTools open and click that button many times a day.

    Can you please do something about this? Perhaps there is some "garbage collection aggressiveness" setting which should be increased, or maybe you could force it to run every 1 minute or so.

  • SnipG I don't use timelines. And I tried closing all tabs in the project, restarting the editor and only working in one or two event sheets - it still starts lagging randomly. So it doesn't look like the number of open UI windows/tabs is what's causing these freezes.

    The good news is that garbage collection definitely helps! Here it reduces 2-3 seconds lag to zero:

    Subscribe to Construct videos now
  • In C3 events are executed from top to bottom. Their order on the event sheet and the way they are nested is pretty important! It determines the order in which the actions are run, and the scope of picked instances.

    See this screenshot with my comments in it. The red numbers show the order in which the actions will run.

  • Yeah, it is not possible to improve performance with filters. You need to find out why your layout lags and try to fix that issue.

  • If Time = 6 when I press and keep holding space, will this action be run at Time = 8 or will it run at Time = 14?

    I think it will run at time=8, so in 2 seconds.

    That's why I don't like this method, I suggest using Timer behavior. On Space pressed start a repeating timer, on Space released stop it.

  • 1StepCloser The lag feels a bit shorter, am I right? Do you have lags in the expression editor? They are the worst in my case, after I type something like "lerp(" the browser can freeze for 10-20 seconds sometimes. And clicking the garbage collection icon reduces them to nothing! Can you test with those?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have Player Spawn Parts and set the animation name to match every image point name.

    You can do the other way around - spawn parts with every animation and attach them to image point with the same name as the animation.

    I don't think it's possible to get image point name by its index.

    And of course you can spawn an entire creature with all body parts using hierarchies and templates.

  • If you have image points with names like "Point1", "Point2", "Point3", then you can access them using expressions like these:

    Sprite.ImagePointX("Point" & number)

    or

    Sprite.ImagePointX("Point" & loopindex("Parts"))

  • There is an official example in C3, have you seen it?

  • 1StepCloser I think I found how to temporarily fix these lags! You can force Chrome to run garbage collection - in DevTools click a little can icon on the Memory tab.

    I tested it several times today. Whenever I noticed the editor becoming less responsive, I clicked that button and it immediately stopped lagging. The effect lasted 5-10 minutes in my case.

    Please let me know if it works for you!

  • You can probably add two invisible sprites connected with a physics joint to the hoop. And use these sprites as control points for a mesh on the net sprite.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-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
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies