Neon - A Platformer
@Stage\n\n@Player\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <key (t v) pressed?> then\n        forever\n            delete this clone\n        end\n    end\nend\n\ndefine Fade over (frames) frames\nrepeat (frames)\n    set [ghost v] effect to ((100) / (frames))\nend\n\nwhen flag clicked\nset [color v] effect to (10)\nset size to (50) %\nswitch backdrop to (backdrop13 v)\nshow\nwait (1) seconds\nswitch backdrop to (backdrop2 v)\ngo to x: (-154) y: (96)\nset rotation style [left-right v]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (-2)\n    change y by (Y vel)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y vel)>\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <<<touching color (#00ff15)?> or <touching color (#c600ff)?>> or <touching color (#3c3c3c)?>>> or <(Ground Lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(Ground Lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        walk [-5]\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        walk [5]\n    end\n    if <<<key (up arrow v) pressed?> and <(In air?) < [8]>> or <<key (w v) pressed?> and <(In air?) < [8]>>> then\n        set [y vel v] to [14]\n    end\n    if <<touching color (#ff0000)?> or <key (r v) pressed?>> then\n        go to x: (-154) y: (92)\n    end\n    if <<<(x position) = [281]> or <(x position) > [281]>> and <not <hiding>>> then\n        go to x: (-154) y: (92)\n        next backdrop\n    end\n    if <(y position) = [-176]> then\n        go to x: (-154) y: (92)\n    end\n    if <touching color (#ff00f9)?> then\n        repeat until <not <touching color (#ff00f9)?>>\n            change [y vel v] by (30)\n        end\n    end\nend\n\ndefine handle ground <moving up>\nrepeat until <not <<<touching color (#00ff15)?> or <touching color (#c600ff)?>> or <touching color (#3c3c3c)?>>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y vel v] to [0]\nend\n\nwhen flag clicked\nFade over [25] frames\n\nwhen I start as a clone\nrepeat (10)\n    set [ghost v] effect to (0)\nend\ndelete this clone\n\nwhen flag clicked\ngo to x: (-154) y: (-100)\nforever\n    if <key (space v) pressed?> then\n        change [color v] effect by (10)\n    end\n    if <key (c v) pressed?> then\n        repeat until <key (space v) pressed?>\n            change [color v] effect by (10)\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (45) %\n\nwhen backdrop switches to [stripes v]\nforever\n    hide\nend\n\nwhen flag clicked\nrepeat until <(backdrop [name v]) = [Stripes]>\n    play sound [Dance Energetic2 v] until done\nend\nbroadcast (done v)\n\nwhen backdrop switches to [stripes v]\nstop all sounds\nset volume to (0) %\nwait (0.1) seconds\nset volume to (30) %\n\ndefine Player <hiding>\nhide\n\nwhen I receive [next v]\ngo to x: (-168) y: (48)\n\n@Heart2\n\nwhen backdrop switches to [stripes v]\ngo to x: (-29) y: (-73)\nshow\n\nwhen flag clicked\nhide\n\n@Star2\n\nwhen flag clicked\nhide\npoint in direction (84)\ngo to x: (23) y: (-76)\n\nwhen backdrop switches to [stripes v]\nshow\n\n@vibes\n\nwhen flag clicked\nset size to (120) %\npoint in direction (90)\nhide\ngo to x: (-20) y: (208)\nwait (1) seconds\n\nwhen backdrop switches to [stripes v]\nshow\nglide (1) secs to x: (-20) y: (122)\nwait (1) seconds\nforever\n    change size by (10)\n    wait (1) seconds\n    change size by (-10)\n    wait (1) seconds\nend\n\nwhen I receive [done v]\nset volume to (30) %\nforever\n    play sound [Dance Celebrate v] until done\nend\n\n@Follow_Me__3_-removebg-preview\n\nwhen flag clicked\nhide\nset size to (90) %\ngo to x: (0) y: (-140)\n\nwhen backdrop switches to [stripes v]\nshow\n\n@dd\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [stripes v]\nshow\nset size to (16) %\nset volume to (30) %\ngo to x: (195) y: (56)\nswitch costume to (costume1 v)\nwait (2) seconds\nforever\n    wait (1) seconds\n    glide (1) secs to x: (83) y: (-145)\n    switch costume to (dd v)\n    wait (1) seconds\n    switch costume to (dd2 v)\n    play sound [recording1 v] until done\n    wait (1) seconds\n    switch costume to (costume1 v)\n    glide (1) secs to x: (195) y: (56)\n    wait (1) seconds\n    glide (1) secs to x: (25) y: (-97)\n    switch costume to (dd v)\n    wait (1) seconds\n    switch costume to (dd2 v)\n    play sound [recording1 v] until done\n    wait (1) seconds\n    switch costume to (costume1 v)\n    glide (1) secs to x: (195) y: (56)\n    wait (1) seconds\n    glide (1) secs to x: (-25) y: (-101)\n    switch costume to (dd v)\n    wait (1) seconds\n    switch costume to (dd2 v)\n    play sound [recording1 v] until done\n    wait (1) seconds\n    switch costume to (costume1 v)\n    glide (1) secs to x: (195) y: (56)\n    wait (1) seconds\nend\n\n@lindche792\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [stripes v]\nshow\nset size to (45) %\npoint in direction (90)\nhide\ngo to x: (-174) y: (166)\nshow\nglide (1) secs to x: (-174) y: (94)\nwait (1) seconds\nforever\n    change size by (10)\n    wait (1) seconds\n    change size by (-10)\n    wait (1) seconds\nend\n\n@saw\n\nwhen flag clicked\nset rotation style [left-right v]\nswitch costume to (saw v)\nset size to (55) %\nhide\n\nwhen backdrop switches to [backdrop21 v]\ngo to x: (-161) y: (-121)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nset [speed y v] to [0]\nforever\n    Move - Left or right \nend\n\nwhen backdrop switches to [backdrop5 v]\ndelete this clone\n\ndefine Move - Down\nchange [ground lift v] by (-1)\nchange y by (speed y)\nrepeat until <not <touching color (#00ff15)?>>\n    change y by (1)\n    set [speed y v] to [0]\nend\n\ndefine Move - Left or right \nmove (6) steps\nif < or <touching (_edge_ v)?>> then\n    move (-6) steps\n    turn right (180) degrees\nend\n\n@Sprite1\n\nwhen this sprite clicked\nif <([x position v] of [player v]) = [-198]> then\n    next backdrop\nelse\n    broadcast (next v)\n    next backdrop\nend\n\nwhen backdrop switches to [stripes v]\nhide\n\nwhen flag clicked\nshow\n\n
Avoid Lava, saws, and spikes. Purple is bouncy. Click the Skip button to skip the level if it is too hard for u. (If you want to turn rainbow, press c. If you don't want to turn rainbow, press space. If you want to change your color, press space. If you don't want the trail because it makes you dizzy, press t.) Press the down arrow key to sneak. Check out my other cool platformer here: https://scratch.mit.edu/projects/809508278 This is my very first game entry, I am excited to share it.  (Whenever you can't find this game, it means I have unshared it and am upgrading it.)  There are some glitches, but if you press r (for reload) it usually goes back to normal.  Pls heart and star and follow!  Thank you!  More levels coming soon. (By the way, all levels are 100% possible.  May be a little hard, though. If I can do it you can do it.) Can you beat my record of 10 defeats? >:) Bet you can't. :) If you think there is any way I can improve it, please tell me. I might not be able to do it, though.