Source Code Scratch 2

Droid Escape

Droid Escape.scratch 2
[{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n  <block type=\"setRotationStyle\" id=\"yD13i|f%Ap!$jk%YPHdY\" x=\"37\" y=\"38\">\n    <field name=\"ROTATION_STYLE\">LEFT_RIGHT<\/field>\n    <next>\n      <block type=\"setSizeToPercent\" id=\"ZAM,],qtpc;87[WX2rc5\">\n        <field name=\"SIZE\">50<\/field>\n        <next>\n          <block type=\"goToXY\" id=\"iP;8_?-?UtMm!vd!9u_+\">\n            <field name=\"X_COORD\">34<\/field>\n            <field name=\"Y_COORD\">-111<\/field>\n            <next>\n              <block type=\"pointInDirection\" id=\"-|X9tVA5A%xRf;U(8Q*5\">\n                <field name=\"ANGLE\">90<\/field>\n                <next>\n                  <block type=\"moveSteps\" id=\"?F-PA*s((jvarzMR$UNp\">\n                    <field name=\"STEPS\">3<\/field>\n                  <\/block>\n                <\/next>\n              <\/block>\n            <\/next>\n          <\/block>\n        <\/next>\n      <\/block>\n    <\/next>\n  <\/block>\n<\/xml>","sprite":"ripley.svg","backdrop":"galaxy.png"},{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n  <block type=\"pointInDirection1\" id=\"g%A00^f~aihJA^1^lAE3\" x=\"112\" y=\"38\">\n    <field name=\"ANGLE\">90<\/field>\n    <next>\n      <block type=\"goToXY1\" id=\"ECh3I#WO:*p=x6Q^I(^F\">\n        <field name=\"X_COORD\">-186<\/field>\n        <field name=\"Y_COORD\">150<\/field>\n        <next>\n          <block type=\"forever\" id=\"p-U`[\/E}uos+;fDMN:4(\">\n            <field name=\"TIMES\">50<\/field>\n            <statement name=\"DO\">\n              <block type=\"changeColorEffect1\" id=\"B|8oV?9i5#_t_Etpc#|%\">\n                <field name=\"VALUE\">25<\/field>\n                <next>\n                  <block type=\"moveSteps1\" id=\"h}I~]rLFhFu,}s*AH)xT\">\n                    <field name=\"STEPS\">7<\/field>\n                    <next>\n                      <block type=\"bounceOnEdge1\" id=\"D~O9bZO25buw8IT2IF~s\"><\/block>\n                    <\/next>\n                  <\/block>\n                <\/next>\n              <\/block>\n            <\/statement>\n          <\/block>\n        <\/next>\n      <\/block>\n    <\/next>\n  <\/block>\n<\/xml>","sprite":"star.svg","backdrop":"galaxy.png"},{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n  <block type=\"setRotationStyle2\" id=\"gocPh?A!f3)kU9hZ[uS$\" x=\"13\" y=\"38\">\n    <field name=\"ROTATION_STYLE\">NO_ROTATION<\/field>\n    <next>\n      <block type=\"pointInDirection2\" id=\"Fi+q!LohT`(C3kauU`nL\">\n        <field name=\"ANGLE\">90<\/field>\n        <next>\n          <block type=\"goToXY2\" id=\":$dcKN(Nh$s9gS_LHsB;\">\n            <field name=\"X_COORD\">0<\/field>\n            <field name=\"Y_COORD\">0<\/field>\n            <next>\n              <block type=\"setSizeToPercent2\" id=\"webf1t:1m)`|dk0Tpe9!\">\n                <field name=\"SIZE\">40<\/field>\n                <next>\n                  <block type=\"moveSteps2\" id=\"=GhB%hUG95p$3{BB[X84\">\n                    <field name=\"STEPS\">5<\/field>\n                    <next>\n                      <block type=\"bounceOnEdge2\" id=\"Jx{bP|+EWt::.;tWm#A0\"><\/block>\n                    <\/next>\n                  <\/block>\n                <\/next>\n              <\/block>\n            <\/next>\n          <\/block>\n        <\/next>\n      <\/block>\n    <\/next>\n  <\/block>\n<\/xml>","sprite":"retrorobot.svg","backdrop":"galaxy.png"}]

About This Project

Droid Escape is a game where the astronaut must dodge the Droids and get to the other side safely to collect the magic star.

Learn to Code Like This

Master Scratch 2 and build your own amazing projects at Code With Us!

Start Learning Today