(: BASKETBALL (A platformer) Mobile friendly :) V 2.0
@Stage\n\nwhen I receive [next level! v]\nchange [level v] by (1)\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop8 v)\nwait (9) seconds\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nwait (9) seconds\nforever\n    play sound [ParagonX9 - Chaoz Fantasy v] until done\nend\n\nwhen I receive [r v]\nswitch backdrop to (backdrop1 v)\nset [level v] to [1]\nset [☁ timer v] to [0]\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nhide variable [level v]\nwait (9) seconds\nshow variable [level v]\n\nwhen flag clicked\nhide variable [☁ timer v]\nwait (9) seconds\nshow variable [☁ timer v]\n\nwhen flag clicked\nset [☁ timer v] to [0]\nwait (9) seconds\nrepeat until <(backdrop [number v]) = [17]>\n    wait (.1) seconds\n    change [☁ timer v] by (.1)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [2]> then\n        repeat until <(backdrop [number v]) = [17]>\n            wait (.1) seconds\n            change [☁ timer v] by (.1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [17]> then\n        repeat until <(backdrop [number v]) = [2]>\n            set [☁ timer v] to (☁ TIMER)\n        end\n    end\nend\n\nwhen flag clicked\n\nforever\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [17]> then\n        broadcast (TIMES v)\n        stop [this script v]\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\nwait (9) seconds\ngo to x: (-200) y: (-100)\npoint in direction (90)\nset size to (50) %\nswitch costume to (costume1 v)\nshow\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        turn right (10) degrees\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        turn left (10) degrees\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n        change y by (1)\n        if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n            change y by (1)\n            if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n                change y by (1)\n                if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n                    change y by (1)\n                    if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n                        change y by (1)\n                        if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> 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 [12]\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 (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#c1c1c1)?> or <<touching (sprite4 v)?> or <touching (crumble v)?>>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [12]\n        end\n    end\n    change y by (1)\n    if <key (r v) pressed?> then\n        reset\n    end\n    if <(x position) > [230]> then\n        broadcast (Next level! v)\n    end\nend\n\nwhen flag clicked\nset size to (50) %\n\nwhen flag clicked\nforever\n    if <touching color (#c20000)?> then\n        go to x: (-200) y: (-100)\n    end\nend\n\nwhen I receive [next level! v]\ngo to x: (-200) y: (-100)\n\nwhen flag clicked\nforever\n    if <touching color (#00ff15)?> then\n        go to x: (-200) y: (-100)\n    end\nend\n\ngo to x: (197) y: (-104)\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [9]> and <(x position) = [230]>> then\n        broadcast (win v)\n    end\nend\n\nwhen flag clicked\nclear graphic effects\n\nset [pixelate v] effect to (0)\n\nwhen flag clicked\n\nforever\n    if <touching (crumble v)?> then\n        wait (1) seconds\n        broadcast (C v)\n    end\nend\n\nwhen I receive [s v]\nhide list [who played v]\n\nwhen flag clicked\nshow list [who played v]\n\nwhen I receive [h v]\nshow list [who played v]\n\nwhen flag clicked\nshow list [times v]\n\nwhen I receive [s v]\nhide list [times v]\n\nwhen I receive [h v]\nshow list [times v]\n\nwhen I receive [times v]\nadd (☁ TIMER) to [times v]\n\nwhen I receive [times v]\nadd (username) to [who played v]\n\nwhen flag clicked\nset [☁ timer v] to [0]\n\n@Intro\n\nwhen I start as a clone\nif <(Clone) = [Particles]> then\n    switch costume to (pick random (29) to (31))\n    set size to (pick random (50) to (150)) %\n    set [ghost v] effect to (pick random (0.) to (5.))\n    set [brightness v] effect to (pick random (-25.) to (100.))\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [x v] to (pick random (10.) to (12.))\n    set [i v] to (pick random (2.) to (9.))\n    go to [front v] layer\n    show\n    repeat until <touching (_edge_ v)?>\n        move (X) steps\n        change y by (I)\n        change [i v] by (-0.4)\n        set [x v] to ((X) * (0.95))\n    end\n    delete this clone\nend\n\ndefine Particles\nset [clone v] to [Particles]\nrepeat (50)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Clone) = [Name]> then\n    switch costume to (name v)\n    set size to (50) %\n    clear graphic effects\n    go to [front v] layer\n    go to x: (0) y: (-100)\n    point in direction (0)\n    show\n    repeat (50)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        change y by (((0) - (y position)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (10)\n        go to [front v] layer\n        change size by (I)\n        change [i v] by (join [-] (([abs v] of (I) ) / (2)))\n        turn right (I) degrees\n    end\n    switch costume to (logo v)\n    repeat (40)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (20)\n        go to [front v] layer\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n    end\n    delete this clone\nend\n\nwhen flag clicked\nreset timer\nhide\nstart sound [Prismo - Stronger v]\nset volume to (100) %\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [clone v] to [Square]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [clone v] to [Name]\ncreate clone of (_myself_ v)\nwait (0) seconds\nrepeat (2)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (4)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (2)\n    Spiral spline explosion\n    Rect\n    Spiral spline explosion\nend\n\nwhen I start as a clone\nif <(Clone) = [Square]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to x: (0) y: (300)\n    point in direction (0)\n    switch costume to (square v)\n    repeat (20)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    point in direction (90)\n    repeat (12)\n        next costume\n    end\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    wait (3) seconds\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((100) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    repeat (12)\n        switch costume to ((costume [number v]) - (1))\n        change size by (-5)\n    end\n    set [i v] to [-1]\n    repeat (20)\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n        change y by ((I) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Bursts]> then\n    switch costume to (lineexplosion1 v)\n    clear graphic effects\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [i v] to (pick random (1) to (3))\n    if <(I) = [1]> then\n        set [brightness v] effect to (100)\n    else\n        if <(I) = [2]> then\n            set [brightness v] effect to (25)\n        else\n            set [brightness v] effect to (-25)\n        end\n    end\n    show\n    set [i v] to [20]\n    Animate   x: [0] y: [0] size: [0] rotate: (pick random (-180) to (180)) speed: [1]\n    repeat (2)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n    end\n    repeat (10)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n        change [ghost v] effect by (10)\n        next costume\n    end\n    delete this clone\nend\n\ndefine Animate   x: (x) y: (y) size: (s) rotate: (r) speed: (s)\nchange x by (((round (x)) - (round (x position))) / (s))\nchange y by (((round (y)) - (round (y position))) / (s))\nchange size by (((round (s)) - (round (size))) / (s))\nturn right (((round (r)) - (round (direction))) / (s)) degrees\n\ndefine Spiral spline explosion\nset [clone v] to [Bursts]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\ndefine Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Rect\nset [clone v] to [Rect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Rect]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to (random position v)\n    point in direction (90)\n    switch costume to (background rect v)\n    repeat until <(round (size)) = [300]>\n        change size by (((300) - (size)) / (15))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Circle]> then\n    clear graphic effects\n    set [brightness v] effect to (100)\n    go to [front v] layer\n    go [backward v] (2) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\ndefine Circle\nset [clone v] to [Circle]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [clone v] to [Circle 2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Circle 2]> then\n    clear graphic effects\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [17]>> then\n        hide\n    end\n    if <(backdrop [number v]) = [17]> then\n        change [ghost v] effect by (100)\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (R v)\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [9]> or > then\n        show\n    end\n    if <not <<(backdrop [number v]) = [9]> or >> then\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (-27) y: (-128)\nforever\n    if <(backdrop [number v]) = [9]> then\n        forever\n            glide (2) secs to x: (-27) y: (63)\n            wait (1) seconds\n            glide (2) secs to x: (-27) y: (-128)\n            wait (1) seconds\n        end\n    end\nend\n\n\nend\n\n@Sprite5\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [11]> then\n        show\n    end\n    if <not <(backdrop [number v]) = [11]>> then\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (-67) y: (-130)\nforever\n    if <(backdrop [number v]) = [11]> then\n        forever\n            glide (2) secs to x: (198) y: (-130)\n            wait (1) seconds\n            glide (2) secs to x: (-67) y: (-130)\n            wait (1) seconds\n        end\n    end\nend\n\nshow\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [1]> then\n        hide\n    end\n    if <not <(backdrop [number v]) = [1]>> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (S v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        broadcast (H v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n
 \n--STOP SAYING THE LEVELS ARE IMPOSSIBLE--\n(They are not I tested EVERY level and they are all 100% possible!)\n        \n           --PROPOSE THIS TO BE FEATURED!!--\n                                   (please)\n \n---IT WILL ADD YOU TO THE LEADER BOARD WHEN YOU FINISH---\n\n--HOVER OVER BLACK LINE TO SEE LEADER BOARD--\n\nARROW KEYS TO MOVE\nDON'T TOUCH RED OR GRASS!!!!\n\n-YOU CAN ONLY SET A RECORD ON YOUR FIRST TRY SO CLICK THE GREEN FLAG AGAIN TO TRY FOR ANOTHER RECORD-\n\n--NEW GAME: https://scratch.mit.edu/projects/561679003 --\n                           --It's called GrAvItY--\n\n--IF YOU WANT TO MAKE A PLATFORMER GO HERE: https://scratch.mit.edu/projects/561750168 (it has assets and player code)\n                \n                     --Totally don't scroll down...--\n\n\n\n\n\n\nAre you still here?\n\n\n\n\n\n\n\n\nSeriously??\n\n\n\n\n\n\n\n\nWOW\n\n\n\n\n\n\n\nComment: _gobo_\n\n\n\n\n\n\n\nAnd Comment:_meow_\n\n\n\n\n\n\n\n\n\n\nSTILL GOING?!\n\n\n\n\n\n\nWOW\n\n\n\n\n\n\n\nfollow me :)\n\n\n\n\n\n\nI will then do a 50+ follower contest...\n\n\n\n\n\n\n\nNo more from me!... :)\n\n\n\n\n\n\n\n\nor not ;)\n\n\n\n\n\n\n\n\n\nok seriously now\n\n\n\n\n\n\n\nnot joking!\n\n\n\n\n\n\n\n\n\nfar out\n\n\n\n\n\n\n\ni'm done!\n\n\n\n\n\n\n\n:0