platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [dance magic v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nset [kills v] to [0]\n\nwhen flag clicked\nforever\n    next costume\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\nwhen flag clicked\nforever\n    change y by (Gravity)\n    change [gravity v] by (-1)\n    if <touching color (#00ff55)?> then\n        change [gravity v] by (1)\n        set [gravity v] to [0]\n        if <key (up arrow v) pressed?> then\n            change [gravity v] by (10)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        change x by (10)\n    end\n    if <key (left arrow v) pressed?> then\n        change x by (-10)\n    end\n    if <touching color (#00cccc)?> then\n        next backdrop\n        go to x: (-214) y: (-94)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-214) y: (-94)\n        change [kills v] by (1)\n    end\nend\n\n
arrow keys and get to portal