Minecraft | A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Lost In The Woods - PaulRHJT v] until done\nend\n\nwhen I receive [message1 v]\nnext backdrop\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (-206) y: (-158)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        change y by (1)\n        if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n            change y by (1)\n            if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                change y by (1)\n                if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                    change y by (1)\n                    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                        change y by (1)\n                        if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-206) y: (-158)\n    end\n    if <touching (sprite1 v)?> then\n        broadcast (message1 v)\n        go to x: (-206) y: (-158)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nstop [all v]\n\nwhen backdrop switches to [backdrop10 v]\nrepeat until <(backdrop [name v]) = [backdrop11]>\n    if <touching (sprite3 v)?> then\n        switch backdrop to (backdrop11 v)\n        go to x: (-108) y: (-150)\n    end\nend\n\nwhen flag clicked\ngo to x: (-206) y: (-158)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        change y by (1)\n        if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n            change y by (1)\n            if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                change y by (1)\n                if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                    change y by (1)\n                    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                        change y by (1)\n                        if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#e5e5e5)?> or <touching color (#009933)?>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-206) y: (-158)\n    end\n    if <touching (sprite1 v)?> then\n        broadcast (message1 v)\n        go to x: (-206) y: (-158)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (236) y: (-1)\n\n@backdrop1\n\nwhen backdrop switches to [backdrop5 v]\nshow\nrepeat until <(backdrop [name v]) = [backdrop6]>\n    glide (3) secs to x: (168) y: (-189)\n    glide (2) secs to x: (-61) y: (-191)\nend\n\nwhen flag clicked\ngo to x: (-61) y: (-191)\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\ngo to x: (-49) y: (-184)\nrepeat until <(backdrop [name v]) = [backdrop7]>\n    glide (3) secs to x: (-49) y: (7)\n    glide (2) secs to x: (-49) y: (-184)\nend\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (-33) y: (-193)\nrepeat until <(backdrop [name v]) = [backdrop8]>\n    glide (3) secs to x: (131) y: (-16)\n    glide (2) secs to x: (-33) y: (-193)\nend\n\nwhen backdrop switches to [backdrop8 v]\nhide\nstop [other scripts in sprite v]\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (44) y: (-5)\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\n@-real-outer-space\n\nwhen flag clicked\nhide\n\n@backdrop13\n\nwhen flag clicked\ngo to x: (-19) y: (3)\nhide\n\nwhen backdrop switches to [backdrop13 v]\nshow\nrepeat until <(backdrop [name v]) = [backdrop9]>\n    wait (0.8) seconds\n    next costume\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n