scroll platformer/スクロールプラットフォーマー
@Stage\n\n@ \n\n@prayer\n\ndefine あ\nset [埋まった、、、 v] to [0]\nchange y by (-8)\nchange y by (-2)\nmove (-1) steps\nreplace item (1) of [地点 v] with (round (x position))\nreplace item (2) of [地点 v] with (round (y position))\nchange y by (2)\nmove (1) steps\nrepeat until <<[10] < (埋まった、、、)> or <not <touching (stage v)?>>>\n    change [埋まった、、、 v] by (1)\n    move (-1) steps\nend\nif <[10] < (埋まった、、、)> then\n    go to x: (item (1) of [地点 v]) y: (item (2) of [地点 v])\n    if <[0] < (Y)> then\n        repeat until <not <touching (stage v)?>>\n            change y by (-1)\n        end\n    else\n        repeat until <not <touching (stage v)?>>\n            change y by (1)\n        end\n    end\nelse\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[30] < (mouse y)>>>> then\n        change y by (-2)\n        move (1) steps\n        if <touching (stage v)?> then\n            start sound [壁キック v]\n            if <[0] < (X)> then\n                set [x v] to [-3]\n            else\n                set [x v] to [3]\n            end\n            set [y v] to [11]\n        end\n        change y by (2)\n        move (-1) steps\n    else\n        set [x v] to [0]\n    end\nend\n\ndefine い\nif <[0] < (Y)> then\n    repeat until <not <touching (stage v)?>>\n        set [y v] to [0]\n        change y by (-1)\n    end\nelse\n    repeat until <not <touching (stage v)?>>\n        set [y v] to [0]\n        change y by (1)\n    end\nend\nchange y by (-2)\nif <touching (stage v)?> then\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[30] < (mouse y)>>>> then\n        start sound [ジャンプ v]\n        set [y v] to [16]\n    else\n        set [y v] to [0]\n    end\nend\nchange y by (2)\n\ndefine 復活！\nrepeat until <<<((item (1) of [復活地点 v]) - (0.5)) < (座標X)> and <((item (1) of [復活地点 v]) + (0.5)) > (座標X)>> and <<((item (2) of [復活地点 v]) - (0.5)) < (座標Y)> and <((item (2) of [復活地点 v]) + (0.5)) > (座標Y)>>>\n    change [座標x v] by (((item (1) of [復活地点 v]) - (座標X)) / (5))\n    change [座標y v] by (((item (2) of [復活地点 v]) - (座標Y)) / (5))\n    change x by (((0) - (x position)) / (5))\n    change y by (((-30) - (y position)) / (5))\nend\nset [座標x v] to (round (座標X))\nset [座標y v] to (round (座標Y))\nset [x v] to [0]\nset [y v] to [0]\n\ndefine わあ\nrepeat (8)\n    if <touching (stage v)?> then\n        change y by (1)\n    end\nend\n\nwhen I receive [play v]\nwait (3.2) seconds\nshow\ngo to x: (0) y: (0)\nset rotation style [left-right v]\npoint in direction (90)\nset [座標x v] to [0]\nset [座標y v] to [30]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <[19] < (mouse x)>>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <[-19] > (mouse x)>>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    わあ\n    if <touching (stage v)?> then\n        あ\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (stage v)?> then\n        い\n    end\n    change [座標x v] by (round ((x position) / (10)))\n    change [座標y v] by (round (((y position) + (20)) / (10)))\n    if <not <[5450] < (座標X)>> then\n        change x by (round (((0) - (x position)) / (10)))\n    end\n    if <not <[-50] > (座標Y)>> then\n        change y by (round (((-20) - (y position)) / (10)))\n    end\n    if <[5450] < (座標X)> then\n        set [座標x v] to [5450]\n    end\n    if <[-50] > (座標Y)> then\n        set [座標y v] to [-50]\n    end\n    if <<[-180] > (y position)> or <touching (needle v)?>> then\n        復活！\n    end\n    set x to (round (x position))\n    set y to (round (y position))\nend\n\nwhen I receive [play v]\ndelete all of [地点 v]\nrepeat (2)\n    add [] to [地点 v]\nend\n\nwhen flag clicked\nhide\n\n@flag\n\nwhen I start as a clone\nset [触れた v] to [0]\nshow\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((item (い) of [x v]) - (座標X)) y: ((item (い) of [y v]) - (座標Y))\n    switch costume to (1 v)\n    if <<touching (prayer v)?> and <(触れた) = [0]>> then\n        replace item (1) of [復活地点 v] with ((item (い) of [x v]) - (15))\n        replace item (2) of [復活地点 v] with ((item (い) of [y v]) + (100))\n        set [触れた v] to [1]\n    end\n    if <(触れた) = [1]> then\n        switch costume to (2 v)\n    end\nend\n\ndefine (x) (y) (costume)\nchange [い v] by (1)\nadd (x) to [x v]\nadd (y) to [y v]\nadd (costume) to [costume v]\ncreate clone of (_myself_ v)\n\nwhen I receive [play v]\nwait (3.2) seconds\nhide\ngo to x: (0) y: (0)\ndelete all of [x v]\ndelete all of [y v]\ndelete all of [costume v]\ndelete all of [復活地点 v]\nadd [0] to [復活地点 v]\nadd [30] to [復活地点 v]\nset [い v] to [0]\n[1315] [227] [1]\n[2200] [-75] [1]\n[2050] [370] [1]\n[3300] [-90] [1]\n[5020] [-50] [1]\n[4800] [1050] [1]\n\n@needle\n\ndefine (x) (y) (コスチューム)\nchange [う v] by (1)\nadd (x) to [x2 v]\nadd (y) to [y2 v]\nadd (コスチューム) to [コスチューム2 v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((item (う) of [x2 v]) - (座標X)) y: ((item (う) of [y2 v]) - (座標Y))\n    switch costume to ((item (う) of [コスチューム2 v]) + (1))\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [6]> then\n        turn right (15) degrees\n    end\nend\n\nwhen I receive [play v]\nwait (3.2) seconds\nhide\ngo to x: (0) y: (0)\nset [う v] to [0]\ndelete all of [x2 v]\ndelete all of [y2 v]\ndelete all of [コスチューム2 v]\n[200] [-65] [1]\n[380] [-65] [2]\n[1350] [-65] [3]\n[1350] [-30] [4]\n[2100] [-115] [5]\n[1920] [0] [6]\n[2880] [0] [7]\n[1920] [0] [8]\n[4320] [0] [9]\n[5400] [300] [10]\n\n@stage\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((item (あ) of [x v]) - (座標X)) y: ((item (あ) of [y v]) - (座標Y))\n    switch costume to ((item (あ) of [コスチューム v]) + (1))\nend\n\ndefine (x) (y) (コスチューム)\nchange [あ v] by (1)\nadd (x) to [x v]\nadd (y) to [y v]\nadd (コスチューム) to [コスチューム v]\ncreate clone of (_myself_ v)\n\nwhen I receive [play v]\nwait (3.2) seconds\nhide\ngo to x: (0) y: (0)\ndelete all of [x v]\ndelete all of [y v]\ndelete all of [コスチューム v]\nset [あ v] to [0]\n[0] [0] [1]\n[480] [0] [2]\n[960] [0] [3]\n[1440] [0] [4]\n[1920] [0] [5]\n[2400] [0] [6]\n[2880] [0] [7]\n[2400] [500] [8]\n[2880] [500] [9]\n[3080] [900] [10]\n[4000] [0] [11]\n[4320] [0] [12]\n[0] [0] [13]\n[0] [240] [14]\n[0] [480] [15]\n[0] [720] [16]\n[0] [960] [17]\n[5000] [0] [18]\n[5400] [0] [19]\n[5400] [150] [19]\n[5400] [300] [19]\n[5300] [600] [20]\n[4800] [1100] [21]\n\n@コメント？\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((item (え) of [x2 v]) - (座標X)) y: ((item (え) of [y2 v]) - (座標Y))\n    switch costume to ((item (え) of [costume2 v]) + (1))\nend\n\ndefine (x) (y) (コスチューム)\nchange [え v] by (1)\nadd (x) to [x2 v]\nadd (y) to [y2 v]\nadd (コスチューム) to [costume2 v]\ncreate clone of (_myself_ v)\n\nwhen I receive [play v]\nwait (3.2) seconds\nhide\ngo to x: (0) y: (0)\ndelete all of [x2 v]\ndelete all of [y2 v]\ndelete all of [costume2 v]\nset [え v] to [0]\n[4800] [1100] [1]\n\n@背景だお\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\n\n@うわぁサムネだぁ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nforever\n    go to [front v] layer\nend\n\n@音楽専用\n\nwhen flag clicked\nforever\n    stop all sounds\n    play sound [❔ v] until done\nend\n\n@❤⭐\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\nforever\n    switch costume to (コスチューム2 v)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム3 v)\n    create clone of (_myself_ v)\n    wait (20) seconds\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nwait (2) seconds\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nshow\n\nwhen I start as a clone\nif <(クローンおｋ) = [⭕]> then\n    if <(costume [name v]) = [コスチューム3]> then\n        switch costume to (コスチューム3 v)\n        go to x: (60) y: (200)\n        hide\n        wait (0.5) seconds\n        show\n        repeat (10)\n            change y by (((120) - (y position)) / (5))\n        end\n        show\n        switch costume to (コスチューム3 v)\n        switch costume to (コスチューム3 v)\n        wait (0.5) seconds\n        switch costume to (コスチューム3 v)\n        repeat (15)\n            change x by (((140) - (x position)) / (5))\n        end\n        switch costume to (コスチューム3 v)\n        repeat (15)\n            change x by (((210) - (x position)) / (5))\n        end\n        switch costume to (コスチューム3 v)\n        repeat (20)\n            change x by (((230) - (x position)) / (5))\n            change y by (((180) - (y position)) / (5))\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [クローンおｋ v] to [⭕]\nif <(costume [name v]) = [コスチューム2]> then\n    if <(クローンおｋ) = [⭕]> then\n        show\n        switch costume to (コスチューム2 v)\n        repeat (20)\n            change y by (((-50) - (y position)) / (5))\n        end\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム4 v)\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム5 v)\n        wait (0.55) seconds\n        start sound [Coin v]\n        switch costume to (コスチューム1 v)\n        wait (0.5) seconds\n        repeat (20)\n            change y by (((10) - (y position)) / (5))\n        end\n        hide\n        set [クローンおｋ v] to [❌]\n    end\nend\n\nwhen I start as a clone\nif <(クローンおｋ) = [❌]> then\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [設定 v]) = [2]> then\n        set volume to (0) %\n    end\n    if <([costume # v] of [設定 v]) = [1]> then\n        set volume to (100) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <([costume # v] of [設定 v]) = [2]> then\n        set volume to (0) %\n    end\n    if <([costume # v] of [設定 v]) = [1]> then\n        set volume to (100) %\n    end\nend\n\n@play\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to [front v] layer\nshow\ngo to x: (0) y: (-90)\n\nwhen this sprite clicked\nnext costume\nwait (0.5) seconds\nbroadcast (play v)\nhide\n\n@scroll platformer\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (0) y: (90)\nrepeat until <touching (mouse-pointer v)?>\n    glide (0.8) secs to x: (0) y: (110)\n    glide (0.8) secs to x: (0) y: (70)\nend\nhide\n\nwhen I receive [play v]\nhide\n\n@くるくる〜\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nset [終わった v] to [0]\nshow\nrepeat (100)\n    turn right (36) degrees\nend\nset [終わった v] to [1]\nhide\nbroadcast (ゲーム開始 v)\n\n@うわぁ文字ダァ\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nrepeat until <(終わった) = [1]>\n    next costume\nend\nhide\n\n@スプライト1\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\n\nwhen I receive [play v]\nhide\n\n
初めて作ったスクロールプラットフォーマーです！\nThis is my first scrolling platformer!\n頑張って作ったので⭐️と❤️お願いします。\nI worked hard on this, so please give me a ⭐️ and ❤️.\n旗は2回押してください。\nPress the flag twice.\nターボモードにしないでください。\nDon't put it in turbo mode.\n⭐️と❤️押したら宣伝⭕️\nPress ⭐️ and ❤️ to advertise ⭕️\nリミックスする場合は⭐️と❤️を押したら⭕️\nTo remix, press ⭐️ and ❤️ ⭕️\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n⭐️と❤️と拡張してね‼︎\nExpand with ⭐️ and ❤️!! ︎