☻ 100's Followers Platformer ☻

Instructions: ☻ 100's Followers Platformer ☻\n\n✭ Use the arrows to advance or jump ;) !\n✭ Don't touch the spikes !\n✭ Win and have fun ;) !

@Stage\n\n@player\n\nwhen I receive [menu v]\nforever\n    create clone of (_myself_ v)\n    change [color v] effect by (10)\nend\n\nwhen I start as a clone\nswitch costume to (2 v)\nrepeat (10)\n    change size by (-6)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (1 v)\nswitch backdrop to (arrière plan1 v)\nset size to (90) %\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [menu v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\npoint in direction (90)\nglide (0.5) secs to x: (-200) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                        end\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 [10]\n                        else\n                            set [yv 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 (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 (level v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <<(x position) > [220]> or <touching (portal v)?>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        start sound [Magic Spell v]\n        broadcast (new v)\n        go to x: (-200) y: (0)\n    end\n    if <[-160] > (y position)> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        start sound [Oops v]\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (.2)\n            change [pixelate v] effect by (8)\n        end\n        set size to (15) %\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set size to (100) %\n    end\n    if <touching (spikes v)?> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        start sound [Oops v]\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (.2)\n            change [pixelate v] effect by (8)\n        end\n        set size to (15) %\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set size to (100) %\n    end\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nglide (0.5) secs to x: (0) y: (0)\nplay sound [Tada v] until done\n\nwhen I receive [menu v]\nforever\n    play sound [Ambiance Storm v] until done\nend\n\n@Cookii Super\n\nwhen flag clicked\nclear graphic effects\nset [mosaic v] effect to (50)\nset size to (100) %\ngo to [front v] layer\nswitch costume to (1 v)\nshow\nrepeat (50)\n    wait (0.01) seconds\n    change [mosaic v] effect by (-1)\nend\nswitch costume to (2 v)\nwait (0.5) seconds\nrepeat (25)\n    wait (0.01) seconds\n    change [fisheye v] effect by (5)\n    change [ghost v] effect by (5)\nend\nbroadcast (100 v)\n\n@Sprite2\n\nwhen I receive [100 v]\nclear graphic effects\nset [mosaic v] effect to (50)\nset size to (100) %\ngo to [front v] layer\nshow\nrepeat (25)\n    wait (0.01) seconds\n    change [mosaic v] effect by (-2)\nend\nwait (1) seconds\nswitch costume to (2 v)\nrepeat (25)\n    wait (0.01) seconds\n    change [fisheye v] effect by (5)\n    change [ghost v] effect by (5)\nend\nbroadcast (menu v)\n\nwhen flag clicked\nswitch costume to (1 v)\nrepeat until <(costume [name v]) = [2]>\n    play sound [Hip Hop v] until done\nend\n\nwhen flag clicked\nhide\n\n@level\n\nwhen I receive [menu v]\nshow\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [new v]\nif <(costume [name v]) = [13]> then\n    broadcast (end v)\nelse\n    next costume\nend\n\nwhen I receive [menu v]\nwait until <(costume [name v]) = [10]>\nswitch backdrop to (arrière plan2 v)\n\nwhen I receive [end v]\nswitch backdrop to (arrière plan3 v)\nswitch costume to (14 v)\nstop [other scripts in sprite v]\n\n@spikes\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\n@portal\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [menu v]\nset rotation style [all around v]\nforever\n    turn right (1) degrees\nend\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\n@portal2\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [menu v]\nshow\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [menu v]\nwait until <(costume [name v]) = [10]>\nforever\n    go to [back v] layer\n    go to (player v)\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\ngo to [back v] layer\ngo to x: (0) y: (0)\nswitch costume to (13 v)\n\n@Sprite3\n\nwhen flag clicked\nhide\n\n@énigma\n\nwhen I receive [menu v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (pick random (45) to (90))\nset size to (pick random (40) to (70)) %\ngo to x: (240) y: (pick random (180) to (-180))\nglide (pick random (1) to (3)) secs to x: (-240) y: (pick random (180) to (-180))\ndelete this clone\n\n