The light and dark ~ platformer Part 1 - Beginning
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [Nenshou v] until done\nend\n\nwhen I receive [flashy the flash v]\nwait (0.5) seconds\nnext backdrop\n\nwhen flag clicked\nwait until <(backdrop [number v]) = [16]>\nbroadcast (End v)\n\n@all powerful line\n\nwhen flag clicked\ngo to x: (12) y: (-1)\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@It\n\ndefine Physics\nif <key (right arrow v) pressed?> then\n    point in direction (90)\n    change [xv v] by (0.85)\nend\nif <key (left arrow v) pressed?> then\n    point in direction (-90)\n    change [xv v] by (-0.85)\nend\nset [xv v] to ((Xv) * (0.87))\nchange x by (Xv)\nif <<touching color (#000000)?> or <touching (sprite4 v)?>> then\n    change x by ((Xv) * (-1))\n    set [xv v] to [0]\nend\nchange y by (Yv)\nif <touching color (#ff0000)?> then\n    broadcast (Die v)\nend\nif <touching (all powerful line v)?> then\n    broadcast (Next Level v)\nend\nif <<touching color (#000000)?> or <touching (sprite4 v)?>> then\n    change y by ((Yv) * (-1))\n    if <key (up arrow v) pressed?> then\n        if <(Yv) < [0.1]> then\n            if <not <touching color (#ff6642)?>> then\n                set [yv v] to [13]\n            end\n        end\n    else\n        if <(Yv) < [0.1]> then\n            set [yv v] to [0]\n        else\n            change [yv v] by (-1)\n        end\n    end\nend\nchange [yv v] by (-1)\nif <<touching color (#7f00ff)?> or <touching color (#ffc984)?>> then\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [3]\n    end\nend\nif <touching color (#7f00ff)?> then\n    if <not <key (up arrow v) pressed?>> then\n        set [yv v] to [-3]\n    end\nend\nif <touching color (#ff9400)?> then\n    change [yv v] by (24)\nend\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\ngo to x: (217) y: (-143)\nforever\n    Physics\nend\n\nwhen I receive [die v]\ngo to x: (217) y: (-143)\n\nwhen I receive [next level v]\ngo to x: (217) y: (-143)\n\nwhen [r v] key pressed\ngo to x: (217) y: (-143)\n\nwhen I receive [end v]\nhide\n\nhide\n\n@Other it\n\ndefine Physics\nif <key (right arrow v) pressed?> then\n    point in direction (-90)\n    change [xv v] by (-0.85)\nend\nif <key (left arrow v) pressed?> then\n    point in direction (90)\n    change [xv v] by (0.85)\nend\nset [xv v] to ((Xv) * (0.87))\nchange x by (Xv)\nif <<touching (sprite4 v)?> or <touching color (#ffffff)?>> then\n    change x by ((Xv) * (-1))\n    set [xv v] to [0]\nend\nchange y by (Yv)\nif <touching color (#ff0000)?> then\n    broadcast (Die v)\nend\nif <touching (all powerful line v)?> then\n    broadcast (Next Level v)\nend\nif <<touching (sprite4 v)?> or <touching color (#ffffff)?>> then\n    change y by ((Yv) * (-1))\n    if <key (up arrow v) pressed?> then\n        if <(Yv) < [0.1]> then\n            if <not <touching color (#ff6642)?>> then\n                set [yv v] to [13]\n            end\n        end\n    else\n        if <(Yv) < [0.1]> then\n            set [yv v] to [0]\n        else\n            change [yv v] by (-1)\n        end\n    end\nend\nchange [yv v] by (-1)\nif <<touching color (#7f00ff)?> or <touching color (#ffc984)?>> then\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [3]\n    end\nend\nif <touching color (#7f00ff)?> then\n    if <not <key (up arrow v) pressed?>> then\n        set [yv v] to [-3]\n    end\nend\nif <touching color (#ff9400)?> then\n    change [yv v] by (24)\nend\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\ngo to x: (-217) y: (-143)\nforever\n    Physics\nend\n\nwhen I receive [die v]\ngo to x: (-217) y: (-143)\n\nwhen I receive [next level v]\ngo to x: (-217) y: (-143)\n\nwhen [r v] key pressed\ngo to x: (-217) y: (-143)\n\nwhen I receive [end v]\nhide\n\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\ngo to [front v] layer\nshow\n\nnext costume\n\n@Sprite5\n\nwhen flag clicked\nhide\ngo to x: (-282) y: (-126)\nswitch costume to (costume2 v)\n\nwhen I receive [end v]\nshow\nglide (2) secs to x: (-89) y: (-126)\n\nwhen I receive [flashy the flash v]\nwait (0.5) seconds\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\ngo to x: (258) y: (-148)\nswitch costume to (costume2 v)\n\nwhen I receive [end v]\nshow\nglide (2) secs to x: (63) y: (-148)\nwait (0.5) seconds\nbroadcast (enddddd v)\n\nwhen I receive [earth v]\nglide (3) secs to x: (-266) y: (-148)\nbroadcast (END IT ALREADY v)\n\n@Sprite1\n\nwhen flag clicked\nhide\ngo to x: (24) y: (-11)\n\nwhen I receive [enddddd v]\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nswitch costume to (costume2 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nswitch costume to (costume3 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nswitch costume to (costume4 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nswitch costume to (costume5 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nswitch costume to (costume7 v)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    wait (0.02) seconds\nend\nbroadcast (Flashy the flash v)\nwait (0.5) seconds\nswitch costume to (costume6 v)\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.02) seconds\nend\nwait (1) seconds\nhide\nbroadcast (Earth v)\n\n@Sprite2\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [flashy the flash v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    wait (0.06) seconds\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [end it already v]\nshow\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (0) y: (-157)\nset [ghost v] effect to (100)\n\n
Use the arrow keys, get to the middle. My recommendation to make this easier is focus on the one on the white side, that goes the normal direction of the player. And remember, dont rage quit, you wont, its not too hard.\nPart 2: https://scratch.mit.edu/projects/221263030/