sketch platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Flower Field - Smash Ultimate OST v] until done\nend\n\n@Gofcio\n\nwhen flag clicked\nbroadcast (PLAY v)\nshow\nswitch costume to (kostium2 v)\nset size to (100) %\ngo to x: (-210) y: (0)\nset rotation style [left-right v]\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\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    change y by (y)\n    if <touching (level v)?> 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?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (level v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching (danger v)?> or <touching (sprite1 v)?>> then\n        set rotation style [all around v]\n        repeat (10)\n            change size by (-10)\n            change [ghost v] effect by (10)\n            turn right (15) degrees\n        end\n        clear graphic effects\n        set size to (100) %\n        set rotation style [left-right v]\n        point in direction (90)\n        go to x: (-210) y: (0)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <(x position) > [240]> then\n        broadcast (Next Level v)\n        go to x: (-210) y: (0)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <touching (trampolines v)?> then\n        set [y v] to [15]\n    end\n    if <<key (up arrow v) pressed?> and <touching (trampolines v)?>> then\n        set [y v] to [20]\n    end\nend\n\n@Sprite1\n\n@Sprite2\n\nwhen flag clicked\nset [ghost v] effect to (50)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nforever\n    show\n    wait (2) seconds\n    hide\n    wait (5) seconds\nend\n\n@Danger\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\ngo to x: (0) y: (0)\n\n@Detector\n\nwhen flag clicked\nshow\nset [@id v] to [1]\ncreate clone of (_myself_ v)\nset [@id v] to [2]\ncreate clone of (_myself_ v)\nset [stared? v] to [0]\nset [loved? v] to [0]\nwait until <<(Stared?) = [1]> and <(Loved?) = [1]>>\nwait (0.1) seconds\nbroadcast (alert v)\n\nwhen I start as a clone\nshow\ngo to x: (-15) y: (0)\nif <(@id) = [1]> then\n    switch costume to (fave v)\n    forever\n        if <touching (mouse-pointer v)?> then\n            wait (0.03) seconds\n            if <touching (mouse-pointer v)?> then\n                set [stared? v] to ((1) - (Stared?))\n                wait until <not <touching (mouse-pointer v)?>>\n                wait (0.05) seconds\n            end\n        end\n    end\nelse\n    if <(@id) = [2]> then\n        switch costume to (love v)\n        forever\n            if <touching (mouse-pointer v)?> then\n                wait (0.03) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [loved? v] to ((1) - (Loved?))\n                    wait until <not <touching (mouse-pointer v)?>>\n                    wait (0.05) seconds\n                end\n            end\n        end\n    end\nend\n\n@lf_UI\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nshow\nswitch costume to (costume2 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-10)\n    change y by (((0) - (y position)) / (7))\nend\nwait (4) seconds\nrepeat until <(y position) > [50]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [play v]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n
350 followers contest- https://scratch.mit.edu/projects/474277294/