すごろく!?プラットフォーマー ー sugoroku!? Platformer　#game #games

Instructions: 日本語は下\n-------------------------------------------------------------------------\n<< Title >>\nSugoroku !? Platformer\n\n<< How to play >>\nMethod of operation\nPC: arrow keys\nMobile: Tap\n\nYou cannot operate it without rolling the dice.\nYou can see if you can move with 〇 and × at the bottom left.\n\nIf you cannot operate it, you can roll the dice by tapping the dice at the bottom right or pressing the space key.\n\nThe number on the dice is the number of seconds that can be operated.\n(Example: ⚅ = Can move for 6 seconds ... After 6 seconds, it cannot move)\n\n\nIf it is difficult to understand, please let us know in the comments.\n\n<< Notes >>\n･ Please do not change the remix.\n･ Please do not use turbo mode.\n(If you use turbo mode, the turbo mode warning screen will be displayed and you will not be able to play. The turbo mode warning screen is similar to anti-piracy.)\n・ When borrowing, please borrow from the credit.\n・ If there are any bugs, please let us know in the comments.\n･ If you are not logged in to scratch, or if you are NEW scratcher, you cannot break the world record.\n\n<< Promotion >>\nhttps://scratch.mit.edu/studios/31302675\nhttps://scratch.mit.edu/projects/666264572/\nhttps://scratch.mit.edu/projects/661264876/\nhttps://scratch.mit.edu/projects/676526593/\nhttps://scratch.mit.edu/studios/31352637\n\n<< Credit >>\nPlayer program reference:@TonSino\nMusic:@-xaf-\nSound effect:@taichi2323\nObstacles and players:@taichi2323\nTurbo mode countermeasure program:@romenike\n\n-------------------------------------------------------------------------\n\n<<タイトル>>\nすごろく!?Platformer\n\n<<遊び方>>\n操作方法\nPC：矢印キー\nモバイル：タップ\n\nサイコロを振らないと操作できません。\n左下の〇、×で動けるか分かります。\n\n操作できないとき、右下のサイコロをタップ、または、スペースキーを押すとサイコロを振ることができます。\n\nサイコロのでた数字が、操作できる秒数になります。\n(例：⚅＝6秒動ける...6秒経過すると、動けない)\n\n分かりにくい場合、コメントでお知らせください。\n\n<<注意事項>>\n･無変更リミックスはやめてください。\n･ターボモード使用はおやめください。\n(ターボモードを使用した場合、ターボモード警告画面が表示され遊べなくなります。ターボモード警告画面はアンチパイラシーに似ています。)\n･借りる場合、クレジットからお借りください。\n･バグがあった場合、コメントでお知らせください。\n･scratchにログインしていない、または、NEW　scratcherの方は世界記録を更新できません。\n\n<<宣伝>>\nhttps://scratch.mit.edu/studios/31302675\nhttps://scratch.mit.edu/projects/666264572/\nhttps://scratch.mit.edu/projects/661264876/\nhttps://scratch.mit.edu/projects/676526593/\nhttps://scratch.mit.edu/studios/31352637\n\n<<クレジット>>\nプレイヤープログラム参考：@TonSino様\n音楽：@-xaf-様\n効果音：@taichi2323様\n障害物やプレイヤー：@taichi2323様\nターボモード対策プログラム：@romenike様\n\n-----------------------------------------------------------------------

@Stage\n\nwhen flag clicked\nset [あなたのタイム v] to [0]\nforever\n    play sound [Inferno v] until done\nend\n\nwhen flag clicked\nrepeat until <(ステージ) = [11]>\n    wait (1) seconds\n    change [あなたのタイム v] by (1)\nend\n\n@プラットフォーマー\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\ngo to [front v] layer\nset [ステージ v] to [1]\nset [操作可能 v] to [0]\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-209) y: (-56)\nset [変数 v] to [0]\nset [y v] to [0]\nforever\n    repeat until <(操作可能) = [0]>\n        create clone of (_myself_ v)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            change [変数 v] by (1)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            change [変数 v] by (-1)\n            point in direction (-90)\n        end\n        change x by (変数)\n        set [変数 v] to ((変数) * (0.9))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(操作可能) = [1]> then\n        set [操作可能 v] to [1]\n        wait (サイコロ) seconds\n        set [変数 v] to [0]\n        set [操作可能 v] to [0]\n        repeat until <touching (地面 v)?>\n            change y by (-1)\n            change y by (y)\n            change [y v] by (-1)\n        end\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <(操作可能) = [0]>\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.2))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                                    if <(変数) > [0]> then\n                                        set [変数 v] to [-6]\n                                    else\n                                        set [変数 v] to [6]\n                                    end\n                                    set [y v] to [10]\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 <<mouse down?> and <[0] < (mouse y)>>> then\n            if <touching (地面 v)?> then\n                start sound [Jump v]\n                set [y v] to [14]\n            end\n            create clone of (_myself_ v)\n        end\n        change y by (y)\n        change [y v] by (-1)\n        if <touching (地面 v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [241]> then\n        change [ステージ v] by (1)\n        go to x: (-209) y: (-54)\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nforever\n    if <<touching (針、マグマなど v)?> or <(y position) = [-182]>> then\n        set [変数 v] to [0]\n        start sound [フウ v]\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        clear graphic effects\n        go to x: (-209) y: (-54)\n    end\nend\n\n@地面\n\nwhen flag clicked\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@サイコロ\n\nwhen this sprite clicked\ngo to [front v] layer\nif <(操作可能) = [0]> then\n    set [サイコロ v] to (pick random (1) to (6))\n    repeat (30)\n        next costume\n        start sound [Coin v]\n    end\n    switch costume to (サイコロ)\n    set [操作可能 v] to [1]\nend\n\nwhen [space v] key pressed\ngo to [front v] layer\nif <(操作可能) = [0]> then\n    set [サイコロ v] to (pick random (1) to (6))\n    repeat (30)\n        next costume\n        start sound [Coin v]\n    end\n    switch costume to (サイコロ)\n    set [操作可能 v] to [1]\nend\n\nwhen flag clicked\nset [サイコロ v] to [1]\nswitch costume to (1 v)\ngo to [front v] layer\nshow\n\n@針、マグマなど\n\nwhen flag clicked\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@O×判定\n\nwhen flag clicked\nswitch costume to (× v)\nshow\nforever\n    if <(操作可能) = [1]> then\n        switch costume to (〇 v)\n    end\n    if <(操作可能) = [0]> then\n        switch costume to (× v)\n    end\nend\n\n@❤,☆,FOLLOW\n\nwhen flag clicked\ngo to x: (151) y: (160)\nforever\n    hide\n    go to x: (151) y: (184)\n    wait (30) seconds\n    show\n    glide (0.3) secs to x: (151) y: (160)\n    start sound [決定、ボタン押下7 v]\n    wait (1) seconds\n    glide (0.3) secs to x: (151) y: (184)\n    hide\nend\n\n@カウントダウン\n\nwhen flag clicked\nhide\ngo to x: (-123) y: (-146)\nforever\n    if <(操作可能) = [1]> then\n        show\n        switch costume to (サイコロ)\n        repeat (サイコロ)\n            wait (1) seconds\n            switch costume to ((costume [number v]) - (1))\n        end\n        hide\n    end\nend\n\n@遊んでくれてありがとう（仮）\n\nwhen flag clicked\nset [あなたのタイム v] to [0]\nhide\nforever\n    if <(ステージ) = [11]> then\n        go to x: (0) y: (100)\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [11]> then\n        point in direction (90)\n        forever\n            wait (0.05) seconds\n            repeat (10)\n                turn right (0.6) degrees\n            end\n            wait (0.05) seconds\n            repeat (10)\n                turn left (0.6) degrees\n            end\n            wait (0.05) seconds\n            repeat (10)\n                turn left (0.6) degrees\n            end\n            wait (0.05) seconds\n            repeat (10)\n                turn right (0.6) degrees\n            end\n        end\n    end\nend\n\n@世界記録(仮）\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide\nforever\n    if <(ステージ) = [11]> then\n        go to x: (-143) y: (-10)\n        show\n        if <(あなたのタイム) < (☁ 世界記録)> then\n            set [☁ 世界記録 v] to (あなたのタイム)\n        end\n        show variable [☁ 世界記録 v]\n    end\nend\n\n@あなたのタイム仮\n\nwhen flag clicked\nset [あなたのタイム v] to [0]\nhide variable [あなたのタイム v]\nhide\nforever\n    if <(ステージ) = [11]> then\n        go to x: (111) y: (-14)\n        show variable [あなたのタイム v]\n        show\n    end\nend\n\n@太陽\n\nwhen flag clicked\ngo to [back v] layer\nset size to (150) %\nshow\ngo to x: (209) y: (161)\nforever\n    go to [back v] layer\n    repeat (10)\n        change size by (2)\n    end\n    go to [back v] layer\n    wait (0.05) seconds\n    go to [back v] layer\n    repeat (10)\n        change size by (-2)\n    end\nend\n\n@雲\n\nwhen flag clicked\nforever\n    wait (pick random (5) to (8)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset size to (pick random (40) to (60)) %\nswitch costume to (pick random (1) to (10))\ngo to x: (-240) y: (pick random (158) to (6))\nglide (pick random (8) to (12)) secs to x: (240) y: (y position)\ndelete this clone\n\n@ターボモード警告画面\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n        set [変数2 v] to [1]\n        set [操作可能 v] to [0]\n        stop [all v]\n    else\n        hide\n        set [変数2 v] to [0]\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\n@サムネ\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\n\nshow\nclear graphic effects\ngo to [front v] layer\nhide variable [☁ 世界記録 v]\nhide variable [あなたのタイム v]\n\n@ヒント\n\nwhen flag clicked\ngo to x: (-29) y: (144)\nshow\nforever\n    go [forward v] (5) layers\n    switch costume to (ステージ)\nend\n\n