［拡散希望］platformer

Instructions: ステージはめっちゃ少ないですww\n参照数300いくごとにステージ増やします\n傾向がちで狙いってるのでお願いします。\nフォローしてくれた人ありがとう(^○^)\n30個のスタジオに入れるとフォローと全ての作品に…？\n拡散したら名前書くよ\n\n\n\n\n#game\n

@Stage\n\n@棘\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [ステージ v]) = [1]> then\n        hide\n    end\n    if <([costume # v] of [ステージ v]) = [2]> then\n        show\n        switch costume to (コスチューム1 v)\n    end\n    if <([costume # v] of [ステージ v]) = [3]> then\n        show\n        switch costume to (コスチューム1 v)\n    end\n    if <([costume # v] of [ステージ v]) = [4]> then\n        show\n        switch costume to (コスチューム2 v)\n    end\n    if <([costume # v] of [ステージ v]) = [5]> then\n        show\n        switch costume to (コスチューム3 v)\n    end\n    if <([costume # v] of [ステージ v]) = [6]> then\n        show\n        switch costume to (コスチューム4 v)\n    end\n    if <([costume # v] of [ステージ v]) = [7]> then\n        show\n        switch costume to (コスチューム1 v)\n    end\n    if <([costume # v] of [ステージ v]) = [8]> then\n        show\n        switch costume to (コスチューム5 v)\n    end\n    if <([costume # v] of [ステージ v]) = [9]> then\n        hide\n    end\nend\n\n@当たったら死\n\nwhen flag clicked\nset [color v] effect to (100)\n\n@次への扉\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@ステージ\n\nwhen I receive [次へ v]\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@ぷら君\n\nwhen flag clicked\n初期位置\nset size to (100) %\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    左右\n    ジャンプ\n    重力\n    次\n    しゃがむ\n    死\nend\n\ndefine 左右\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>> then\n    change [x v] by (1.75)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(mouse x) < [0]> and <mouse down?>>>> then\n    change [x v] by (-1.75)\nend\nset [x v] to ((x) * (0.8))\nchange x by (x)\n\ndefine ジャンプ\nchange y by (-1)\nif < and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>>> then\n    change [y v] by (16)\nend\nchange y by (1)\n\ndefine 重力\nif  then\n    change y by (1)\n    if  then\n        change y by (1)\n        if  then\n            change y by (1)\n            if  then\n                change y by (1)\n                if  then\n                    change y by (1)\n                    if  then\n                        change x by ((x) * (-1))\n                        change y by (-5)\n                        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n                            if <(x) > [0]> then\n                                set [x v] to [-20]\n                            else\n                                set [x v] to [20]\n                            end\n                            set [y v] to [14.5]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif  then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\n\ndefine 次\nif <touching (次への扉 v)?> then\n    初期位置\n    broadcast (次へ v)\n    set [y v] to [0]\n    set [x v] to [0]\nend\n\ndefine 初期位置\ngo to x: (-198) y: (101)\n\ndefine しゃがむ\nif <<key (s v) pressed?> or <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < [0]>>>> then\n    switch costume to (コスチューム2 v)\nelse\n    switch costume to (コスチューム3 v)\nend\n\ndefine 死\nif <<touching (当たったら死 v)?> or <touching (棘 v)?>> then\n    set [x v] to [0]\n    set [y v] to [0]\n    初期位置\nend\n\nwhen flag clicked\nforever\n    if <touching (スプライト1 v)?> then\n        change x by (3)\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\nset x to (-274)\nforever\n    wait (0.7) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (-274) y: (pick random (215) to (-215))\nforever\n    change x by (3)\n    if <touching (ステージ v)?> then\n        change y by (1)\n    end\n    if <touching (次への扉 v)?> then\n        delete this clone\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nshow\n\n