Together Mobile Platformer
@Stage\n\nwhen I receive [game start v]\nforever\n    switch backdrop to (join (level) (translate))\nend\n\n@Player red\n\ndefine 動く (選択（変数）) (選択（x, y）) <操作> (x, y) (向き)\nif <操作> then\n    if <(選択（変数）) = [ずつ変える]> then\n        if <(選択（x, y）) = [x]> then\n            change [x v] by (x, y)\n        else\n            change [y v] by (x, y)\n        end\n    else\n        if <(選択（x, y）) = [x]> then\n            set [x v] to (x, y)\n        else\n            set [y v] to (x, y)\n        end\n    end\n    point in direction (向き)\nend\n\nwhen I receive [game start v]\nset rotation style [left-right v]\nstart position\nset [ghost v] effect to (0)\nforever\n    create clone of (_myself_ v)\n    動く [ずつ変える] [x] <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> [2.2] [90]\n    動く [ずつ変える] [x] <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> [-2.2] [-90]\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (15))>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-11]\n                                else\n                                    set [x v] to [11]\n                                end\n                                set [y v] to [11]\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 v] by (-1)\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    動く [ずつ変える] [y] <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (15))>>> and <touching (level v)?>> [13] []\n    動く [にする] [y] <touching (jump pad v)?> [20] []\n    動く [にする] [x] <touching (boost v)?> [60] []\n    change y by (1)\n    if <touching (next level v)?> then\n        change [level v] by (1)\n        start position\n        start sound [Connect v]\n        wait (0.1) seconds\n    end\n    if <touching (spikes v)?> then\n        broadcast (spikes v)\n        wait (0.075) seconds\n    end\n    if <touching (level2 v)?> then\n        set y to (17)\n    end\nend\n\nwhen flag clicked\nhide\nbroadcast (Game start v)\n\nwhen I receive [spikes v]\nstart sound [Basketball Bounce v]\nstart position\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (4)\n    change [ghost v] effect by (25)\n    wait (0.01) seconds\nend\ndelete this clone\n\nwhen I receive [finish v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [skip v]\nstart position\n\nbroadcast (maintenance v)\n\ndefine start position\npoint in direction (90)\ngo to x: (-210) y: (0)\nset size to (60) %\nshow\nset [x v] to [0]\nset [y v] to [0]\n\n@Player blue\n\nwhen I receive [game start v]\nshow\nforever\n    create clone of (_myself_ v)\n    go to x: ([x position v] of [player red v]) y: (([y position v] of [player red v]) + (166))\n    point in direction ([direction v] of [player red v])\nend\n\nwhen I receive [game start v]\nforever\n    if <touching (spikes v)?> then\n        broadcast (spikes v)\n        wait (0.1) seconds\n    end\n    if <<(y position) > [179]> or <(level) = [14]>> then\n        hide\n    else\n        show\n    end\n    if <(level) = [13]> then\n        if <(translate) = [En]> then\n            say [OMG, I am floating in the air!!] for (0.01) seconds\n        else\n            say [宙に浮いてる！！] for (0.01) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (4)\n    change [ghost v] effect by (25)\n    wait (0.01) seconds\nend\ndelete this clone\n\n@Level\n\nwhen I receive [finish v]\ngo to x: (0) y: (0)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [game start v]\nswitch costume to (1 v)\ngo to x: (0) y: (-190)\nset size to (120) %\nshow\nforever\n    switch costume to (level)\nend\n\n@Level2\n\nwhen flag clicked\nhide\n\nwhen I receive [game start v]\ngo to x: (0) y: (-25)\nset size to (120) %\nforever\n    if <<(level) = [13]> or <(level) = [14]>> then\n        hide\n    else\n        show\n        if <<(level) = [6]> or <(level) = [10]>> then\n            switch costume to (2 v)\n        else\n            if <<(level) = [7]> or <<(level) = [8]> or <(level) = [9]>>> then\n                switch costume to (3 v)\n            else\n                switch costume to (1 v)\n            end\n        end\n    end\nend\n\n@spikes\n\nwhen I receive [finish v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [game start v]\nforever\n    if <<(level) = [1]> or <(level) = [5]>> then\n        hide\n    end\n    if <(level) = [2]> then\n        x : 0  y : 0  表示する [2]\n    end\n    if <(level) = [3]> then\n        x : 0  y : 0  表示する [3]\n    end\n    if <(level) = [4]> then\n        x : 0  y : 0  表示する [4]\n    end\n    if <(level) = [5]> then\n        x : 0  y : 0  表示する [5]\n    end\n    if <(level) = [6]> then\n        x : 0  y : 0  表示する [6]\n    end\n    if <(level) = [7]> then\n        x : 0  y : 0  表示する [7]\n    end\n    if <(level) = [8]> then\n        x : 0  y : 0  表示する [8]\n    end\n    if <(level) = [9]> then\n        x : 0  y : 0  表示する [9]\n    end\n    if <(level) = [10]> then\n        x : 0  y : 0  表示する [10]\n    end\n    if <(level) = [11]> then\n        x : 0  y : 0  表示する [11]\n    end\n    if <(level) = [12]> then\n        x : 0  y : 0  表示する [12]\n    end\n    if <(level) = [13]> then\n        x : 0  y : 0  表示する [13]\n    end\nend\n\ndefine x : 0  y : 0  表示する (コスチュームno.)\nswitch costume to (コスチュームno.)\ngo to x: (0) y: (0)\nshow\n\n@JUMP pad\n\nwhen I receive [game start v]\nhide\nforever\n    if <(level) = [4]> then\n        go to x: (20) y: (-80)\n        show\n    else\n        hide\n    end\n    if <touching (player red v)?> then\n        play sound [煙モクモク v] until done\n    end\nend\n\nwhen I receive [game start v]\nswitch costume to (1 v)\nforever\n    if <<touching (player red v)?> or <touching (player blue v)?>> then\n        repeat (6)\n            next costume\n            wait (0.065) seconds\n        end\n        switch costume to (1 v)\n    end\nend\n\n@BOOST\n\nwhen I receive [game start v]\nhide\nforever\n    if <(level) = [12]> then\n        go to x: (-150) y: (-10)\n        show\n    else\n        hide\n    end\n    if <touching (player red v)?> then\n        play sound [Siren Whistle v] until done\n    end\nend\n\n@next level\n\nwhen I receive [game start v]\nforever\n    repeat (6)\n        change y by (2)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1.5)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (1)\n        wait (0.05) seconds\n    end\n    repeat (6)\n        change y by (-2)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (-1.5)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (-1)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [game start v]\nset [level v] to [1]\ngo to x: (200) y: (-55)\nforever\n    if <(level) = [14]> then\n        hide\n    else\n        show\n    end\nend\n\n@Light\n\nwhen I receive [game start v]\nset size to (175) %\ngo to [back v] layer\nforever\n    if <<(level) = [7]> or <<(level) = [8]> or <(level) = [9]>>> then\n        go to (player red v)\n        show\n    else\n        hide\n    end\nend\n\nset [level v] to [9]\n\n@Translate\n\nwhen I receive [finish v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [game start v]\nshow\nswitch costume to (翻訳 v)\ngo to x: (-205) y: (145)\nforever\n    repeat (6)\n        change y by (1.5)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (0.5)\n        wait (0.05) seconds\n    end\n    repeat (6)\n        change y by (-1.5)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (-0.5)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [game start v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        point in direction (75)\n        if <mouse down?> then\n            broadcast (translate v)\n            play sound [Coin v] until done\n            wait (0.1) seconds\n        end\n    else\n        point in direction (90)\n    end\nend\n\nwhen I receive [translate v]\nnext costume\n\nwhen I receive [game start v]\nforever\n    if <(costume [name v]) = [翻訳]> then\n        set [translate v] to [En]\n    else\n        set [translate v] to [Ja]\n    end\nend\n\n@Skip\n\nwhen I receive [finish v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [game start v]\nset y to (150)\nshow\nforever\n    repeat (6)\n        change y by (-1.5)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (-0.5)\n        wait (0.05) seconds\n    end\n    repeat (6)\n        change y by (1.5)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (0.5)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [game start v]\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        point in direction (75)\n        if <mouse down?> then\n            broadcast (skip v)\n            wait (0.5) seconds\n        end\n    else\n        point in direction (90)\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <(costume [number v]) = [1]> then\n        set x to (-135)\n    else\n        set x to (-65)\n    end\n    if <(translate) = [En]> then\n        switch costume to (skip v)\n    else\n        switch costume to (スキップ v)\n    end\nend\n\nwhen I receive [skip v]\nchange [level v] by (1)\nplay sound [Coin v] until done\n\nwait (0.5) seconds\n\n@文字\n\nwhen I receive [game start v]\nhide\n\nhide\n\n@文字2\n\nwhen I receive [game start v]\nhide\n\nhide\n\n@Follow,❤️,⭐️\n\nwhen I receive [game start v]\nset [ghost v] effect to (50)\ngo to x: (0) y: (-162)\nset size to (100) %\nhide\nwait (6) seconds\nbroadcast (宣伝 v)\n\nwhen I receive [game start v]\nswitch costume to (1 v)\n\nwhen I receive [宣伝 v]\nshow\nwait (6) seconds\nhide\n\n@Follow,❤️,⭐️ 2\n\nwhen I receive [宣伝 v]\nshow\nwait (6) seconds\nhide\n\nwhen I receive [game start v]\ngo to x: (0) y: (-162)\nhide\n\nwhen I receive [game start v]\nforever\n    if <(translate) = [En]> then\n        switch costume to (1 v)\n    else\n        switch costume to (・フォロー ・❤️ ・⭐️ v)\n    end\nend\n\n@Light (演出)\n\nwhen I receive [game start v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nset x to (220)\nset size to (pick random (50) to (60)) %\nif <(level) = [14]> then\n    set y to (pick random (160) to (-160))\nelse\n    set y to (pick random (160) to (-80))\nend\nshow\nrepeat (88)\n    change x by (-5)\nend\ndelete this clone\n\nwhen I start as a clone\nrepeat (3)\n    repeat (6)\n        change y by (2)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1.5)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (1)\n        wait (0.05) seconds\n    end\n    repeat (6)\n        change y by (-2)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (-1.5)\n        wait (0.05) seconds\n    end\n    repeat (2)\n        change y by (-1)\n        wait (0.05) seconds\n    end\nend\n\n@BGM\n\nwhen I receive [game start v]\nstop all sounds\nforever\n    start sound [bensound-creativeminds v]\n    wait (147.17) seconds\nend\n\nwhen I receive [finish v]\nstop [other scripts in sprite v]\nstop all sounds\nwait (0.75) seconds\nforever\n    play sound [bensound-endlessmotion v] until done\nend\n\n@finish\n\nwhen I receive [game start v]\npoint in direction (90)\npoint in direction (90)\npoint in direction (90)\nforever\n    if <(level) = [14]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n        set size to (200) %\n        show\n        repeat (10)\n            turn right (1) degrees\n            wait (0.05) seconds\n        end\n        forever\n            repeat (20)\n                turn left (1) degrees\n                wait (0.05) seconds\n            end\n            repeat (20)\n                turn right (1) degrees\n                wait (0.05) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <(level) = [14]> then\n        broadcast (finish v)\n        wait until <(level) = [1000]>\n    else\n        hide\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <(translate) = [En]> then\n        switch costume to (a v)\n    else\n        switch costume to (b v)\n    end\nend\n\n@finish2\n\nwhen I receive [game start v]\npoint in direction (90)\npoint in direction (90)\npoint in direction (90)\nforever\n    if <(level) = [14]> then\n        point in direction (90)\n        go to x: (0) y: (100)\n        set size to (125) %\n        show\n        forever\n            repeat (10)\n                change size by (3)\n                wait (0.01) seconds\n            end\n            repeat (10)\n                change size by (-3)\n                wait (0.01) seconds\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <(translate) = [En]> then\n        switch costume to (thank you for playing!! \(1\) v)\n    else\n        switch costume to (遊んでくれてありがとう！！ \(1\) v)\n    end\nend\n\n@サムネ\n\nwhen I receive [game start v]\nhide\n\n@-seven7- icon\n\nwhen I receive [game start v]\nshow list [recommended v]\ngo to x: (0) y: (0)\nhide\ndelete all of [recommended v]\nadd [Earth -platform game- \[mobile friendly\] \[English & 日本語\]] to [recommended v]\nadd [↓] to [recommended v]\nadd [https://scratch.mit.edu/projects/398841513/] to [recommended v]\nadd [] to [recommended v]\nadd [Please follow me!!  フォローして下さい！！] to [recommended v]\nadd [↓] to [recommended v]\nadd [https://scratch.mit.edu/users/-seven7-/] to [recommended v]\n\nwhen I receive [finish v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        hide list [recommended v]\n    end\nend\n\n@maintenance\n\nwhen I receive [maintenance v]\nshow\n\n
THE SECOND EDITION IS OUT!!!!! ↓\nhttps://scratch.mit.edu/projects/583242711/\n第二弾ついに登場！！！！！ ↑\n\n~~~~~~~~~~~~Together Mobile Platformer~~~~~~~~~~\n\nCLICK GREEN FLAG TWICE!!\n注：緑の旗を必ず二回クリックして下さい。\n\n〇Characteristics\n • Because mobile friendly you can play on tablet and \n   cell phone!!\n • Two costumes move TOGETHER!! You can have an \n   unprecedented experience!!\n • You can enjoy funny 14 levels!!\n〇Operation\n • Arrow keys, WAD keys and touch screen to move.\n〇Difficulty level\n • 1  2  3  ④  5 \n\n\n〇特徴\n・タブレット･スマホに対応しています！！\n・二つのコスチュームが ”同時に” 動きます！！\n　あなたはいままでにない経験をすることができま\n　す！！\n・あなたは愉快な14つのレベルを楽しむことができま\n　す！！\n〇操作方法\n・矢印キー、WADキー、タッチスクリーンで動きま\n　す。\n〇難易度\n・1  2  3  ④  5