[自信作]simple friendly platformer シンプルな易しいプラットフォーマー

Instructions: \n↓第2弾です！↓\nhttps://scratch.mit.edu/projects/728036394/\n日本人の方、한국、は下の方↓\n(English)\nHello!\nIt's driveGOX!\nSorry for not being able to post much lately...\nThis time I made a full-fledged platformer!\n(Instructions are below.)\nIf you do ♡ & ☆, I will cry with joy\n【Method of operation】\nPC/keyboard users: Arrow keys\nMobile/iPad users: Tap\n\nhave fun! (16 stages)\n(translated)\n\n(日本人の方)\nこんちゃ！\ndriveGOXです！\n最近、あんま投稿できなくてすみません...\n今回は本格的なプラットフォーマーを作りました！\n(操作説明は下のほうにあります。)\n♡＆☆をしてくれたら泣いて喜びます(ww)\n【操作方法】\nPC・キーボードの方:矢印キー\nモバイル・iPadの方:タップ\n\n楽しんでね！(16ステージ)\n\n\n(한국)\n안녕하세요! !\ndriveGOX입니다!\n최근 너무 게시할 수 없어서 죄송합니다...\n이번에는 본격적인 플랫폼을 만들었습니다!\n(조작 설명은 아래쪽에 있습니다.)\n♡&☆를 해 주면 울고 기뻐합니다\n【조작 방법】\nPC · 키보드 : 화살표 키\n모바일 iPad : 탭\n\n즐기세요! (16 스테이지)\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\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]\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    change [color v] effect by (pick random (1) to (50))\n    go to (random position v)\n    go [backward v] (7) layers\n    switch costume to (コスチューム4 v)\n    set size to (100) %\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            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\nhide\nforever\n    go to [front v] layer\nend\n\nshow\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        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nbroadcast (おしまい v)\nhide\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