How to Make A Better Platformer

Instructions: I made this tutorial on how to make a better platformer!\nEnjoy! If you like it please love, fave and follow!

@Stage\n\nwhen I receive [tick v]\nchange [color v] effect by (0.1)\n\nwhen flag clicked\nclear graphic effects\nforever\n    play sound [Happy Music v] until done\nend\n\n@Sprite1\n\ndefine Next\nif <not <(costume [number v]) = [21]>> then\n    create clone of (_myself_ v)\n    next costume\n    go to x: (100000) y: (0)\nend\n\nwhen I receive [tick v]\nset y to (([sin v] of ((timer) * (300)) ) * (5))\n\ndefine Next Slide\nrepeat (1)\n    delete this clone\nend\nNext\nrepeat (50)\n    change x by (((0) - (x position)) / (15))\n    set [ghost v] effect to ([abs v] of ((x position) / (4)) )\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [brightness v] effect to (0)\nforever\n    broadcast (Tick v)\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (50)\n    change x by (((-408) - (x position)) / (15))\n    set [ghost v] effect to ([abs v] of ((x position) / (4)) )\nend\ndelete this clone\n\nwhen [space v] key pressed\n\nwhen flag clicked\nforever\n    wait until <<key (right arrow v) pressed?> or <<key (space v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>>\n    Next Slide\n    wait until <not <<key (right arrow v) pressed?> or <<key (space v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>>>\nend\n\nwhen flag clicked\nforever\n    wait until <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>>\n    Previous Slide\n    wait until <not <<key (right arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>>>\nend\n\ndefine Previous\nif <not <(costume [number v]) = [1]>> then\n    create clone of (_myself_ v)\n    switch costume to ((costume [number v]) - (1))\n    go to x: (100000) y: (0)\nend\n\ndefine Previous Slide\nrepeat (1)\n    delete this clone\nend\nPrevious\nrepeat (50)\n    change x by (((0) - (x position)) / (15))\n    set [ghost v] effect to ([abs v] of ((x position) / (4)) )\nend\n\nwhen flag clicked\nforever\n    change x by (((0) - (x position)) / (15))\n    set [ghost v] effect to ([abs v] of ((x position) / (4)) )\nend\n\n@Like this\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (5)) + (90))\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to (0)\n    else\n        change size by (((60) - (size)) / (3))\n        set [ghost v] effect to (60)\n    end\n    if <([costume # v] of [sprite1 v]) = [18]> then\n        show\n    else\n        hide\n    end\nend\n\n@Toenail (XD)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    show\nend\n\n@Particle Effects\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nset [ghost v] effect to (80)\nset size to (pick random (20) to (80)) %\nset [speed v] to (pick random (5) to (5))\nset [rotation v] to (pick random (-5) to (5))\nshow\npoint in direction (pick random (-180) to (180))\ngo to (random position v)\nset y to (-180)\nrepeat until <(y position) > [150]>\n    turn right (Rotation) degrees\n    change y by (Speed)\nend\ndelete this clone\n\n@Mouse Effects\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to (mouse-pointer v)\nshow\nset [xv v] to (pick random (-5) to (5))\nset [yv v] to (pick random (0) to (6))\nset size to (pick random (50) to (100)) %\nset [color v] effect to (pick random (0) to (200))\npoint in direction (pick random (-180) to (180))\nset [ghost v] effect to (pick random (60) to (80))\nset [turn v] to (pick random (-5) to (5))\nrepeat until <touching (_edge_ v)?>\n    go to x: ((x position) + (Xv)) y: ((y position) + (Yv))\n    change [yv v] by (-1)\n    turn right (Turn) degrees\n    change [ghost v] effect by (1)\n    if <mouse down?> then\n        change [xv v] by (((mouse x) - (x position)) / (5))\n        change [yv v] by (((mouse y) - (y position)) / (5))\n    end\nend\ndelete this clone\n\n