The Impossible Platformer
@Stage\n\nwhen flag clicked\nset volume to (500) %\nforever\n    play sound [ComputerVirus v] until done\nend\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen I receive [message1 v]\nrepeat (2)\n    if <(backdrop [number v]) = [13]> then\n        broadcast (Edger v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen flag clicked\nbroadcast (message1 v)\n\nwhen flag clicked\nshow\nset [deaths v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-108) y: (-81)\nset [x v] to [0]\nset [y v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [x v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [x v] by (0.5)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n        change y by (1)\n        if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n            change y by (1)\n            if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                change y by (1)\n                if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                    change y by (1)\n                    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                        change y by (1)\n                        if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                            change y by (1)\n                            if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                                change y by (-6)\n                                change x by ((X) * (-1))\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(X) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> and <key (up arrow v) pressed?>> then\n        set [y v] to [8]\n    end\n    change y by (0.5)\n    if <touching color (#ffff00)?> then\n        broadcast (Next Level v)\n        go to x: (-102) y: (-17)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-120) y: (-59)\n        change [deaths v] by (1)\n    end\n    if <touching color (#00ffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [5]\n        else\n            set [y v] to [-1]\n        end\n    end\nend\n\nwhen I receive [edger v]\nif <touching (_edge_ v)?> then\n    broadcast (Next Level v)\n    go to x: (-208) y: (-81)\nend\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [x v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [x v] by (0.5)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n        change y by (1)\n        if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n            change y by (1)\n            if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                change y by (1)\n                if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                    change y by (1)\n                    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                        change y by (1)\n                        if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                            change y by (1)\n                            if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n                                change y by (-6)\n                                change x by ((X) * (-1))\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(X) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<<touching color (#000000)?> or <touching color (#000000)?>> or <touching color (#000000)?>> and <key (up arrow v) pressed?>> then\n        set [y v] to [8]\n    end\n    change y by (0.5)\n    if <touching color (#ffff00)?> then\n        broadcast (Next Level v)\n        go to x: (-102) y: (-17)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-120) y: (-59)\n        change [deaths v] by (1)\n    end\n    if <touching color (#00ffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [5]\n        else\n            set [y v] to [-1]\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\n
Arrow Keys