SUN-A PLATFORMER

Instructions: This is a entry for @Levi_minecraft 400 followers contest.\narrow keys. Press 1 and 2 and 3 to switch between trail and shadow :). Mobile controls exist :D\n\n1 = shadows\n2 = trail\n3 = trail and platform shadows\n\nPls propose this to be featured.\n\nCan we get this top loved?

@Stage\n\nwhen [1 v] key pressed\nset [look v] to [0]\n\nwhen [2 v] key pressed\nset [look v] to [1]\n\nwhen [3 v] key pressed\nset [look v] to [2]\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    go to x: (0) y: (0)\nend\n\n@player\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-200) y: (100)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    set rotation style [don't rotate v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <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 (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                                start sound [Jump v]\n                                set [y v] to [15]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (levels v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [look v]\n    if <(x position) > [230]> then\n        start sound [Magic Spell v]\n        broadcast (next level v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-150) y: (100)\n        set [ghost v] effect to (0)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-150) y: (100)\n        broadcast (Reset v)\n    end\n    if <touching (not good v)?> then\n        start sound [oof v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-150) y: (100)\n        set [ghost v] effect to (0)\n        broadcast (Reset v)\n    end\nend\n\nwhen I receive [reset v]\ngo to x: (-150) y: (100)\n\nwhen flag clicked\nforever\n    if <<<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>>> then\n        if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n            switch costume to (costume3 v)\n        end\n        if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n            switch costume to (costume2 v)\n        end\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Sunlight v] until done\nend\n\nwhen flag clicked\nset [look v] to [2]\nforever\n    if <<(look) = [1]> or <(look) = [2]>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nset [pixelate v] effect to (0)\nswitch costume to (costume4 v)\nrepeat (10)\n    turn right (2) degrees\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nchange [color v] effect by (25)\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nif <(username) = [hinkonar]> then\n    set drag mode [draggable v]\nelse\n    set drag mode [not draggable v]\nend\n\nstart sound [oof v]\n\nmove (10) steps\n\n@levels\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\n@not good\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@player shadow\n\nwhen flag clicked\npoint in direction (120)\ngo to [front v] layer\ngo [backward v] (1) layers\ngo [backward v] (1) layers\ngo to (player v)\nset [ghost v] effect to (50)\ngo [backward v] (1) layers\ngo to [back v] layer\nforever\n    change x by (X)\n    change y by (Y)\n    go to (player v)\nend\n\nwhen I receive [next level v]\nrepeat (30)\n    go to (player v)\nend\n\nwhen I receive [reset v]\ngo to (player v)\n\nwhen flag clicked\nforever\n    if <(look) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\n@shadow\n\nwhen flag clicked\nset [ghost v] effect to (50)\ngo to x: (0) y: (0)\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\ngo [forward v] (0) layers\ngo to [back v] layer\nforever\n    if <<(look) = [0]> or <(look) = [2]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\n@txt\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (1 v)\ngo to x: (0) y: (0)\ngo to x: (0) y: (-100)\nset [fisheye v] effect to (100)\nset [brightness v] effect to (0)\nset [whirl v] effect to (100)\nrepeat (10)\n    change [fisheye v] effect by (-10)\n    change [whirl v] effect by (-10)\n    change [brightness v] effect by (0)\n    turn right (36) degrees\n    change y by (10)\nend\nset y to (0)\n\nwhen I receive [next level v]\ngo to x: (0) y: (-100)\nset [fisheye v] effect to (100)\nset [brightness v] effect to (0)\nset [whirl v] effect to (100)\nnext costume\nrepeat (10)\n    change [fisheye v] effect by (-10)\n    change [whirl v] effect by (-10)\n    change [brightness v] effect by (0)\n    turn right (36) degrees\n    change y by (10)\nend\nset y to (0)\n\nnext costume\n\n@clouds\n\nwhen flag clicked\nhide\nforever\n    wait (0.3) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (pick random (1) to (3))\nset x to (210)\nset y to (pick random (86) to (151))\nset [ghost v] effect to (pick random (40) to (80))\nshow\nif <(pick random (1) to (3)) = [3]> then\n    repeat until <[-226] > (x position)>\n        change x by (-10)\n    end\nelse\n    if <(pick random (1) to (2)) = [2]> then\n        repeat until <[-226] > (x position)>\n            change x by (-4)\n        end\n    else\n        repeat until <[-226] > (x position)>\n            change x by (-1.5)\n        end\n    end\nend\ndelete this clone\n\n@LET ME WIN THE CONTEST PLS\n\n