Why is this so laggy πŸ˜•? It wasn't before

I don't get it
My CD draw was perfectly fine before but now all of a sudden It's not?
For example:

You know how there's 11 CDs in the picture? I can barely make 4 now

Link:

13 Likes

How old is the draft? Maybe it's a file size thing? I think @ThinBuffalo has a way for windows computers to fix that.

8 Likes

@Petrichor @thebestest

I took a quick look and there aren't any file size problems with the project linked above.

However there are some issues with the way clones are used.

  • the Create Clone block in the When Pressed event causes the number of clones to increase exponentially.
  • delete that block & instead create more clones in the When Game Starts event (use a repeat block)

As is, it may have worked better before because the Hopscotch player has more lag with a "large" number of clones now than it used to.

6 Likes

Thanks! I'll try that

1 Like

Ok that was the problem here's the link to the new project

2 Likes

Nice. Works better :smile:

Try this. It’ll create 128 clones really quickly. Each Repeat loop doubles the number of clones. So you get 2^7 or 2x2x2x2x2x2x2 or 128 clones.

3 Likes