{"id":148264,"date":"2016-06-19T14:37:09","date_gmt":"2016-06-19T18:37:09","guid":{"rendered":"http:\/\/www.designerchildren.com\/cloning-scratch-wiki\/"},"modified":"2016-06-19T14:37:09","modified_gmt":"2016-06-19T18:37:09","slug":"cloning-scratch-wiki","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/cloning\/cloning-scratch-wiki\/","title":{"rendered":"Cloning &#8211; Scratch Wiki"},"content":{"rendered":"<p><p>    Cloning is a feature that allows a sprite to create a clone, or    semi-duplicate, of itself, while the project is running. This can be useful in    tower defense games, for example, for a wave of objects. Clones    of a sprite will be the same as the original, or parent sprite,    but as a separate instance. Clones inherit the parent's    scripts, costumes, sounds, and properties, but can then be    modified. There is a limit of 300 clones per project to prevent    excessive lagging or crashes,[1] but 301 can be    made.  <\/p>\n<p>    In Scratch    2.0, there are three blocks related to cloning. All can be    found in the Control palette.  <\/p>\n<p>    This block will clone the sprite it runs in. Its version in the    Scratch Day 2011 prealpha had no dropdown insert to select a    sprite.  <\/p>\n<p>    It is also possible to clone other clones recursively.  <\/p>\n<p>    This Hat Block    activates when a clone is created. It only runs in the newly    created clone, not previous clones or the parent.  <\/p>\n<p>    This Cap Block    will delete the clone it runs in.  <\/p>\n<p>    Not to be confused with cloning, sprites can be duplicated by    two methods:  <\/p>\n<p>    This will make the new sprite appear in the new sprites area    with all of the same costumes, scripts, and sounds.  <\/p>\n<p>    Variables for all    sprites will be the same for each clone, but variables for this    sprite only will be different for each clone.  <\/p>\n<p>    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\".  <\/p>\n<p>    In Panther-style cloning, a clone inherits its parent's    properties, but is only a clone of it, not a new sprite. Other    sprites can sense the clones, using the Touching ()? block, with the parent    as its argument.    The code for Panther-style cloning was actually implemented in    Scratch 1.4, hinting that it was a planned feature, but wasn't    added. Scratch 2.0 uses this style of cloning.  <\/p>\n<p>    In BYOB-style cloning, a clone is a new sprite in the sprite    list, with editable data all of its own. Clones are created    with an Operators block \"(clone)\", which clones a sprite and reports    a reference to it, which can then be used to control it.  <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Read the original:<\/p>\n<p><a target=\"_blank\" rel=\"nofollow\" href=\"http:\/\/wiki.scratch.mit.edu\/wiki\/Cloning\" title=\"Cloning - Scratch Wiki\">Cloning - Scratch Wiki<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Cloning is a feature that allows a sprite to create a clone, or semi-duplicate, of itself, while the project is running. This can be useful in tower defense games, for example, for a wave of objects. Clones of a sprite will be the same as the original, or parent sprite, but as a separate instance <a href=\"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/cloning\/cloning-scratch-wiki\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187749],"tags":[],"class_list":["post-148264","post","type-post","status-publish","format-standard","hentry","category-cloning"],"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/148264"}],"collection":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/comments?post=148264"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/148264\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/media?parent=148264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/categories?post=148264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/tags?post=148264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}