Discuss Scratch

SandShift
New Scratcher
6 posts

Need help with a clone

I'm having trouble with cloning.

The problem is I don't see the sprite I'm cloning.
I don't know how to fix that.
I've separated and simplified the sprite from the main project into the project link below.

https://scratch.mit.edu/projects/375999173/

Thank you for the help.

(I posted this earlier in an old thread because I didn't know how the discussion forums work until now.)
The_seven_remix
Scratcher
4 posts

Need help with a clone

indeed you are right I too have problems about that but it is not the fault of Scratch, by dint of making clones, the project becomes heavy to such a point that the device will have to reload the page automatically . But are you on computer?
create clone of [ v]

Last edited by The_seven_remix (March 12, 2020 22:32:22)

The_seven_remix
Scratcher
4 posts

Need help with a clone

My browser / operating system: IPad iOS 13.3.1, Safari 13.0.5, No Flash version detectedMy browser / operating system: IPad iOS 13.3.1, Safari 13.0.5, No Flash version detected
My browser / operating system: IPad iOS 13.3.1, Safari 13.0.5, No Flash version detected
SandShift
New Scratcher
6 posts

Need help with a clone

Yes, I'm using a computer.
SandShift
New Scratcher
6 posts

Need help with a clone

I seem to have found a solution.
Failed attempts:
Refresh computer, scratch editor, & browser
Rearrange/compress certain scripts that could be separate or together (the movement and the physics of the clone)
(I did the above attempts multiple times already)

I don't know why it worked even though it's still the same code (probably cause of a bug),
but I deleted the movement and physics scripts and then I pressed Ctrl+Z.

It's shown up and I've done some fixing with its movement but it won't fire any projectiles as shown in the scripts now.

.\_/. This angers me.

Last edited by SandShift (March 12, 2020 23:00:04)

skullyme
Scratcher
8 posts

Need help with a clone

I am a bit unclear on what your asking, but I noticed a few thing w/ your script that could use a little work
-check your costumes and code that affects it/ sizes
-check your show/hide blocks
-check every variable that affects the movement of the ship (this could move clones off screen)

p.s. with large numbers of clones its best not to use the “Create clone of myself” block, this exponentially create more clones (each clone is creating a clones of itself
SandShift
New Scratcher
6 posts

Need help with a clone

I checked the codes affecting costumes and strings. (Found one error at Projectile clone script where costume name didn't match)
The codes for sizes are all under if statements except for the starting
'set size to 100%'

I only have one hide block which is under Green Flag.
The two show blocks are in the projectile script and the script for movement.

All the variables made are set to ‘for this sprite only’ and the movement of the ships are all different from each other. (I checked by reaching clone limit)

P.S. I feel I made massive brain farts with the projectiles. I found the error.

Last edited by SandShift (March 12, 2020 23:39:48)

The_seven_remix
Scratcher
4 posts

Need help with a clone

okay
SandShift
New Scratcher
6 posts

Need help with a clone

I got it all working as intended

Powered by DjangoBB