Cloning is a feature that allows a sprite to create a copy of itself while the project is running. Each clone has the same costumes, sounds, scripts, and variables as the original but is otherwise independent.
Cloning is different from stamping in that stamping only produces an image of the sprite on the stage, whereas clones are individual sprites that are able to interpret scripts and run seperately. Stamping will also by default stamp a bitmap image of the sprite. It is also different from the "duplicate" option in the sprite menu in that ordinary duplicates are permanent and appear in the sprite pane, whereas clones do not appear in the sprite pane, disappear when the stop sign is pressed, and can be sensed by other sprites using the Touching ()? block with the original sprite as its input.
There may only be 300 clones at once to prevent excessive lagging or crashes,[1] but 301 could be made in Scratch 2.0.[2]
Cloning is commonly used when a project has many similar sprites doing similar things. Because clones are created by the project rather than the user, cloning prevents the user from needing to make the same changes to each of many sprites. Some common uses of cloning include:
There are three blocks related to cloning, all of which are found in the control palette:
Clones can also create clones, which is often used for recursion.
If a variable is marked as "for this sprite only", each clone of the sprite will have its own value for the variable that is separate from the original sprite and all other clones. This can be used to store information for individual clones, such as health for enemies in some Game Projects.
There are two different types of cloning implemented in different Scratch modifications. They are commonly referred to as "Panther-style cloning" and "BYOB-style cloning".[citation needed]
In Panther-style cloning, a clone is a copy of a sprite, but it does not appear in the sprite pane, changes made to the original do not affect the clone, and it is deleted when the stop sign is pressed. Much of the code for cloning used in Panther was already present in Scratch 1.4. Scratch uses this style of cloning.
In BYOB-style cloning, each clone appears in the sprite pane, and may have scripts all of its own. Clones are created with the block (clone:: operators), which clones a sprite and reports the new clone; sprites are first class in BYOB. (The other important differences between cloning in Scratch and cloning in BYOB are that a clone in BYOB is not merely a copy of the original sprite but can share attributes, and that one can use the () of () to ask a sprite (whether it is a clone or not) for the value of a particular attribute. Snap!, the successor of BYOB 3, offers both temporary and permanent clones.)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
See the rest here:
- What is Cloning? - Learn Genetics - December 12th, 2016 [December 12th, 2016]
- Pros and Cons of Cloning - Buzzle - December 21st, 2016 [December 21st, 2016]
- Cloning/Embryonic Stem Cells - National Human Genome Research ... - December 22nd, 2016 [December 22nd, 2016]
- Is human cloning wrong? | Debate.org - December 25th, 2016 [December 25th, 2016]
- Cloning - Science Daily - December 29th, 2016 [December 29th, 2016]
- Cloning - The New York Times - January 4th, 2017 [January 4th, 2017]
- Mammoth - Wikipedia - January 24th, 2017 [January 24th, 2017]
- Molecular Cloning: Basics and Applications | Protocol - January 25th, 2017 [January 25th, 2017]
- Beware Of 'Facebook Cloning' | 9news.com - 9NEWS.com - February 7th, 2017 [February 7th, 2017]
- Facebook scam lets hackers clone your account and STEAL money ... - Express.co.uk - February 7th, 2017 [February 7th, 2017]
- Beware of 'Facebook Cloning' | KGW.com - kgw.com - February 7th, 2017 [February 7th, 2017]
- Beware of Facebook 'cloning' scam - USA TODAY - February 7th, 2017 [February 7th, 2017]
- Facebook cloning debunked - The i newspaper online iNews - iNews - February 7th, 2017 [February 7th, 2017]
- Don't fall for this Facebook cloning scam | WFLA.com - WFLA - February 7th, 2017 [February 7th, 2017]
- 20 years after Dolly the sheep, human cloning is no closer - Genetic Literacy Project - February 7th, 2017 [February 7th, 2017]
- Don't fall for this Facebook cloning scam | WDTN - WDTN - February 7th, 2017 [February 7th, 2017]
- This Crab Clones Its Allies by Ripping Them in Half - The Atlantic - February 7th, 2017 [February 7th, 2017]
- Boffins create quantum cloning machine to intercept 'secure' messages - The INQUIRER - February 7th, 2017 [February 7th, 2017]
- Hair Cloning & Multiplication | Bernstein Medical - February 7th, 2017 [February 7th, 2017]
- Crustacean Cloning - ScienceBlog.com (blog) - February 8th, 2017 [February 8th, 2017]
- Watch out for this crazy Facebook cloning scam! - Komando - February 8th, 2017 [February 8th, 2017]
- Steve Bannon's Unproduced Movie About Cloning, Nazis, and Walt Disney Sounds Nuts - Gizmodo India - February 9th, 2017 [February 9th, 2017]
- Quantum Cloning Machine Reveals Clues That Could Protect Against Hacking - Photonics.com - February 9th, 2017 [February 9th, 2017]
- Steve Bannon wanted to make a movie about cloning, abortion, and Nazis with Mel Gibson - A.V. Club (blog) - February 9th, 2017 [February 9th, 2017]
- Police investigating recent reports of credit card cloning in Aiken ... - Aiken Standard - February 10th, 2017 [February 10th, 2017]
- Steve Bannon's Unproduced Movie About Cloning, Nazis, and Walt ... - Gizmodo - February 10th, 2017 [February 10th, 2017]
- Phone cloning - Wikipedia - February 11th, 2017 [February 11th, 2017]
- Gang arrested for cloning debit cards, stealing money - The Hindu - The Hindu - February 11th, 2017 [February 11th, 2017]
- Drive cloning in Windows 10 with free tools - Computerworld - February 12th, 2017 [February 12th, 2017]
- Cloning - The Hastings Center - February 12th, 2017 [February 12th, 2017]
- Scientists Are Close to Cloning a Woolly Mammoth - Popular Mechanics - February 16th, 2017 [February 16th, 2017]
- Antiquities Minister inaugurates first Pharaonic cloning center in Luxor - Egypt Independent - February 18th, 2017 [February 18th, 2017]
- 20 years after Dolly: Everything you always wanted to know about ... - Source - February 18th, 2017 [February 18th, 2017]
- 20 years after Dolly: Everything you always wanted to know about the cloned sheep and what came next - New Delhi Times - February 20th, 2017 [February 20th, 2017]
- 20 years after Dolly: Everything you always wanted to know about ... - The Conversation US - February 20th, 2017 [February 20th, 2017]
- Must reads: Populism, sexism, cloning, and rudeness - GlobalComment.com - February 20th, 2017 [February 20th, 2017]
- More lessons from Dolly the sheepis a clone really born at age ... - Phys.Org - February 20th, 2017 [February 20th, 2017]
- 15 Animals That Have Been Successfully Cloned by Scientists - Interesting Engineering - February 21st, 2017 [February 21st, 2017]
- Facebook does it again. WhatsApp launches revamped Status, cloning Snapchat - Catch News - February 22nd, 2017 [February 22nd, 2017]
- It's Been 20 Years Since We Cloned A Sheep. Why Haven't We Done The Same With Humans? - GOOD Magazine - February 22nd, 2017 [February 22nd, 2017]
- Reviving woolly mammoths will take more than two years - BBC News - February 23rd, 2017 [February 23rd, 2017]
- 20 years after Dolly the sheep's debut, Americans remain skeptical of cloning - Pew Research Center - February 23rd, 2017 [February 23rd, 2017]
- Another cloning success shows technology being used by everyday graziers - ABC Online - February 24th, 2017 [February 24th, 2017]
- 20 Years After Dolly, Where Are We With Cloning? - Inverse - February 24th, 2017 [February 24th, 2017]
- Pabrai And The Shameless Cloning Portfolio - Seeking Alpha - February 24th, 2017 [February 24th, 2017]
- As Clone Conspiracy Ends, the Fates of Two Major Spider-Man Villains Are Revealed - Gizmodo - February 24th, 2017 [February 24th, 2017]
- 20 years after Dolly the sheep, potential of cloning remains unclear - CNN - February 24th, 2017 [February 24th, 2017]
- More lessons from Dolly the sheep: Is a clone really born at age zero ... - Salon - February 27th, 2017 [February 27th, 2017]
- 20th Anniversary of Dolly the Cloned Sheep | Men's Health - Men's Health - February 28th, 2017 [February 28th, 2017]
- The Angels had two No. 97s on the basepaths, may be cloning their players - MLB.com - March 1st, 2017 [March 1st, 2017]
- 20 Years After Dolly: Cloning Past, Present and Future - KQED - March 2nd, 2017 [March 2nd, 2017]
- Facts About Cloning - Live Science - March 2nd, 2017 [March 2nd, 2017]
- Is Max cloning Tracey the barmaid to take over Walford in ... - Metro - Metro - March 2nd, 2017 [March 2nd, 2017]
- We know Dolly the sheep was cloned 20 years ago, but how old was she at birth? - Washington Post - March 3rd, 2017 [March 3rd, 2017]
- 'Miracle of nature' Scientists a step closer to HUMAN CLONING after creating mouse embryos - Express.co.uk - March 3rd, 2017 [March 3rd, 2017]
- Waxhaw police: Man charged with credit card cloning - WSOC Charlotte - March 4th, 2017 [March 4th, 2017]
- Facebook gives zero fucks about cloning Snapchat, adds geostickers in Instagram - TNW - March 8th, 2017 [March 8th, 2017]
- This man is cloning old-growth redwoods and planting them in safe places (video) - Treehugger - March 9th, 2017 [March 9th, 2017]
- Police warn of criminals cloning credit cards using stolen information - ABC Action News - March 11th, 2017 [March 11th, 2017]
- Hard drive imaging vs. cloning: What's the difference? - Windows Central - March 11th, 2017 [March 11th, 2017]
- Cloning Your VS 2017 Packages - Microsoft - Channel 9 (blog) - April 8th, 2017 [April 8th, 2017]
- Hair Cloning is Happening - NBC 5 Dallas-Fort Worth - April 8th, 2017 [April 8th, 2017]
- Woodbury Police Need Your Help In Credit Card Cloning Case - Patch - Patch.com - April 8th, 2017 [April 8th, 2017]
- Reasons Against Cloning - VIDEOS & ARTICLES - April 8th, 2017 [April 8th, 2017]
- B.o.B Talks Conspiracy Theories About 9/11, Snapchat, Cloning, Chemtrails, The Illuminati & More (VIDEO) - AllHipHop (blog) - June 6th, 2017 [June 6th, 2017]
- International grifter gets 5 years in prison for Denver credit card cloning scam - The Denver Post - June 6th, 2017 [June 6th, 2017]
- Send in the clones: Orphan Black, TV's smartest show, is back - The Guardian - June 7th, 2017 [June 7th, 2017]
- Sorry, 'Jurassic Park' fans: Scientists say dinosaur cloning probably isn't going to happen - Travel+Leisure - June 7th, 2017 [June 7th, 2017]
- Preparing winemakers for climate change through cloning - ABC Online - June 7th, 2017 [June 7th, 2017]
- Skimming, cloning become popular in Tulsa - KRMG - June 7th, 2017 [June 7th, 2017]
- Five Rules For Successful Marijuana Cloning - June 7th, 2017 [June 7th, 2017]
- Cloning Grapes Will Save Australian Wine - National Geographic Australia - June 8th, 2017 [June 8th, 2017]
- Hackers caught cloning activist Twitter accounts to spread fake news - The Independent - June 9th, 2017 [June 9th, 2017]
- Cloning Yourself in Photos or Videos - Fstoppers - June 11th, 2017 [June 11th, 2017]
- Cloning to the rescue - New Scientist - June 14th, 2017 [June 14th, 2017]
- Cloning To Revive Abaco Wild Horses - Bahamas Tribune - June 17th, 2017 [June 17th, 2017]
- How Close Are We to Successfully Cloning the First Human? - Futurism - June 22nd, 2017 [June 22nd, 2017]
- Magnified: Cloning - The Hawk Eye (blog) - June 24th, 2017 [June 24th, 2017]
- Puppies cloned from ears arrive in Russia for genetic research ... - RT - June 24th, 2017 [June 24th, 2017]
- Three waiters arrested in Mumbai for fraud and cloning ATM cards ... - Hindustan Times - June 26th, 2017 [June 26th, 2017]