Pixel -A Platformer-

Instructions: ⚠︎旗は二回押してください\n\nどうもramen84です‼︎\n日本語は下にあります。↓  How to operate  Move with left/right key Jump with the up key  How to use  Just proceed! If you hit the needle, start over from the beginning of the stage You can generally understand smartphones... 操作方法 左右キーで動かす 上キーでジャンプ スマホはタップです。 使い方は進むだけです！ \n@50heaven

@Stage\n\n@Player\n\nwhen flag clicked\ngo to x: (-229) y: (-73)\ngo to x: (-229) y: (-80)\n\nwhen flag clicked\nshow\nset [yv v] to [0]\ngo to x: (-229) y: (-73)\nset [xv v] to [0]\nforever\n    if <touching color (#ff1d1d)?> then\n        set [yv v] to [0]\n        go to x: (-177) y: (94)\n        set [xv v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching color (#050052)?> then\n        change y by (1)\n        if <touching color (#050052)?> then\n            change y by (1)\n            if <touching color (#050052)?> then\n                change y by (1)\n                if <touching color (#050052)?> then\n                    change y by (1)\n                    if <touching color (#050052)?> then\n                        change y by (1)\n                        if <touching color (#050052)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [9]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching color (#050052)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#050052)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#77f6ff)?> then\n        go to x: (150) y: (49)\n    end\n    if <touching color (#ff5469)?> then\n        go to x: (167) y: (167)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#92ffa0)?> then\n        go to x: (206) y: (-63)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        set x to (-229)\n        set y to (-73)\n        broadcast (New Level  v)\n    end\n    if <touching color (#ff1d1d)?> then\n        go to x: (-229) y: (-73)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Staring At The Sun v] until done\nend\n\n@Username\n\nwhen flag clicked\nset [ghost v] effect to (90)\nhide\nforever\n    set [player: v] to (username)\nend\n\n@Thunbnail\n\nwhen flag clicked\nforever\n    hide\nend\n\n@Levels\n\nwhen I receive [new level  v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\n@2nd Levels (In Progress)\n\nwhen I receive [new level  v]\nnext costume\n\nwhen flag clicked\nforever\n    hide\n    switch costume to (costume3 v)\nend\n\n