platformer

Instructions: arrow keys.\nthis was forscratch studio thing\n\nomg 200 views wowy\n\n\n\n\nbye

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen I receive [next v]\nnext backdrop\nclear graphic effects\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [4]> or <<(backdrop [number v]) = [5]> or <(backdrop [number v]) = [6]>>> then\n        change [pixelate v] effect by (0.10)\n    else\n        set [pixelate v] effect to (0)\n    end\n    if <<(backdrop [number v]) = [10]> or <(backdrop [number v]) = [11]>> then\n        change [whirl v] effect by (0.5)\n    else\n        set [whirl v] effect to (0)\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-217) y: (-3)\nshow\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#363636)?> then\n        change y by (1)\n    end\n    if <touching color (#363636)?> then\n        change y by (1)\n    end\n    if <touching color (#363636)?> then\n        change y by (1)\n    end\n    if <touching color (#363636)?> then\n        change y by (1)\n    end\n    if <touching color (#363636)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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    change y by (y)\n    if <touching color (#363636)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#363636)?>> then\n        set [y v] to [10]\n    end\n    change y by (1)\n    if <touching color (#9e8e8e)?> then\n        go to x: (-217) y: (-3)\n    end\n    if <touching color (#828c9e)?> then\n        set [y v] to [25]\n    end\n    if <touching color (#799c73)?> then\n        set [x v] to [30]\n        set [y v] to [5]\n    end\n    if <touching color (#877da8)?> then\n        set [x v] to [-30]\n        set [y v] to [5]\n    end\n    if <touching color (#8b6f8b)?> then\n        set [y v] to [25]\n        set [x v] to [8]\n    end\n    if <touching color (#000000)?> then\n        broadcast (Next v)\n    end\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.3) seconds\nend\n\nwhen I receive [next v]\ngo to x: (-217) y: (-3)\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [4]> or <<(backdrop [number v]) = [5]> or <(backdrop [number v]) = [6]>>> then\n        change [pixelate v] effect by (0.2)\n    else\n        set [pixelate v] effect to (0)\n    end\nend\n\nwhen I receive [next v]\nset [pixelate v] effect to (0)\n\nwhen flag clicked\nforever\n    play sound [Joel Corry - Lonely \(Official Lyric Video\) v] until done\nend\n\n@Player stickers?\n\nwhen flag clicked\nforever\n    switch costume to (pick random (1) to (10))\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (60)\n    go to [front v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [4]> or <<(backdrop [number v]) = [5]> or <(backdrop [number v]) = [6]>>> then\n        change [pixelate v] effect by (0.2)\n    else\n        set [pixelate v] effect to (0)\n    end\nend\n\nwhen I receive [next v]\nset [pixelate v] effect to (0)\n\n@Thumb nail\n\nwhen flag clicked\nforever\n    change [ghost v] effect by (10)\nend\n\n