プラットフォーマー　桜　〜Cherry blossoms Platformer〜
@Stage\n\nwhen flag clicked\nforever\n    play sound [æ¡è±æ£ãé_2 v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-204) y: (-65)\nset [y移動 v] to [0]\nforever\n    重力\n    左右移動\n    ジャンプ\n    if <<touching (_edge_ v)?> and <[242] < (x position)>> then\n        broadcast (次 v)\n    end\n    if <touching (針 v)?> then\n        go to x: (-204) y: (-65)\n    end\nend\n\ndefine 重力\nchange y by ((-1) * (y移動))\nif <touching (スプライト1 v)?> then\n    if <(y移動) > [0]> then\n        repeat until <not <touching (スプライト1 v)?>>\n            change y by (1)\n        end\n        set [着いてるかの判定 v] to [0]\n    else\n        repeat until <not <touching (スプライト1 v)?>>\n            change y by (-1)\n        end\n        set [y移動 v] to [0]\n    end\n    set [y移動 v] to [0]\nelse\n    change [y移動 v] by (1)\n    set [着いてるかの判定 v] to [1]\nend\n\ndefine ジャンプ\nif <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(着いてるかの判定) = [0]> then\n        change [y移動 v] by (-15)\n    end\nend\n\ndefine 左右移動\nset rotation style [left-right v]\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <not <touching (スプライト1 v)?>>> then\n    point in direction (90)\n    change [ダッシュ v] by (1)\n    if <touching (スプライト1 v)?> then\n        repeat until <not <touching (スプライト1 v)?>>\n            set [ダッシュ v] to [-1]\n            move (ダッシュ) steps\n        end\n    end\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <not <touching (スプライト1 v)?>>> then\n    point in direction (-90)\n    change [ダッシュ v] by (-1)\n    if <touching (スプライト1 v)?> then\n        repeat until <not <touching (スプライト1 v)?>>\n            set [ダッシュ v] to [-1]\n            move (ダッシュ) steps\n        end\n    end\nend\nchange x by (ダッシュ)\nset [ダッシュ v] to ((ダッシュ) * (0.9))\n\nwhen I receive [次 v]\npoint in direction (90)\ngo to x: (-204) y: (-65)\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [次 v]\nnext costume\n\nwhen I receive [開始 v]\nswitch costume to (コスチューム1 v)\n\n@針\n\nwhen flag clicked\nbroadcast (開始 v)\nswitch costume to (無 v)\n\nwhen I receive [次 v]\nnext costume\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (-6) y: (4)\nset [ghost v] effect to (100)\n\n
Move with arrow keys and WASD keys\n\nLet's explore the world of cherry blossoms!\n\n\n矢印キー・WASDキーで移動\n\n桜の世界を冒険しよう！