Discuss Scratch

QuaXX
Scratcher
7 posts

Clones!

create clone of [ Myself]

This clone block is glitchy today and yesterday.. My game was working.. then today, its not cloning half of my stuff… If I edit anything on a certain sprite, I guess the new clone code kicks in and breaks that sprite… So.. for now I will have to not work on my project, but I wonder why this bug is happening… So So Scratch Team, if you see this.. please let me know whats happening with clones Thanks
Gilstylin
Scratcher
97 posts

Clones!

Clones works for me. It could also be layering that is the issue. If you use backgrounds sprites the clone could be behind it instead of in front. Good debug test is to remove script for background and see if clones show up. Second known issue: you unintentionally used a forever loop and are creating more than 300 clones with out deleting clones. When that happens cloning will behave unpredictably.
flowerkitty26
Scratcher
76 posts

Clones!

I have this problem a lot, where clones don't work. Try saving the project, and then refresh the page, and it might go back to normal. If that doesn't work, then I don't know what's going on, sorry

when I receive [homework]
procrastinate
Za-Chary
Scratcher
1000+ posts

Clones!

For future reference, I just wanted to say that I haven't been experiencing this issue the way OP describes. Of course, that does not mean that the problem doesn't exist.

My browser / operating system: MacOS Macintosh X 10.15.6, Chrome 84.0.4147.135, No Flash version detected

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.

I was a Scratch Team member from May 10th 2019 to October 29th 2021.

my notebook | scratch team essay | accessibility essay
QuaXX
Scratcher
7 posts

Clones!

Za-Chary wrote:

For future reference, I just wanted to say that I haven't been experiencing this issue the way OP describes. Of course, that does not mean that the problem doesn't exist.

Hmm… okay.. I guess I am the only one with this issue… xD
Its probably an error in the code… I think.. idk
otorybe
Scratcher
1 post

Clones!

Clones can be tricky. Like @Gilstylin alluded to, weird things can happen if clones are not cleaned up properly, and a lot of them accumulate.

One thing to try out (and actually, to try and always do when working with clones) is remembering to `Delete this clone` when it is no longer needed. If the project is complicated and has many sprites and clones, I think it will also be a good idea to broadcast a `Clone Cleanup` message in between stages, and have the receivers of the message simply `Delete this clone`.

Last edited by otorybe (Sept. 2, 2020 15:29:47)

Powered by DjangoBB