GHOST | A Platformer [ with the TUTORIAL ] 

Instructions:       ---------------GHOST | A Platformer--------------       \n                \nControls:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n\nArrow keys/WAD/Tap = move the player\nR = Reset player position\nAvoid touching lava, spikes, spinning wheel, falling traps and other traps\n\nMAKE SURE TO COMMENT YOUR TIME.\nClick See Inside to see the TUTORIAL\n__________________________________________\n\nCan we GET 150 LOVS : )\nPlz FOLLOW ME & Help me to reach 250 FOLLOWERS\nYou Can ask me to do  F4F In my profile    ^_~

@Stage\n\n@Player\n\nchange x by ((x) * (-1))\nchange y by (-5)\nif <key (up arrow v) pressed?> then\n    if <(x) > [0]> then\n        set [x v] to [-5]\n    else\n        set [x v] to [5]\n    end\nelse\n    set [x v] to [0]\nend\n\nwhen flag clicked\nshow\nswitch costume to (middle 1 v)\nreset timer\nset [x v] to [0]\nset [y v] to [0]\nset [time v] to [0]\ngo to x: (-206) y: (-77)\n\ndefine Jumping\nif <touching (platforms v)?> then\n    change y by (5)\n    if <touching (platforms v)?> then\n        change x by ((x) * (-1))\n        change y by (-5)\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            if <(x) > [0]> then\n                set [x v] to [-12]\n            else\n                set [x v] to [12]\n            end\n            set [y v] to [12]\n        else\n            set [x v] to [0]\n        end\n    end\nend\nchange [y v] by (-1)\nchange y by (y)\nif <touching (platforms v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <touching (platforms v)?> then\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        change [y v] by (15)\n    end\nend\nchange y by (1)\n\nwhen flag clicked\nclear graphic effects\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (5)\n    change [ghost v] effect by (20)\n    change size by (-4)\nend\ndelete this clone\n\ndefine Barrier touching & Level changing\nif <<touching (falling trap v)?> or <<touching (spikes v)?> or >> then\n    go to x: (-220) y: (-50)\n    clear graphic effects\nend\nif <(x position) > [220]> then\n    go to x: (-220) y: (-77)\n    broadcast (Next level v)\nend\n\ndefine Walking\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    change [x v] by (1)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [x v] by (-1)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\n\ndefine Costume Change\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    switch costume to (right 1 v)\n    wait (.2) seconds\n    switch costume to (right 2 v)\n    wait (.2) seconds\nelse\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (left 1 v)\n        wait (.2) seconds\n        switch costume to (left 2 v)\n        wait (.2) seconds\n    else\n        switch costume to (middle 1 v)\n        wait (.2) seconds\n        switch costume to (middle 2 v)\n        wait (.2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    Walking\nend\n\nwhen flag clicked\nforever\n    Barrier touching & Level changing\nend\n\nwhen flag clicked\nforever\n    Costume Change\nend\n\nwhen I receive [the end v]\nset [time 2 v] to (Time)\nhide\nstop [this script v]\n\nwhen flag clicked\nhide variable [☁ best time v]\nshow variable [time v]\nhide variable [time 2 v]\nforever\n    repeat until <([costume # v] of [platforms v]) = [11]>\n        set [time v] to (round (timer))\n    end\nend\n\nwhen flag clicked\nforever\n    Jumping\nend\n\nwhen I receive [the end v]\nforever\n    if <(☁ best time) > (time 2)> then\n        set [☁ best time v] to (time 2)\n    end\nend\n\nwhen flag clicked\nforever\n    set [☁ best time v] to (☁ best time)\nend\n\n@Platforms\n\nwhen I receive [next level v]\nshow\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\nwait until <(costume [number v]) = [11]>\nbroadcast (The end v)\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\n@Spinnig wheel\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nshow\nnext costume\n\nwhen flag clicked\nforever\n    turn right (15) degrees\n    if <(costume [number v]) = [5]> then\n        go to [back v] layer\n        go to x: (133) y: (-97)\n    end\n    if <(costume [number v]) = [7]> then\n        go to [back v] layer\n        go to x: (133) y: (-93)\n    end\nend\n\n@Lava\n\nwhen I receive [next level v]\ngo to x: (3) y: (0)\nnext costume\nif <(costume [number v]) = [4]> then\n    go to [back v] layer\nend\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\ngo to x: (3) y: (0)\nforever\n    repeat (10)\n        change y by (-1)\n        wait (.1) seconds\n    end\n    wait (.03) seconds\n    repeat (10)\n        change y by (1)\n        wait (.01) seconds\n    end\nend\n\n@Falling trap\n\nwhen flag clicked\nhide\nforever\n    wait until <([costume # v] of [platforms v]) = [10]>\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    show\n    go to x: (-122) y: (28)\n    repeat until <([costume # v] of [platforms v]) = [11]>\n        glide (pick random (1.5) to (2.1)) secs to x: (-122) y: (-266)\n        glide (pick random (1.5) to (2.1)) secs to x: (-122) y: (28)\n    end\nend\n\nwhen I start as a clone\nshow\nswitch costume to (costume2 v)\ngo to x: (52) y: (-236)\nrepeat until <([costume # v] of [platforms v]) = [11]>\n    go to [back v] layer\n    glide (pick random (1.5) to (2.1)) secs to x: (52) y: (60)\n    glide (pick random (1.5) to (2.1)) secs to x: (52) y: (-236)\n    wait (1) seconds\nend\nstop [this script v]\n\n@Scorebaord\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nshow\ngo to [front v] layer\nshow variable [time 2 v]\nhide variable [time v]\n\nwhen I receive [the end v]\nshow variable [☁ best time v]\nforever\n    next costume\n    wait (.1) seconds\nend\n\n@Shoutboard\n\nwhen flag clicked\nshow\nforever\n    go to [back v] layer\n    switch costume to ([costume # v] of [platforms v])\nend\n\nwhen I receive [the end v]\nhide\n\nwhen flag clicked\nclear graphic effects\nforever\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    wait (.1) seconds\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    play sound [yt1s v] until done\nend\n\nwhen flag clicked\nshow\nclear graphic effects\ngo to [front v] layer\nwait (.1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n