Minecraft Platformer 5 - Mobile Friendly Platformer- マインクラフトプラットフォーマー

Instructions: HEY! READ THIS IF YOU WANT TO BEAT YOUR FRIEND! >>>>\n\nOkay, first, grab a friend. Don't have one? :'( Challenge yourself by controlling both players at the same time!\n\nHere's the buttons and stuff:\n\nPLAYER 1-\nRed player\nBlue is good. Red is bad.\nTop screen\nArrow keys to move and jump.\n\nPLAYER 2-\nBlue player\nRed is good. Blue is bad.\nBottom screen\nWAD to move and jump.\n\n\n\n\n\n\n\n\n\n\nAnd yes, it's all fair and all possible.\n\nI'll be adding more levels soon.

@Stage\n\nwhen flag clicked\nset [mosaic v] effect to (200)\nforever\n    repeat (20)\n        change [mosaic v] effect by (10)\n        wait (0.1) seconds\n    end\n    set [mosaic v] effect to (200)\nend\n\nchange [brightness v] effect by (0.1)\n\nchange [color v] effect by (25)\n\nwhen flag clicked\nforever\n    play sound [Mystery v] until done\nend\n\nset [mosaic v] effect to (0)\n\n@player\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nset [scroll x v] to [230]\nset [scroll y v] to [30]\nset size to (100) %\nshow\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\ngo to [front v] layer\n\nwhen flag clicked\n\nif <touching (spikes v)?> then\n\nbroadcast (dead v)\nset [x v] to [0]\nset [y v] to [0]\n\nif <touching color (#fffa00)?> then\n    set [yv v] to [19]\nend\n\nwhen flag clicked\n\nwhen I receive [next v]\n\nwhen flag clicked\n\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    set [yv v] to [10]\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [start v]\nset [pixelate v] effect to (0)\nforever\n    switch costume to (pick random (1) to (5))\n    if <(glitch) = [1]> then\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [xv v] by (-1)\n        end\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [xv v] by (1)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if  then\n            change y by (1)\n            if  then\n                change y by (1)\n                if  then\n                    change y by (1)\n                    if  then\n                        change y by (1)\n                    end\n                    if  then\n                        change y by (1)\n                        if  then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w 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 [10]\n                            else\n                                set [xv v] to [0]\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  then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if  then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [10]\n            end\n        end\n        change y by (1)\n        change [scroll x v] by ((x position) * (-1))\n        change [scroll y v] by ((y position) * (-1))\n        go to x: (0) y: (0)\n        if <touching (spikes v)?> then\n            broadcast (dead v)\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            set [ghost v] effect to (0)\n            set [scroll x v] to [230]\n            set [scroll y v] to [30]\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    switch costume to (pick random (1) to (5))\n    if <(glitch) = [0]> then\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [xv v] by (-1)\n        end\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [xv v] by (1)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <<touching (floor v)?> or <touching (level v)?>> then\n            change y by (1)\n            if <<touching (floor v)?> or <touching (level v)?>> then\n                change y by (1)\n                if <<touching (floor v)?> or <touching (level v)?>> then\n                    change y by (1)\n                    if <<touching (floor v)?> or <touching (level v)?>> then\n                        change y by (1)\n                    end\n                    if <<touching (floor v)?> or <touching (level v)?>> then\n                        change y by (1)\n                        if <<touching (floor v)?> or <touching (level v)?>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w 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 [10]\n                            else\n                                set [xv v] to [0]\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 (floor v)?> or <touching (level v)?>> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <<touching (floor v)?> or <touching (level v)?>> then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [10]\n            end\n        end\n        change y by (1)\n        change [scroll x v] by ((x position) * (-1))\n        change [scroll y v] by ((y position) * (-1))\n        go to x: (0) y: (0)\n        if <touching (spikes v)?> then\n            broadcast (dead v)\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            set [ghost v] effect to (0)\n            set [scroll x v] to [230]\n            set [scroll y v] to [30]\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (next v)?> then\n        wait () seconds\n        set size to (100) %\n        point in direction (90)\n        set [pixelate v] effect to (0)\n        set [scroll x v] to [230]\n        set [scroll y v] to [30]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        broadcast (next v)\n        wait () seconds\n    end\nend\n\nwhen I receive [start v]\nforever\n    broadcast (tick v)\nend\n\nwhen I receive [start v]\nforever\n    if <key (z v) pressed?> then\n        set [ghost v] effect to (50)\n        start sound [buzz2 v]\n        wait (0.01) seconds\n        set [glitch v] to [1]\n    else\n        set [ghost v] effect to (0)\n        set [glitch v] to [0]\n    end\nend\n\n@floor\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(Scroll X) > [275]> then\n        set [scroll x v] to [274]\n    end\n    if <(Scroll X) < [-373]> then\n        set [scroll x v] to [-374]\n    end\nend\n\ngo to x: (0) y: (Scroll Y)\n\nwhen I receive [next v]\nnext costume\nwait (0.1) seconds\n\nwhen I receive [tick v]\ngo to x: (Scroll X) y: (Scroll Y)\nif <(Scroll X) > [275]> then\n    set [scroll x v] to [274]\nend\nif <(Scroll X) < [-373]> then\n    set [scroll x v] to [-374]\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (end v)\n        stop [this script v]\n    end\nend\n\n@level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <key (z v) pressed?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [next v]\nnext costume\nwait (0.1) seconds\n\nwhen I receive [tick v]\ngo to x: (Scroll X) y: (Scroll Y)\n\n@next\n\nwhen flag clicked\nshow\ngo to x: (240) y: (21)\nset [ghost v] effect to (0)\n\nwhen I receive [tick v]\ngo to x: ((Scroll X) + (300)) y: ((Scroll Y) + (-50))\n\nwhen I receive [end v]\nhide\n\n@Static\n\nwhen flag clicked\nhide\ngo to [front v] layer\nset [ghost v] effect to (100)\nset size to (120) %\nforever\n    next costume\nend\n\nwhen flag clicked\n\nwhen I receive [dead v]\nshow\nstart sound [TV_Static_sound_effect v]\nrepeat (20)\n    change [ghost v] effect by (-4)\nend\nwait (0.1) seconds\nbroadcast (reset v)\nrepeat (20)\n    change [ghost v] effect by (4)\nend\nset [ghost v] effect to (100)\nhide\n\n@Sprite1\n\n@spikes\n\nwhen I receive [tick v]\ngo to x: (Scroll X) y: (Scroll Y)\n\nwhen I receive [next v]\nnext costume\nwait (0.01) seconds\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@words\n\nwhen I receive [tick v]\ngo to x: ((Scroll X) + (pick random (-1) to (1))) y: ((Scroll Y) + (pick random (-1) to (1)))\n\nwhen I receive [next v]\nhide\n\nwhen flag clicked\nshow\n\n@Sprite2\n\n@words2\n\nwhen I receive [tick v]\ngo to x: ((Scroll X) + (pick random (-1) to (1))) y: ((Scroll Y) + (pick random (-1) to (1)))\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\n@Sprite3\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    set [my variable v] to [0]\n    set size to (100) %\n    forever\n        change [my variable v] by (15)\n        change y by ([cos v] of (my variable) )\n    end\nend\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite4\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (5)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (start v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\n\n