New Platformer  :P

Instructions: Arrow keys to move.\n\n\nLUNAR NEW YEAR not NEW YEAR XD

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Jim Yosef - Firefly _NCS Release_ v] until done\nend\n\n@Fireworks\n\nwhen flag clicked\nhide\nforever\n    set [ghost v] effect to (20)\n    set [clone id v] to [Launcher]\n    create clone of (_myself_ v)\n    wait (pick random (0.4) to (0.9)) seconds\nend\n\nwhen I start as a clone\nshow\nif <(Clone Id) = [Launcher]> then\n    go to x: (pick random (-150) to (150)) y: (-1000)\n    set [i2 v] to (pick random (20) to (23))\n    set [color v] effect to (pick random (100) to (-100))\n    repeat until <(i2) < [3]>\n        change [i2 v] by (-1)\n        change y by (i2)\n    end\n    Firework\n    delete this clone\nend\n\ndefine Firework\nrepeat (pick random (12) to (18))\n    set [clone id v] to [Firework]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(Clone Id) = [Firework]> then\n    set [i1 v] to (pick random (-7) to (7))\n    change [i2 v] by (pick random (5) to (15))\n    repeat until <touching (_edge_ v)?>\n        change [i2 v] by (-1)\n        change y by (i2)\n        change x by (i1)\n        change [ghost v] effect by (1)\n    end\n    delete this clone\nend\n\n@Platform\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Danger\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Player\n\nwhen flag clicked\nforever\n    set [x vel v] to [0]\n    set [y vel v] to [0]\n    set [jump v] to [0]\n    go to x: (-210) y: (-111)\n    repeat until <<(x position) > [240]> or <touching (danger v)?>>\n        change [x vel v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\n        set [x vel v] to ((X Vel) * (0.9))\n        create clone of (_myself_ v)\n        change x by (round (X Vel))\n        if <touching (platform v)?> then\n            change x by (round ((X Vel) * (-1)))\n            if <key (up arrow v) pressed?> then\n                if <(X Vel) > [0]> then\n                    set [x vel v] to [-8]\n                else\n                    set [x vel v] to [8]\n                end\n                set [jump v] to [0]\n            else\n                set [x vel v] to [0]\n            end\n        end\n        change [y vel v] by (-1)\n        change y by (Y Vel)\n        if <touching (platform v)?> then\n            change y by ((Y Vel) * (-1))\n            if <(Y Vel) < [0]> then\n                set [jump v] to [0]\n            end\n            set [y vel v] to [0]\n        end\n        if <key (up arrow v) pressed?> then\n            if <(Jump) = [0]> then\n                set [y vel v] to [15]\n                set [jump v] to [1]\n            end\n        end\n    end\n    if <(x position) > [240]> then\n        broadcast (Next Level v)\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-7)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Text\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n