Discuss Scratch

creatormaster10
Scratcher
2 posts

Clones stop working!

So I'm creating this Mega Man project, but after 4 screens of a level, the buster stops working. Is this a cloning issue, or is this another thing I don't know about?

The only stage that works for now is Metal Man's stage, which is on the bottom left.

Here is the project.

deck26
Scratcher
1000+ posts

Clones stop working!

Almost certainly hitting the clone limit. The clones in gimmicks are never deleted and if you broadcast spawn gimmicks more than once every clone of gimmicks is creating multiple new clones.
RonsindaTest
Scratcher
2 posts

Clones stop working!

Scratch has a clone limit of 300 clones. do you think you might be hitting that limit?
RokCoder
Scratcher
1000+ posts

Clones stop working!

It's your gimmicks sprite. You're creating the clones via a broadcast (so main sprite and clones are all responding to the broadcast). On top of that, you're not deleting the clones when you leave a screen.


Scratch dabbling for fun…

creatormaster10
Scratcher
2 posts

Clones stop working!

Thanks very much, I didn't know there was a clone limit. I have now fixed the issue and I can continue with my project !

Powered by DjangoBB