Parkour - Sky Island Platformer

Instructions: - Use the arrow keys to move\n- Try reach the yellow sun on every level\n- There are 31 Levels, try to find the real ending!\nBut most importantly...\nHAVE FUN!\n\nB.T.W Don't play in full screen if you want it to stop lagging. 

@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nforever\n    repeat (10)\n        play sound [Allison  Vexento - Mango Breeze.mp3 v] until done\n    end\nend\n\nwhen backdrop switches to [stage 1 v]\nrepeat until <(backdrop [number v]) = [34]>\n    change [time v] by (1)\n    wait (1) seconds\nend\n\n@Start\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <<touching (mouse-pointer v)?> and <(size) = [100]>> then\n        repeat (2)\n            change size by (0.5)\n        end\n        repeat (2)\n            change size by (1.5)\n        end\n        repeat (5)\n            change size by (2.5)\n        end\n        repeat (5)\n            change size by (1.5)\n        end\n        repeat (5)\n            change size by (1)\n        end\n        repeat (4)\n            change size by (0.5)\n        end\n        repeat (2)\n            change size by (0.25)\n        end\n    else\n        if <<not <touching (mouse-pointer v)?>> and <(size) > [100]>> then\n            repeat (2)\n                change size by (-0.5)\n            end\n            repeat (2)\n                change size by (-1.5)\n            end\n            repeat (5)\n                change size by (-2.5)\n            end\n            repeat (5)\n                change size by (-1.5)\n            end\n            repeat (5)\n                change size by (-1)\n            end\n            repeat (4)\n                change size by (-0.5)\n            end\n            repeat (2)\n                change size by (-0.25)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [score v] to [0]\nset [level v] to [Main Menu]\nswitch backdrop to (main menu v)\nshow\n\nwhen flag clicked\nforever\n    if <not <(Level) = [Main Menu]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nswitch backdrop to (stage 1 v)\nset [level v] to [1]\nbroadcast (start v)\n\nwhen flag clicked\nset [time v] to [0]\n\n@How To Play\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <<touching (mouse-pointer v)?> and <(size) = [100]>> then\n        repeat (2)\n            change size by (0.5)\n        end\n        repeat (2)\n            change size by (1.5)\n        end\n        repeat (5)\n            change size by (2.5)\n        end\n        repeat (5)\n            change size by (1.5)\n        end\n        repeat (5)\n            change size by (1)\n        end\n        repeat (4)\n            change size by (0.5)\n        end\n        repeat (2)\n            change size by (0.25)\n        end\n    else\n        if <<not <touching (mouse-pointer v)?>> and <(size) > [100]>> then\n            repeat (2)\n                change size by (-0.5)\n            end\n            repeat (2)\n                change size by (-1.5)\n            end\n            repeat (5)\n                change size by (-2.5)\n            end\n            repeat (5)\n                change size by (-1.5)\n            end\n            repeat (5)\n                change size by (-1)\n            end\n            repeat (4)\n                change size by (-0.5)\n            end\n            repeat (2)\n                change size by (-0.25)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (button2-b v)\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [Main Menu]> then\n        switch costume to (button2-b v)\n        show\n    else\n        if <(Level) = [Help]> then\n            switch costume to (button2-b2 v)\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [ 1 ]> then\n    set [level v] to [Help]\n    switch backdrop to (help v)\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [2]> then\n    set [level v] to [Main Menu]\n    switch backdrop to (main menu v)\nend\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <key (left arrow v) pressed?> then\n        if <<(left) = [0]> and <(jumping) = [0]>> then\n            go to x: ((x position) - (2.5)) y: (y position)\n        else\n            if <<(left) = [0]> and <(jumping) = [1]>> then\n                go to x: ((x position) - (2)) y: (y position)\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <key (up arrow v) pressed?> then\n        if <<(bottom) = [1]> and <<(top) = [0]> and <(jumping) = [0]>>> then\n            set [jumping v] to [1]\n            repeat (6)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (6))\n                end\n            end\n            repeat (6)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (5))\n                end\n            end\n            repeat (4)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (4))\n                end\n            end\n            repeat (4)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (2.5))\n                end\n            end\n            repeat (6)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (1))\n                end\n            end\n            repeat (8)\n                if <(jumping) = [1]> then\n                    go to x: (x position) y: ((y position) + (0.2))\n                end\n            end\n            set [jumping v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(bottom) = [0]> and <(jumping) = [0]>> then\n        repeat (6)\n            if <(bottom) = [0]> then\n                go to x: (x position) y: ((y position) - (0.5))\n            end\n        end\n        repeat (6)\n            if <(bottom) = [0]> then\n                go to x: (x position) y: ((y position) - (1.5))\n            end\n        end\n        repeat (4)\n            if <(bottom) = [0]> then\n                go to x: (x position) y: ((y position) - (2))\n            end\n        end\n        repeat until <(bottom) = [1]>\n            go to x: (x position) y: ((y position) - (4))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(top) = [1]> then\n        set [jumping v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [Main Menu]> or <(Level) = [Help]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-169) y: (-110)\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-169) y: (-110)\n\nwhen flag clicked\nforever\n    if <touching color (#ff9400)?> then\n        go to x: (-169) y: (-110)\n        change [level v] by (1)\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#009933)?> then\n        switch backdrop to (stage 33 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        switch backdrop to (stage 34 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#995900)?> then\n        switch backdrop to (stage 1 v)\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <touching color (#00ff55)?> then\n        switch backdrop to (stage 35 v)\n        wait (5) seconds\n        switch backdrop to (stage 34 v)\n    end\n    forever\n        if <touching color (#0033cc)?> then\n            switch backdrop to (stage 35 v)\n            wait (5) seconds\n            switch backdrop to (stage 34 v)\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <key (right arrow v) pressed?> then\n        if <<(right) = [0]> and <(jumping) = [0]>> then\n            go to x: ((x position) + (2.5)) y: (y position)\n        else\n            if <<(right) = [0]> and <(jumping) = [1]>> then\n                go to x: ((x position) + (2)) y: (y position)\n            end\n        end\n    end\nend\n\n@PlayerTop\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666666)?> then\n        set [top v] to [1]\n        set [jumping v] to [0]\n    else\n        set [top v] to [0]\n    end\nend\n\n@PlayerBottom\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666666)?> then\n        set [bottom v] to [1]\n    else\n        set [bottom v] to [0]\n    end\nend\n\n@PlayerLeft\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666666)?> then\n        set [left v] to [1]\n    else\n        set [left v] to [0]\n    end\nend\n\n@PlayerRight\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666666)?> then\n        set [right v] to [1]\n    else\n        set [right v] to [0]\n    end\nend\n\n@thumbnail\n\nwhen flag clicked\nhide\n\n