[自信作]SKY platformer スカイプラットフォーマー

Instructions: 日本人の方、한국、は下の方↓\n(English)\nhello!\nIt's driveGOX!\nThis time I made a platformer for Sora!\nPlease note that the location and height of the building in the background are strange.\nGood luck with clearing!\n【how to play】\nPC... move with arrow keys\nMobile...Tap the direction you want to go\n(have fun!)\n(translated)\n\n(日本人の方)\nこんにちは！\ndriveGOXです！\n今回はそらのプラットフォーマーを作りました！\n背景の建物の場所と高さがおかしくなってますがご了承ください。\nクリア頑張ってください！\n【遊び方】\nPC...矢印キーで動かす\nモバイル...進みたい方向をタップする\n（楽しんでね！）\n\n(한국)\n여보세요!\ndriveGOX입니다!\n이번에는 소라를 위한 플랫포머를 만들어 봤습니다!\n배경에 있는 건물의 위치와 높이가 이상한 점 양해 부탁드립니다.\n클리어 성공!\n【게임 방법】\nPC... 화살표 키로 이동\n모바일...가는 방향을 탭하세요\n(재미있어!)\n(번역입니다)

@Stage\n\nwhen flag clicked\nset volume to (100) %\nswitch backdrop to (背景1 v)\n\nwhen I receive [start v]\nswitch backdrop to (空 v)\n\nwhen flag clicked\n\nwhen I receive [おしまい v]\nstop all sounds\n\nwhen I receive [start v]\nstop all sounds\nforever\n    start sound [Starship v]\n    wait (247) seconds\nend\n\n@当たったらﾀﾋぬ\n\nwhen I receive [start v]\nshow\nset [タイム v] to [0]\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [おしまい v]\nhide\n\nwhen flag clicked\nhide\n\ncreate clone of (_myself_ v)\nset x to (-190)\n\n@お次！\n\nwhen I receive [次！ v]\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nrepeat (4)\n    wait (0.05) seconds\n    next costume\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\n@地面\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [タイム v]\npoint in direction (90)\nset [タイム v] to [0]\nhide\n\nwhen I receive [start v]\nshow\nset [ステージ v] to [1]\nforever\n    go to x: (0) y: (0)\n    switch costume to (ステージ)\nend\n\nwhen I receive [start v]\nforever\n    wait (1) seconds\n    change [タイム v] by (1)\n    if <(ステージ) = [16]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [アウトロ v]\nhide\n\nwhen I receive [おしまい v]\nforever\n    hide variable [☁ 世界記録 v]\n    hide variable [タイム v]\nend\n\nwhen I receive [おしまい v]\nswitch backdrop to (背景17 v)\nhide variable [☁ 世界記録 v]\nhide\n\n@ジャンプ\n\nwhen I receive [start v]\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [start v]\nforever\n    if <touching (プレイヤー v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [おしまい v]\nhide\n\n@イントロ\n\nwhen flag clicked\nstart sound [OP曲 v]\nset size to (100) %\npoint in direction (90)\nset [op区切り v] to [0]\nset [クローン v] to [0]\nhide\ngo to x: (-190) y: (130)\nrepeat (2)\n    change [op区切り v] by (1)\n    create clone of (_myself_ v)\nend\nset [op区切り v] to [0]\nrepeat (4)\n    repeat (5)\n        wait (0.05) seconds\n        create clone of (_myself_ v)\n    end\n    set [クローン v] to [0]\n    change y by (-100)\nend\nwait (1) seconds\nset [op区切り v] to [3]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [op区切り v] to [4]\nrepeat (10)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nset [op区切り v] to [5]\nbroadcast (START v)\n\nwhen I start as a clone\nif <(OP区切り) = [0]> then\n    go [backward v] (1) layers\n    switch costume to (コスチューム1 v)\n    set [☁ 世界記録 v] to [0]\n    show\n    change x by (クローン)\n    change [クローン v] by (100)\n    repeat (40)\n        change size by (((200) - (size)) / (6))\n    end\nend\nif <(OP区切り) = [1]> then\n    go [forward v] (1) layers\n    switch costume to (コスチューム2 v)\n    go to x: (0) y: (-160)\n    show\nend\nif <(OP区切り) = [2]> then\n    go [forward v] (1) layers\n    switch costume to (コスチューム2 v)\n    go to x: (0) y: (160)\n    show\nend\nif <(OP区切り) = [3]> then\n    go [forward v] (15) layers\n    switch costume to (コスチューム3 v)\n    go to x: (0) y: (0)\n    show\n    repeat (40)\n        change size by (((50) - (size)) / (6))\n    end\nend\nif <(OP区切り) = [4]> then\n    go to (random position v)\n    switch costume to (pick random (4) to (5))\n    set size to (100) %\n    go [backward v] (7) layers\n    repeat (10)\n        change size by (25)\n    end\n    delete this clone\nend\nwait until <(OP区切り) = [5]>\ndelete this clone\n\nbroadcast (START v)\nchange y by ((クローン) - (100))\n\nwhen flag clicked\nrepeat (10)\n    wait (0.25) seconds\nend\n\n@プレイヤー\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (player2 v)\nrepeat (6)\n    change size by (-6)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\nset volume to (100) %\n\ngo to x: (-200) y: (-76)\n\ndefine X (x) Y (y)\ngo to x: (x) y: (y)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\nclear graphic effects\n\ndefine スピード (スピード) 摩擦 (摩擦) 重力 (重力) ジャンプ高さ (ジャンプ高さ)\nchange [y v] by (重力)\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n    change [x v] by (スピード)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [x v] by ((スピード) * (-1))\n    point in direction (-90)\nend\nset [x v] to ((X) * (摩擦))\nchange x by (X)\nrepeat (8)\n    change y by <<touching (地面 v)?> or <touching (地面 v)?>>\nend\nif <touching (地面 v)?> then\n    change x by (() - (X))\n    change y by (-8)\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n        set [y v] to ((ジャンプ高さ) - (1))\n        set [x v] to ((5) - ((14) * <[0] < (X)>))\n    end\nend\nchange y by (Y)\nif <touching (地面 v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<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        set [y v] to (ジャンプ高さ)\n    end\nend\nchange y by (1)\n\nwhen I receive [start v]\nshow\nX [-200] Y [-10]\nset [ok v] to [0]\nset [ななめ v] to [1]\nforever\n    スピード [1] 摩擦 [0.88] 重力 [-1] ジャンプ高さ [13]\n    if <<touching (スプライト v)?> or <<touching (当たったらﾀﾋぬ v)?> or <(y position) < [-175]>>> then\n        リスポーン\n    end\n    if <[240] < (x position)> then\n        if <(ステージ) = [16]> then\n            broadcast (アウトロ v)\n        else\n            broadcast (次！ v)\n            next backdrop\n            change [ステージ v] by (1)\n            X [-200] Y [-10]\n        end\n    end\nend\n\nwhen I receive [次！ v]\nrepeat (100)\n    X [-200] Y [-10]\nend\n\nwhen I receive [おしまい v]\nhide\n\nwhen I receive [アウトロ v]\nset volume to (0) %\n\nwhen flag clicked\nforever\n    if <<touching (スプライト v)?> or <touching (当たったらﾀﾋぬ v)?>> then\n        if <(レーザー) = [1]> then\n    end\nend\n\ndefine リスポーン\nset [ok v] to [1]\nset rotation style [all around v]\nset [y v] to [10]\nstart sound [Crunch v]\nrepeat (20)\n    change [y v] by (-1)\n    change [ghost v] effect by (5)\n    turn right (8) degrees\n    change y by (Y)\nend\nset [ok v] to [0]\nX [-200] Y [-10]\n\n@やってくれてテンキュー！\n\nwhen I receive [おしまい v]\nwait (0.01) seconds\nstart sound [らららん♡ v]\npoint in direction (90)\nshow\nforever\n    change [動かし v] by (10)\n    turn right (([sin v] of (動かし) ) * (5)) degrees\nend\n\nwhen flag clicked\nset [動かし v] to [0]\nhide\n\n@サムネ\n\nwhen flag clicked\nset size to (100) %\nhide\nforever\n    go to [front v] layer\nend\n\nshow\n\nchange size by (10)\n\nset size to (100) %\n\n@スプライト\n\nwhen flag clicked\nset [ステージ v] to [0]\nhide\nforever\n    if <(ステージ) = [16]> then\n        go to x: (-30) y: (23)\n        show\n    end\n    if <touching (プレイヤー v)?> then\n        broadcast (おしまい v)\n        change [ステージ v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nchange [ステージ v] by (1)\nbroadcast (おしまい v)\nhide\nstop [this script v]\n\nwhen I receive [おしまい v]\nhide\n\n@スプライト5\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [表示 v]\ngo to [front v] layer\nhide\ngo to x: (151) y: (180)\nforever\n    wait (pick random (5) to (8)) seconds\n    show\n    start sound [ポップ v]\n    glide (1) secs to x: (151) y: (155)\n    wait (3) seconds\n    glide (1) secs to x: (151) y: (180)\n    hide\nend\n\nwhen I receive [start v]\n\nwhen I receive [start v]\nbroadcast (表示 v)\n\n