A Nᴇᴇᴅʟᴇ ... ?   #Platformer #Games
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\nforever\n    play sound [Tobu -Hope v] until done\nend\n\nwhen I receive [next stage v]\nnext backdrop\n\n@主\n\nwhen flag clicked\nbroadcast (Next stage v)\n\ndefine motion <touch>\nswitch costume to (コスチューム3 v)\npoint in direction (90)\nset [out v] to [0]\nshow\nset rotation style [left-right v]\ngo to x: (-210) y: (-60)\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [all around v]\nset [向き v] to [90]\nforever\n    point in direction (向き)\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        change [向き v] by (10)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        change [向き v] by (-10)\n    end\n    if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n        change y by (1)\n        if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n            change y by (1)\n            if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n                change y by (1)\n                if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n                    change y by (1)\n                    if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n                        change y by (1)\n                        if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-6]\n                                else\n                                    set [x v] to [6]\n                                end\n                                set [y v] to [10]\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 <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n        if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n            set [y v] to [15]\n        end\n    end\n    if <(y position) < [-180]> then\n        start sound [crashed oof v]\n        hide\n        go to x: (-200) y: (0)\n        point in direction (90)\n        show\n    end\n    change y by (Y)\n    change [y v] by (-1)\n    if <[220] < (x position)> then\n        broadcast (Next v)\n    end\n    if < or <<touching color (#ff7b00)?> or <<touching color (#ca7500)?> or <<touching color (#21ca00)?> or <touching color (#2bff00)?>>>>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    if <touching color (#ff0000)?> then\n        start sound [crashed oof v]\n        set [out v] to [1]\n        set [y v] to [15]\n        repeat until <(y position) < [-180]>\n            set [向き v] to (direction)\n            turn right (10) degrees\n            change [y v] by (-1)\n            change y by (Y)\n        end\n        hide\n        go to x: (-210) y: (0)\n        point in direction (90)\n        set [向き v] to [90]\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\nend\n\nwhen I receive [next stage v]\nmotion <>\n\n@地\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next v]\nnext costume\nbroadcast (Next stage v)\ngo to [front v] layer\n\n@影\n\nwhen I receive [next stage v]\nforever\n    go to (主 v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nset size to (100) %\nrepeat (50)\n    if <(OUT) = [1]> then\n        repeat (20)\n            point in direction (向き)\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    else\n        point in direction (向き)\n        change [ghost v] effect by (2)\n    end\nend\ndelete this clone\n\nwhen I receive [next v]\ndelete this clone\n\n@表\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n
Wasd keys and arrow keys. CHECK OUT https://scratch.mit.edu/projects/778282006! Its the sequel!\n@RadarX did more than 90 percent code. \nTo advertise, love, fave, and follow.