《✨Platformer✨》

Instructions: 日本語は下　\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n▼ How to play\nOperated with arrow keys, mobile compatible.\n\n▼ Goal\nTrend 1, 2, 3P\nNumber of references 3000\n⭐ and ❤100\n\n▼ From the author\nThumbnail is here (^ ▽ ^) /\nIt's a pretty confident work!\n\n▼ Overview\nProduction time is 2 hours\nStage length ★★★★ ☆\n\n▼遊び方/How to play \n矢印キーで操作、モバイル対応です。\n\n▼目標\n傾向1、2、3P\n参照数3000\n⭐と❤100\n\n▼作者から\nサムネこった(^▽^)/\nけっこう自信作だ！\n\n▼概要\n制作時間2時間です\nステージの長さ　★★★★☆

@Stage\n\nwhen flag clicked\nforever\n    play sound [Starship v] until done\nend\n\n@player\n\nwhen flag clicked\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\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 x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [10]\n                                else\n                                    set [x v] to [-10]\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    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <touching (地面 v)?> then\n            set [y v] to [15]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <[240] < (x position)> then\n        初期設定プログラム\n        broadcast (メッセージ1 v)\n    end\n    if <<touching (トゲ v)?> or <(y position) < [-170]>> then\n        初期設定プログラム\n        start sound [crashed oof v]\n    end\n    if <touching (ジャンプ台 v)?> then\n        set [y v] to [17.6]\n    end\n    if <touching (水 v)?> then\n        set [x v] to ((x) / (1.3))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (4)\n        else\n            change [y v] by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    point in direction (向き)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        switch costume to (右 v)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (左 v)\n    end\n    if <not <<<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n        switch costume to (止まる v)\n    end\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        if  then\n            switch costume to (しゃがむ右 v)\n        end\n        if  then\n            switch costume to (しゃがむ左 v)\n        end\n        if <not <<<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n            switch costume to (しゃがむ v)\n        end\n    end\nend\n\ndefine 初期設定プログラム\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (stand v)\ngo to x: (-200) y: (-50)\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ステージ v] to [1]\ngo to [front v] layer\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\n\n@太陽\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to [back v] layer\n    repeat (8)\n        wait (0.01) seconds\n        change size by (3)\n    end\n    repeat (8)\n        wait (0.01) seconds\n        change size by (-3)\n    end\nend\n\n@トゲ\n\nwhen flag clicked\nhide\npoint in direction (90)\nforever\n    if <(ステージ) = [5]> then\n        go to x: (36) y: (28)\n        switch costume to (1 v)\n        show\n    end\n    if <(ステージ) = [6]> then\n        hide\n    end\n    if <(ステージ) = [7]> then\n        show\n        switch costume to (2 v)\n    end\n    if <(ステージ) = [8]> then\n        show\n        switch costume to (3 v)\n    end\n    if <(ステージ) = [9]> then\n        go to x: (0) y: (0)\n        repeat until <(ステージ) = [10]>\n            switch costume to (4 v)\n            show\n            turn left (3) degrees\n        end\n    end\n    if <(ステージ) = [10]> then\n        point in direction (90)\n        switch costume to (5 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (6 v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (9 v)\n    end\n    if <(ステージ) = [13]> then\n        hide\n    end\n    if <(ステージ) = [15]> then\n        show\n        switch costume to (7 v)\n    end\n    if <(ステージ) = [16]> then\n        show\n        switch costume to (8 v)\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\nend\n\n@ジャンプ台\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nforever\n    if <(ステージ) = [11]> then\n        show\n        if <touching (player v)?> then\n            repeat (3)\n                switch costume to (コスチューム2 v)\n            end\n            start sound [Whiz v]\n            switch costume to (コスチューム1 v)\n        end\n    end\n    if <(ステージ) = [12]> then\n        hide\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen I start as a clone\nswitch costume to (水色 v)\n\nwhen [timer v] > (0)\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\n\nwhen [timer v] > (0)\nshow\n\n@水\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    if <(ステージ) = [15]> then\n        show\n    end\n    if <(ステージ) = [17]> then\n        hide\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\nbroadcast (おｋ v)\n\nwhen I receive [おｋ v]\nhide\n\nwhen [timer v] > (0)\ngo to x: (-145) y: (-140)\nforever\n    go to [front v] layer\n    show\nend\n\n