MARS platformer 3 #games #all

Instructions: 目指せフォロワー3K！\nhttps://scratch.mit.edu/projects/893648049/\n\n新作　ONLINE ONLY UP！\nhttps://scratch.mit.edu/projects/875389667/\n\n新アニメスタジオ！\nhttps://scratch.mit.edu/studios/33830706\n\nモバイルとパソコン両方に対応しています！\n\n拡散希望！\n\n画面左タップ・・・左移動\n画面右タップ・・・右移動\n画面左上タップ・・・左ジャンプ\n画面右上タップ・・・右ジャンプ\n\nNew work ONLINE ONLY UP！\nhttps://scratch.mit.edu/projects/875389667/\n\nIt is compatible with both mobile and PC!\n\nHope to spread!\n\nLeft tap on the screen ... move left\nRight tap on the screen ... Move to the right\nTap on the upper left of the screen ... Jump left\nTap in the upper right corner of the screen ... Jump to the right\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [YE v] until done\nend\n\n@スプライト1\n\nwhen I start as a clone\nswitch costume to (クローン v)\nrepeat (10)\n    change size by (-5.1)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine 初期設定\nshow\nclear graphic effects\nset [ｘ v] to [0]\nset [ｙ v] to [0]\ngo to x: (-201) y: (-30)\n\nwhen flag clicked\nhide\nwait (1) seconds\nbroadcast (START v)\n\nshow\n\nwhen I receive [start v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [start v]\nswitch costume to (コスチューム１ v)\n初期設定\nforever\n    switch costume to (止まる v)\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        change [ｘ v] by (1.3)\n        switch costume to (右 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [ｘ v] by (-1.3)\n        switch costume to (左 v)\n    end\n    set [ｘ v] to ((ｘ) * (0.9))\n    change x by (ｘ)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change x by ((ｘ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n                                if <(ｘ) < [0]> then\n                                    set [ｘ v] to [10]\n                                    start sound [Zoop v]\n                                else\n                                    set [ｘ v] to [-10]\n                                    start sound [Zoop v]\n                                end\n                                set [ｙ v] to [13]\n                            else\n                                set [ｘ 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 <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n        if <touching (地面 v)?> then\n            start sound [Jump  v]\n            set [ｙ v] to [13]\n        end\n    end\n    change y by (1)\n    change [ｙ v] by (-1)\n    change y by (ｙ)\n    if <touching (地面 v)?> then\n        change y by ((ｙ) * (-1))\n        set [ｙ v] to [0]\n    end\n    if <<(y position) < [-182]> or <<touching (トゲ v)?> or <touching (スプライト3 v)?>>> then\n        start sound [Oops  v]\n        初期設定\n        wait (0.8) seconds\n    end\n    if <[242] < (x position)> then\n        broadcast (メッセージ1 v)\n        初期設定\n        wait (1.5) seconds\n    end\n    if <touching (bane v)?> then\n        set [ｙ v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [11]> then\n        say [you took] for (1) seconds\n        say (timer) for (3) seconds\n        say [To finish the Platformer ] for (2) seconds\n    end\nend\n\n@地面\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\ngo to x: (0) y: (35)\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [start v]\n\n\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <(ステージ) = [10]> then\n        go to [back v] layer\n        show\n    end\nend\n\n@こ2\n\nwhen flag clicked\nset [stage v] to [1]\nhide\n\nwhen I receive [メッセージ1 v]\ngo to [front v] layer\nshow\ngo to x: (456) y: (0)\nstart sound [Disconnect v]\nrepeat (10)\n    move (([abs v] of (x position) ) / (-2)) steps\nend\nwait (0.1) seconds\nrepeat (18)\n    move (([abs v] of (x position) ) / (2)) steps\nend\nhide\n\nwhen I receive [メッセージ1 v]\nchange [stage v] by (1)\nforever\n    go to [front v] layer\nend\n\n@こ\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (背景3 v)\nshow\nwait (3) seconds\nnext costume\n\n@bane\n\nwhen flag clicked\nset [ステージ v] to [0]\nhide\n\nwhen I receive [start v]\nset [ステージ v] to [１]\nforever\n    if <(ステージ) = [5]> then\n        go to x: (0) y: (35)\n        go to [front v] layer\n        show\n        switch costume to (コスチューム2 v)\n    else\n        if <(ステージ) = [6]> then\n            go to x: (0) y: (35)\n            go to [front v] layer\n            show\n            switch costume to (コスチューム1 v)\n        else\n            hide\n        end\n    end\n    if <touching (スプライト1 v)?> then\n        start sound [Whiz v]\n    end\nend\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\n\nhide\n\n@トゲ\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nset [time v] to [0]\npoint in direction (90)\ngo to x: (0) y: (35)\ngo to [front v] layer\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [start v]\nforever\n    if <(ステージ) = [4]> then\n        go to x: (100) y: (20)\n        turn left (5) degrees\n    else\n        if <(ステージ) = [5]> then\n            go to x: (100) y: (25)\n            turn left (5) degrees\n        else\n            go to x: (0) y: (35)\n            point in direction (90)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    repeat until <(ステージ) = [11]>\n        change [time v] by (1)\n        wait (1) seconds\n    end\nend\n\n\n\ngo to x: (0) y: (35)\npoint in direction (90)\n\n@スプライト3\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム1 v)\n        show\n        go to x: (0) y: (0)\n    else\n        if <(ステージ) = [5]> then\n            switch costume to (コスチューム2 v)\n            show\n            go to x: (0) y: (0)\n        else\n            hide\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset size to (50) %\ngo to x: (-179) y: (-140)\nforever\n    if <(stage) = [1]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [2]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [4]> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [3]> then\n        switch costume to (costume3 v)\n    end\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [5]> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [6]> then\n        switch costume to (costume6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [7]> then\n        switch costume to (costume7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [8]> then\n        switch costume to (costume8 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [9]> then\n        switch costume to (costume9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(stage) = [10]> then\n        switch costume to (costume10 v)\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <(stage) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nshow\ngo to [front v] layer\nwait (2) seconds\nhide\n\n