【PINK!!】(platformer)　　#game《pino》
@Stage\n\nwhen flag clicked\nforever\n    play sound [Treenan v] until done\nend\n\n@NEXT\n\nwhen I receive [nextstage v]\nclear graphic effects\nset size to (20) %\nset [動く v] to [0]\nshow\nrepeat (35)\n    switch costume to (コスチューム1 v)\n    change size by (((1200) - (size)) / (12))\n    switch costume to (0 v)\n    change [ghost v] effect by (2.5)\nend\nhide\nset [動く v] to [1]\n\nwhen flag clicked\nhide\n\nwait (1) seconds\n\nrepeat (3)\n    next costume\nend\n\n@地面\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [back v] layer\nswitch costume to (コスチューム1 v)\n\nwhen I receive [nextstage v]\nnext costume\n\nwhen [timer v] > (0)\nswitch costume to (コスチューム1 v)\n\n@player\n\ndefine 初期化\npoint in direction (90)\nclear graphic effects\nset [y v] to [0]\nset [x v] to [0]\ngo to x: (-210) y: (-80)\nswitch costume to (1 v)\n\nwhen flag clicked\ngo to [back v] layer\nset [動く v] to [1]\nset [stage v] to [1]\n初期化\nforever\n    if <(動く) = [1]> then\n        if <<key (right arrow v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>> then\n            switch costume to (1 v)\n            change [x v] by (1.2)\n        end\n        if <<key (left arrow v) pressed?> or <<[0] > (mouse x)> and <mouse down?>>> then\n            switch costume to (2 v)\n            change [x v] by (-1.2)\n        end\n        change x by (X)\n        set [x v] to ((X) * (0.91))\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by (1)\n        end\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by (1)\n        end\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by (1)\n        end\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by (1)\n        end\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by (-2)\n            change x by ((X) * (-1.16))\n            if <<key (up arrow v) pressed?> or <<(mouse y) > [20]> and <mouse down?>>> then\n                if <(X) > [0]> then\n                    set [x v] to [-6]\n                else\n                    set [x v] to [6]\n                end\n                set [y v] to [12]\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (-2)\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [20]>>> then\n                set [y v] to [14]\n            end\n        end\n        change [y v] by (-0.8)\n        change y by (Y)\n        if <<touching color (#ff56e0)?> or <touching color (#ffc7f5)?>> then\n            change y by ((Y) * (-1))\n            set [y v] to [0]\n        end\n        if <(x position) > [240]> then\n            broadcast (nextstage v)\n            change [stage v] by (1)\n            初期化\n        end\n        if <<(y position) < [-181]> or <touching (magma v)?>> then\n            change y by (4)\n            set [y v] to [18]\n            repeat until <(y position) < [-182]>\n                change y by (Y)\n                change [y v] by (-1)\n                turn right (14) degrees\n            end\n            初期化\n        end\n    end\nend\n\n@magma\n\nwhen flag clicked\nwait (0.2) seconds\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <(stage) = [5]> then\n        switch costume to (コスチューム1 v)\n        set x to (18)\n        show\n        change [magma v] by (4)\n        set y to ((([sin v] of (magma) ) * (5)) - (77))\n    else\n        if <(stage) = [6]> then\n            switch costume to (コスチューム2 v)\n            set x to (30)\n            show\n            change [magma v] by (4)\n            set y to ((([sin v] of (magma) ) * (27)) - (110))\n        else\n            if <(stage) = [8]> then\n                switch costume to (コスチューム3 v)\n                set x to (60)\n                show\n                change [magma v] by (4)\n                set y to ((([sin v] of (magma) ) * (12)) - (70))\n            else\n                hide\n                set [magma v] to [0]\n            end\n        end\n    end\nend\n\n@地面2\n\nwhen flag clicked\nwait (0.12) seconds\ngo to [back v] layer\nforever\n    if <(stage) = [6]> then\n        go to [back v] layer\n        go to x: (0) y: (0)\n        switch costume to (コスチューム3 v)\n        show\n    else\n        if <(stage) = [7]> then\n            switch costume to (コスチューム1 v)\n            show\n            repeat until <not <(stage) = [7]>>\n                glide (0.8) secs to x: (0) y: (-120)\n                glide (0.8) secs to x: (90) y: (-80)\n            end\n        else\n            if <(stage) = [8]> then\n                switch costume to (コスチューム2 v)\n                show\n                repeat until <not <(stage) = [8]>>\n                    glide (1.5) secs to x: (0) y: (60)\n                    glide (1.7) secs to x: (90) y: (-80)\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nforever\n\n@smn\n\nwhen flag clicked\nhide\n\n
　 ↑\n←　→\n\nmobile　friendly\n\nスマホ対応\n\nゲーム　game Game