みんな大好きプラットフォーマー Ver1.3

Instructions: \n\n\\ みんな大好きプラットフォーマー \\\n   Everyone's Favorite \n\n難易度 / Difficulty ★★★★★\n\n 現在クラウド変数が正常に動作していません\n Cloud variables are not working properly at this time \n\n⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ \n説明を最後まで読まないと損します\nIf you don't read the description all the way through, you're missing out. \n⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ ⚠ ⚠ ⚠  ⚠ ⚠ \n\n\n（日本語の説明は下に記載）\n\n- English - \n\n\n|| Overview\nControl Orange-kun and take him to the goal. If you hit the needle, the game is over.\nCan you clear the game?\nOnly one stage.\n\nThere are URLs for hints and explanatory videos at the bottom.\nPlease do not ever give spoilers in the comments section or elsewhere. If we receive such comments, we will delete them immediately.\n\n\n|| How to operate\n\n▸ PC\n　Go right - Right arrow key or D key\n　Go Left - Left arrow key or A key\n　Jump - Up arrow key or W key\n\n▸ Mobile\n　Go right - Tap right\n　Go Left - Tap Left\n　Jump - Tap the top\n\n\n|| Explanation of the play screen\nClick the lower right button to see the world record of time to clear the game, the total number of times "Orange-kun" has died worldwide, and the total number of times the game has been cleared worldwide.\nYou can hide them by clicking again.\n\n\n|| Explanation of the results\nThe top one is your time to clear, the second from the top is the shortest time to clear, the third from the top is the total number of times "Mr. Orange" has died in the whole world, and the bottom one is the total number of times he has cleared in the whole world.\n\n\n|| Credit\n\n▸ Music　　\n　ゆったり DIY\n　https://www.springin.org/sound-stock/\n\n▸ Fonts used in this work\n　Arial (used for the story)\n　M PLUS Rounded 1c (used for thumbnails)\n\n▸ Reference\n　@Crystal-25\n\n\n|| Video with hints and instructions on how to clear the site\n\n▸ Hints\n　・Needle! It looks strong but it's actually a coward...?\n　・It may change its appearance, but its function is the same...?\n　・Don't get caught up in the common wisdom of going to the right\n　・If you have the courage, you can open the way\n　・Once again...\n\n▸ Explanatory video on how to clear\n　https://www.youtube.com/watch?v=H8EsgHqgH3Y\n\n\n\n\n- 日本語 - \n\n\n|| 概要\nオレンジ君を操ってゴールまで連れて行ってください。針に当たるとゲームオーバーです。\nあなたはクリアできるかな？\nステージは1つしかありません。\n\n一番下にヒント、解説動画のURLがあります。\n絶対にコメント欄などでネタバレはしないでください。そのようなコメントがあった場合すぐに削除させていただきます。\n\n\n|| 操作方法\n\n▸ PC\n　右に進む　ー　右向き矢印キー or Dキー\n　左に進む　ー　左向き矢印キー or Aキー\n　ジャンプ　ー　上向き矢印キー or Wキー\n\n▸ モバイル\n　右に進む　ー　右側をタップ\n　左に進む　ー　左側をタップ\n　ジャンプ　ー　上をタップ\n\n\n|| プレイ画面の説明\n右下のボタンを押すとクリアするまでの時間の世界記録、「オレンジ君」の全世界の総死亡回数、全世界の総クリア回数を見ることができます。\nもう一度クリックすることで非表示にできます。\n\n\n|| 結果発表の説明\n1番上が自分のクリアするまでの時間で、上から2番目がクリアするまでの時間の最短記録、上から3番目が「オレンジ君」の全世界の総死亡回数、一番下が全世界の総クリア回数です。\n\n\n|| クレジット / Credit\n\n▸ 音楽 / Music　　\n　ゆったりDIY\n　https://www.springin.org/sound-stock/\n\n▸ この作品で使用しているフォント\n　Arial（ストリーに使用）\n　M PLUS Rounded 1c（サムネイルに使用）\n\n▸ 参考\n　@Crystal-25\n\n\n|| ヒントとクリア方法の解説動画\n\n▸ ヒント\n　・針だ！強そうに見えるけど実は臆病者...？\n　・姿が変わっても機能は同じ...？\n　・右に行くという常識にとらわれるな。\n　・勇気があれば、道は開ける。\n　・もう一度...\n\n▸ クリア方法の解説動画\n　https://www.youtube.com/watch?v=H8EsgHqgH3Y\n　\n\n\n|| 更新履歴\n\n　Ver1.1　右下のボタンを押したときにプロジェクト\n　　　　　を一時停止するプログラムを追加\n\n　Ver1.2　右下のボタンをストーリーを閉じてから表\n　　　　　示するように変更\n\n　Ver1.3　Playerをy座標-113からスタートするように\n　　　　　変更\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#Platformer　#nanakusa03　#trap　#VeryDifficult\n#Orange　#game　#激ムズ　#みんな大好き\n#プラットフォーマー　#オレンジ　#ゲーム　#トラップ　#罠　#ななくさ\n

@Stage\n\nwhen flag clicked\nset volume to (100) %\nbroadcast (Game - start v)\nforever\n    play sound [Short60_ゆったりDIY_01 v] until done\nend\n\nwhen I receive [result v]\nrepeat (10)\n    change volume by (-10)\nend\n\nwhen I receive [game - start v]\nset [result? v] to [0]\nset [my time v] to [0]\nrepeat until <(Result?) = [1]>\n    wait (0.95) seconds\n    change [my time v] by (1)\nend\n\nwhen I receive [result v]\n\n@Stage\n\nwhen I receive [game - start v]\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\n@Player\n\nwhen I receive [game - start v]\ngo to x: (-210) y: (-113)\nset rotation style [left-right v]\nshow\npoint in direction (90)\nset [player y v] to [0]\nset [player x v] to [0]\nforever\n    if <(l l) = [1]> then\n        wait until <not <(l l) = [1]>>\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > [100]> and <mouse down?>>> then\n        change [player x v] by (1)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < [-100]> and <mouse down?>>> then\n        change [player x v] by (-1)\n        point in direction (-90)\n    end\n    set [player x v] to ((Player x) * (0.9))\n    change x by (Player x)\n    if <<<touching (stage v)?> or <touching (trap4 v)?>> or <<touching (trap6 v)?> or <touching (trap8 v)?>>> then\n        change x by ((Player x) * (-1))\n        set [player x v] to [0]\n    end\n    change [player y v] by (-1)\n    change y by (Player y)\n    if <<<touching (stage v)?> or <touching (trap4 v)?>> or <<touching (trap6 v)?> or <touching (trap8 v)?>>> then\n        change y by ((Player y) * (-1))\n        set [player y v] to [0]\n    end\n    if <<<touching (stage v)?> or <touching (trap4 v)?>> or <<touching (trap6 v)?> or <touching (trap8 v)?>>> then\n        めり込み防止\n    end\n    change y by (-1)\n    if <<<touching (stage v)?> or <touching (trap4 v)?>> or <<touching (trap6 v)?> or <touching (trap8 v)?>>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [100]> and <mouse down?>>> then\n            start sound [Jump v]\n            set [player y v] to [13]\n        end\n    end\n    change y by (1)\n    if <<touching color (#ff6666)?> or <touching color (#ff7373)?>> then\n        broadcast (Reset - effect v)\n        start sound [打撃1 v]\n        hide\n        wait (0.5) seconds\n        show\n        broadcast (Game - reset v)\n    end\n    if <touching (trap - goal v)?> then\n        start sound [グロッケングリッサンド3 v]\n        set [l l v] to [1]\n        broadcast (Result v)\n    end\nend\n\nwhen I receive [game - reset v]\nchange [☁ orange death count v] by (1)\ngo to x: (-210) y: (-110)\npoint in direction (90)\nset [player y v] to [0]\nset [player x v] to [0]\n\ndefine めり込み防止\nrepeat until <not <<<touching (stage v)?> or <touching (trap4 v)?>> or <touching (trap6 v)?>>>\n    change y by (1)\nend\nchange y by (1)\nset [player y v] to [0]\n\nwhen I receive [warp! v]\nset x to (220)\nset [player x v] to [0]\nset [player y v] to [0]\n\n@顔\n\nwhen I receive [game - start v]\ngo to [front v] layer\nset rotation style [left-right v]\nforever\n    go to (player v)\nend\n\nwhen I receive [reset - effect v]\nhide\nwait (0.5) seconds\nshow\n\n@Particle\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0) seconds\nend\n\nwhen I start as a clone\ngo to x: (pick random (-240) to (240)) y: (-180)\nset size to (pick random (10) to (100)) %\nset [ghost v] effect to ((130) - (size))\ngo to [back v] layer\nrepeat until <(y position) > [100]>\n    change y by ((size) / (20))\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\n@Trap1\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (-150) y: (-180)\npoint in direction (90)\nwait (0) seconds\nwait until <([x position v] of [player v]) > [-180]>\nrepeat (20)\n    change y by (((-115) - (y position)) / (4))\nend\nwait until <<(Player x) > [6]> and <([y position v] of [player v]) < [-100]>>\nrepeat until <(x position) > [70]>\n    set x to (([x position v] of [player v]) + (38))\nend\nwait until <([x position v] of [player v]) > [175]>\nrepeat (50)\n    change x by (((180) - (x position)) / (4))\n    turn right (((180) - (direction)) / (4)) degrees\nend\n\n@Trap2\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\nswitch costume to (1 v)\ngo to x: (-120) y: (210)\npoint in direction (90)\nwait (0) seconds\nwait until <(Player y) > [1]>\nrepeat (20)\n    change y by (((-50) - (y position)) / (4))\nend\nwait until <(stop!) = [1]>\nrepeat (45)\n    turn right (2) degrees\nend\nwait until <(x position) > [-163]>\n\n@Effect\n\nwhen I receive [reset - effect v]\ngo to (player v)\nEffect\n\ndefine Effect\nrepeat (18)\n    create clone of (_myself_ v)\n    turn right (20) degrees\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset size to (100) %\nshow\nset [speed v] to (pick random (5) to (30))\nrepeat until <(size) < [20]>\n    move (Speed) steps\n    change size by (-5)\n    change [speed v] by (((0) - (Speed)) / (4))\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [result v]\ngo to (player v)\nEffect\n\n@Flash\n\nwhen I receive [game - start v]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [reset - effect v]\ngo to [front v] layer\nwait (0.2) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Trap3\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (270) y: (10)\npoint in direction (90)\nwait (0) seconds\nwait until <([x position v] of [player v]) > [175]>\nrepeat until <(round (x position)) = [220]>\n    change x by (((220) - (x position)) / (4))\nend\nset [天井作ってok? v] to [1]\nrepeat until <<(x position) < [-215]> or <(stop!) = [1]>>\n    change x by (-1)\nend\nwait until <<([y position v] of [player v]) > [100]> and <([x position v] of [player v]) > [-160]>>\nrepeat (90)\n    turn right (1) degrees\nend\n\n@Trap4\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\nset [天井作ってok? v] to [0]\ngo to x: (0) y: (10)\npoint in direction (90)\nhide\nwait (0) seconds\nwait until <<<([x position v] of [player v]) < [0]> and <(Player y) > [1]>> and <(天井作ってOk?) = [1]>>\nshow\nwait until <(stop!) = [1]>\nhide\n\n@Trap5\n\nwhen I receive [game - start v]\nset [stop! v] to [0]\nset [player up! v] to [0]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nset [stop! v] to [0]\nset [player up! v] to [0]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\nswitch costume to (1 v)\ngo to x: (0) y: (-30)\npoint in direction (90)\nwait (0) seconds\nwait until <<<([x position v] of [player v]) < [0]> and <(Player y) > [1]>> and <(天井作ってOk?) = [1]>>\nwait until <not <(Player y) > [1]>>\nwait until <<([x position v] of [player v]) < [0]> and <(Player y) > [1]>>\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (4))\nend\nwait until <touching (player v)?>\nswitch costume to (2 v)\nset [stop! v] to [1]\nwait (1) seconds\nswitch costume to (3 v)\nwait until <<([x position v] of [player v]) < [-200]> and <(Player y) < [-5]>>\nrepeat (30)\n    change y by (((-35) - (y position)) / (4))\nend\nset [player up! v] to [1]\n\n@Trap6\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\nswitch costume to (1 v)\ngo to x: (0) y: (-30)\npoint in direction (90)\nwait (0) seconds\nwait until <(Player up!) = [1]>\nrepeat (250)\n    change y by (1)\nend\n\n@Trap7\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (-130) y: (220)\npoint in direction (90)\nwait (0) seconds\nwait until <<([y position v] of [player v]) > [100]> and <([x position v] of [player v]) > [-175]>>\nrepeat (200)\n    change y by (-20)\n    turn right (10) degrees\nend\n\n@Trap - goal\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (260) y: (115)\npoint in direction (90)\nwait (0) seconds\nwait until <<([y position v] of [player v]) > [100]> and <([x position v] of [player v]) > [-150]>>\nwait (3) seconds\nrepeat (50)\n    change x by (((180) - (x position)) / (4))\nend\n\n@Trap8\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\nhide\nswitch costume to (1 v)\ngo to x: (0) y: (0)\npoint in direction (90)\nwait (0) seconds\nwait until <<([y position v] of [player v]) > [100]> and <([x position v] of [player v]) > [-165]>>\nshow\nwait until <<([y position v] of [player v]) > [100]> and <([x position v] of [player v]) > [30]>>\nswitch costume to (2 v)\n\n@opening\n\nwhen flag clicked\nset [l l v] to [1]\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <mouse down?>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [l l v] to [0]\n\n@Trap9\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (0) y: (210)\npoint in direction (90)\nwait (0) seconds\nwait until <<([y position v] of [player v]) > [100]> and <(Player y) > [1]>>\nrepeat (20)\n    change y by (((180) - (y position)) / (4))\nend\n\n@Trap10\n\nwhen I receive [game - start v]\ngo to [back v] layer\n動作\n\nwhen I receive [game - reset v]\nstop [other scripts in sprite v]\n動作\n\ndefine 動作\ngo to x: (0) y: (0)\npoint in direction (90)\nset [ghost v] effect to (100)\nwait until <<touching (player v)?> and <(round ([x position v] of [trap - goal v])) = [180]>>\nbroadcast (Warp! v)\n\n@Result\n\nwhen flag clicked\nhide\n\nwhen I receive [result v]\nwait (1) seconds\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@数字表示\n\ndefine 書く：テキスト (テキスト) x (x) y (y) 大きさ (大きさ) 色 (色) 明るさ (明るさ) 透明度 (透明度) テキスト登場効果 (0～5)\nhide\ngo to [front v] layer\nset [count v] to [1]\nset [テキスト登場効果 v] to (0～5)\nset [color v] effect to (色)\nset [brightness v] effect to (明るさ)\nset [ghost v] effect to (透明度)\nset size to (大きさ) %\ngo to x: (x) y: (y)\nset [size v] to (size)\nset [移動先x v] to (x position)\nrepeat (length of (テキスト))\n    switch costume to (letter (Count) of (テキスト))\n    create clone of (_myself_ v)\n    change x by ((大きさ) / (7.3))\n    set [移動先x v] to (x position)\n    change [count v] by (1)\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nif <not <(テキスト登場効果) = [0]>> then\n    if <(テキスト登場効果) = [1]> then\n        set [ghost v] effect to (100)\n        wait ((Count) / (20)) seconds\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <(テキスト登場効果) = [2]> then\n        hide\n        wait ((Count) / (20)) seconds\n        show\n        point in direction (-75)\n        set size to (0) %\n        repeat (50)\n            turn right (((90) - (direction)) / (4)) degrees\n            change size by (((Size) - (size)) / (4))\n        end\n    end\n    if <(テキスト登場効果) = [3]> then\n        set x to (250)\n        set [ghost v] effect to (100)\n        wait ((Count) / (10)) seconds\n        repeat (50)\n            change x by (((移動先x) - (x position)) / (6))\n            change [ghost v] effect by (-5)\n        end\n    end\n    if <(テキスト登場効果) = [4]> then\n        set size to (542) %\n        set [ghost v] effect to (100)\n        wait ((Count) / (40)) seconds\n        repeat (50)\n            change size by (((Size) - (size)) / (4))\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <(テキスト登場効果) = [5]> then\n        hide\n        wait ((Count) / (20)) seconds\n        show\n    end\nend\n\nwhen I receive [数字clone削除 v]\ndelete this clone\n\nwhen I receive [result v]\nデータ処理\nwait (1) seconds\n書く：テキスト (My time) x [35] y [32] 大きさ [110] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\nwait (0.2) seconds\n書く：テキスト (☁ World record) x [35] y [-13] 大きさ [110] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\nwait (0.2) seconds\n書く：テキスト (☁ Orange death count) x [35] y [-62] 大きさ [110] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\nwait (0.2) seconds\n書く：テキスト (☁ Clear count) x [35] y [-110] 大きさ [110] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\n\nwhen flag clicked\nhide\n\ndefine データ処理\nset [result? v] to [1]\nchange [☁ clear count v] by (1)\nif <(☁ World record) > (My time)> then\n    set [☁ world record v] to ((My time) + (1))\nend\n\nwhen I receive [開く v]\n書く：テキスト (☁ World record) x [35] y [-50] 大きさ [85] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\nwait (0.2) seconds\n書く：テキスト (☁ Orange death count) x [35] y [-92] 大きさ [85] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\nwait (0.2) seconds\n書く：テキスト (☁ Clear count) x [35] y [-133] 大きさ [85] 色 [0] 明るさ [100] 透明度 [0] テキスト登場効果 [3]\n\n@記録表示\n\nwhen flag clicked\nhide\nwait until <mouse down?>\ngo to [front v] layer\ngo to x: (0) y: (-185)\nshow\nrepeat until <(Result?) = [1]>\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(round (y position)) = [-185]> then\n            set [l l v] to [1]\n            broadcast (開く v)\n            repeat until <(round (y position)) = [0]>\n                change y by (((0) - (y position)) / (4))\n            end\n        else\n            set [l l v] to [0]\n            broadcast (数字clone削除 v)\n            repeat until <(round (y position)) = [-180]>\n                change y by (((-185) - (y position)) / (4))\n            end\n        end\n    end\nend\nrepeat (20)\n    change y by (((-210) - (y position)) / (4))\nend\nhide\n\n@サムネイル\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\ngo to [front v] layer\n\n