Athletic Platformer

Instructions: ついにプラットフォーマーが完成しました！\n目指すは傾向にのること！(自信ないけど…)\n楽しかったら、コメントしてね♪\nリミックス•借りるのいいよ^_^\n\n★★★使い方★★★\nパソコンで操作の場合は、矢印キーで操作です。\niPhone•iPadで操作の場合は、まぁやってればわかります\n棒で通れないコースの時は青いボタンを押したら行けます。\n改善点など良かった点などはコメントで^_^\nフォロー&星&ハート忘れずに。\nこれからもhukahireiをよろしくお願いします。\n

@Stage\n\n@プレイヤー\n\nwhen I start as a clone\nswitch costume to (2 v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\nswitch costume to (1 v)\ngo to x: (-200) y: (10)\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\nshow\nswitch costume to (1 v)\nforever\n    set rotation style [left-right v]\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>>> then\n        switch costume to (2 v)\n        change [x v] by (1)\n    else\n        switch costume to (1 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>>> then\n        switch costume to (3 v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (.88))\n    change x by (x)\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 y by (1)\n                            if <touching (ステージ v)?> then\n                                change y by (-6)\n                                change x by ((x) * (-1))\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n                                    if <(x) > [0]> then\n                                        set [x v] to [-7]\n                                    else\n                                        set [x v] to [7]\n                                    end\n                                    set [y v] to [15]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> and <touching (ステージ v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        broadcast (NEXT v)\n        go to x: (-200) y: (10)\n    end\n    if <<(y position) < [-163]> or <<touching color (#ff0000)?> or <touching color (#ff6969)?>>> then\n        repeat (10)\n            change size by (10)\n            change [ghost v] effect by (10)\n        end\n        clear graphic effects\n        set size to (50) %\n        go to x: (-200) y: (10)\n    end\n    if <touching color (#0066ff)?> then\n        broadcast (解除 v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (バネ v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nplay sound [MusMus-BGM-128 v] until done\n\n@ステージ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nshow\n\nwhen I receive [next v]\nnext costume\nset [こーす数 v] to ((こーす数) + (1))\n\nwhen I receive [start v]\nset [こーす数 v] to ((こーす数) + (1))\nswitch costume to (2 v)\n\nwhen flag clicked\nset [こーす数 v] to [0]\n\nwhen I receive [next v]\nforever\n    if <(costume [number v]) = [15]> then\n        broadcast (go-ru v)\n    end\nend\n\nwhen I receive [next v]\nforever\n    if <(costume [number v]) = [15]> then\n        show variable [世界記録 v]\n    end\nend\n\nwhen flag clicked\nhide variable [世界記録 v]\n\nwhen I receive [next v]\nforever\n    if <(costume [number v]) = [15]> then\n        if <(your  time) < (世界記録)> then\n            set [世界記録 v] to (your  time)\n        else\n            set [世界記録 v] to (世界記録)\n        end\n    end\nend\n\n@Glow-3\n\nwhen I receive [始まる v]\ngo to x: (296) y: (0)\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nglide (0.25) secs to x: (90) y: (0)\nglide (0.5) secs to x: (0) y: (0)\nglide (0.25) secs to x: (-332) y: (0)\nswitch costume to (2 v)\ngo to x: (296) y: (0)\nshow\nglide (0.25) secs to x: (90) y: (0)\nglide (0.5) secs to x: (0) y: (0)\nglide (0.25) secs to x: (-332) y: (0)\nswitch costume to (3 v)\ngo to x: (296) y: (0)\nshow\nglide (0.25) secs to x: (90) y: (0)\nglide (0.5) secs to x: (0) y: (0)\nglide (0.25) secs to x: (-332) y: (0)\nhide\nbroadcast (START v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide variable [your  time v]\nset [your  time v] to [0]\n\nwhen I receive [start v]\nforever\n    wait (1) seconds\n    change [your  time v] by (1)\nend\n\nwhen I receive [変数 v]\nshow variable [your  time v]\n\nwhen I receive [go-ru v]\nstop [other scripts in sprite v]\n\n@障害物\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (2 v)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [start v]\nswitch costume to (2 v)\n\n@障害物２\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [next v]\nif <(こーす数) = [7]> then\n    switch costume to (ロック v)\n    show\nend\nif <(こーす数) = [8]> then\n    switch costume to (ロック2 v)\n    show\nend\nif <(こーす数) = [9]> then\n    hide\nend\nif <(こーす数) = [11]> then\n    switch costume to (ロック3 v)\n    show\nend\nif <(こーす数) = [12]> then\n    switch costume to (ロック4 v)\n    show\nend\nif <(こーす数) = [13]> then\n    switch costume to (ロック5 v)\n    show\nend\nif <(こーす数) = [14]> then\n    hide\nend\n\nwhen I receive [解除 v]\nif <(こーす数) = [7]> then\n    switch costume to (解除 v)\n    show\nend\nif <(こーす数) = [8]> then\n    switch costume to (解除2 v)\n    show\nend\nif <(こーす数) = [11]> then\n    switch costume to (解除3 v)\nend\nif <(こーす数) = [12]> then\n    switch costume to (解除4 v)\nend\nif <(こーす数) = [13]> then\n    switch costume to (解除5 v)\nend\n\n@サムネ\n\nwhen flag clicked\nhide variable [your  time v]\nset [ghost v] effect to (0)\ngo to x: (0) y: (6)\ngo to [front v] layer\nshow\nwait (1.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nshow variable [your  time v]\nbroadcast (変数 v)\nwait (1) seconds\nbroadcast (始まる v)\n\nwhen I receive [始まる v]\nhide\n\n@バネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (4 v)\n\nwhen I receive [next v]\nforever\n    if <(こーす数) = [9]> then\n        switch costume to (1 v)\n        show\n    end\n    if <(こーす数) = [10]> then\n        switch costume to (2 v)\n        show\n    end\n    if <(こーす数) = [11]> then\n        switch costume to (3 v)\n        show\n    end\n    if <(こーす数) = [12]> then\n        switch costume to (5 v)\n        show\n    end\n    if <(こーす数) = [13]> then\n        switch costume to (6 v)\n        show\n    end\n    if <(こーす数) = [14]> then\n        switch costume to (7 v)\n        show\n    end\nend\n\n