2D Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next level v]\nnext backdrop\nwait (1) seconds\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        change x by (-2)\n    end\n    if <key (right arrow v) pressed?> then\n        change x by (2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <color (#666666) is touching (#00ff55)?>> then\n        change y by (-3)\n    else\n        if <key (up arrow v) pressed?> then\n            start sound [boing v]\n            repeat (20)\n                change y by (3)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffff00)?> then\n        broadcast (next level v)\n        go to x: (217) y: (-64)\n    end\nend\n\nwhen flag clicked\ngo to x: (194) y: (-83)\n\nwhen flag clicked\nforever\n    if <touching color (#cc0099)?> then\n        go to x: (200) y: (43)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        go to x: (212) y: (-88)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (217) y: (-64)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        go to x: (-164) y: (106)\n    end\nend\n\n
Adventure through and to get to the yellow squares! Arrow keys to move. Up arrow= jump, left arrow= left, right arrow= right. Avoid red and try to get to the yellow square