Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » One Sprite (Challenge): Clones
- OneSpriteChallenge
- New Scratcher
6 posts
One Sprite (Challenge): Clones
Hey, I am an experienced Scratcher and have made this account to test out something that looks interesting to me: Creating a project with only one sprite.
This means that clones are on order, and I wanted to know some more about the processing power of clones. Is Scratch multithreaded? As in, does it compute all the clones at (around, non-deterministicly) the same time? In smaller projects it seems it does to an extent, but is this designed into Scratch?
I haven't used scratch since Scratch 2 (Is this Scratch 3? I am pretty sure) and was wondering if it was the same as before where it was computed at around the same time.
If you have any other suggestions about making a project with only one sprite (and no background code!) please tell me!
This means that clones are on order, and I wanted to know some more about the processing power of clones. Is Scratch multithreaded? As in, does it compute all the clones at (around, non-deterministicly) the same time? In smaller projects it seems it does to an extent, but is this designed into Scratch?
I haven't used scratch since Scratch 2 (Is this Scratch 3? I am pretty sure) and was wondering if it was the same as before where it was computed at around the same time.
If you have any other suggestions about making a project with only one sprite (and no background code!) please tell me!
- Zerofile
- Scratcher
100+ posts
One Sprite (Challenge): Clones
clones don't have much additional power to just good coding.
thanks for the website ST
- 100daysummer
- Scratcher
85 posts
One Sprite (Challenge): Clones
I know that there just a limit of clones - 300
- Sheep_maker
- Scratcher
1000+ posts
One Sprite (Challenge): Clones
I think the clones are executed one by one until their scripts yield, and it's probably in a deterministic order based on when the clones were created
I don't think Scratch uses workers for anything but sandboxing unofficial extensions, so everything is single threaded
I don't think Scratch uses workers for anything but sandboxing unofficial extensions, so everything is single threaded
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- A-E-
- Scratcher
100+ posts
One Sprite (Challenge): Clones
Single threaded but async so it feels multithreaded I think the clones are executed one by one until their scripts yield, and it's probably in a deterministic order based on when the clones were created
I don't think Scratch uses workers for anything but sandboxing unofficial extensions, so everything is single threaded
- PkmnTrainerSeb1
- Scratcher
24 posts
One Sprite (Challenge): Clones
Wait what so when I crashed my computer many, many times it was Scratch 2? Time flies! I know that there just a limit of clones - 300
define Childhood
if <I realize childhood is fading away> then
cry:: #0c3149
end
Last edited by PkmnTrainerSeb1 (Sept. 17, 2020 06:05:04)
block outlets would be weird
if <(answer)>:: sensing then:: control then:: control
change x by (<[1] = [score]:: variables >):: motion
end
- Discussion Forums
- » Advanced Topics
- » One Sprite (Challenge): Clones