A kiwi platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (blue sky v)\n\n@Player\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nhide\ngo to x: (-220) y: (-120)\nset rotation style [left-right v]\npoint in direction (90)\nshow\nset [takeoffspeed v] to [12]\nset [runspeed v] to [8]\nset [gravity v] to [-1]\nset [fallspeed v] to [0]\nforever\n    run controls\n    jump control\n    simulate gravity\n    if <touching color (#000000)?> then\n        hide\n        broadcast (die v)\n        set rotation style [left-right v]\n        go to x: (-220) y: (-120)\n        set [takeoffspeed v] to [12]\n        set [runspeed v] to [8]\n        set [gravity v] to [-1]\n        set [fallspeed v] to [0]\n        broadcast (start v)\n        point in direction (90)\n        show\n    end\n    if <touching color (#ffb500)?> then\n        hide\n        broadcast (new level v)\n        set rotation style [left-right v]\n        go to x: (-220) y: (-120)\n        set [takeoffspeed v] to [12]\n        set [runspeed v] to [8]\n        set [gravity v] to [-1]\n        set [fallspeed v] to [0]\n        broadcast (start v)\n        point in direction (90)\n        show\n    end\n    if <touching color (#7f00ff)?> then\n        set [takeoffspeed v] to [17]\n        change y by (-1)\n        set [fallspeed v] to (takeoffspeed)\n        change y by (1)\n        set [takeoffspeed v] to [10]\n    end\n    if <touching color (#7f00ff)?> then\n        set [takeoffspeed v] to [17]\n    else\n        set [takeoffspeed v] to [12]\n    end\n    if <touching color (#00ffff)?> then\n        set [gravity v] to [-0.3]\n    else\n        set [gravity v] to [-1]\n    end\n    if <touching color (#382d07)?> then\n        point in direction (-90)\n        say [thank you] for (2) seconds\n        point in direction (90)\n        set [move v] to [228]\n        repeat (20)\n            set x to (MOVE)\n            change [move v] by (1)\n        end\n        hide\n        wait until <key (space v) pressed?>\n    end\nend\n\nshow\nbroadcast (new level v)\n\ndefine simulate gravity\nchange y by (fallspeed)\nif <touching color (#007025)?> then\n    if <(fallspeed) < [0]> then\n        set [reversestep v] to [1]\n    else\n        set [reversestep v] to [-1]\n    end\n    repeat until <not <touching color (#007025)?>>\n        change y by (reversestep)\n    end\n    set [fallspeed v] to [0]\nelse\n    change [fallspeed v] by (gravity)\nend\n\ndefine jump control\nif <key (up arrow v) pressed?> then\n    if <touching color (#00ffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [fallspeed v] to ((takeoffspeed) / (2))\n        end\n    else\n        change y by (-1)\n        if <touching color (#007025)?> then\n            set [fallspeed v] to (takeoffspeed)\n        end\n        change y by (1)\n    end\nend\n\nif <key (right arrow v) pressed?> then\n    change x by (runspeed)\n    point in direction (90)\n    if <touching color (#00ff55)?> then\n        if <key (up arrow v) pressed?> then\n            change y by (-1)\n            change x by ((0) - (runspeed))\n            set [fallspeed v] to (takeoffspeed)\n            change x by ((0) - (runspeed))\n            change y by (1)\n        end\n        change x by (-5)\n    end\nend\nif <key (left arrow v) pressed?> then\n    change x by ((0) - (runspeed))\n    point in direction (-90)\n    if <touching color (#00ff55)?> then\n        if <key (up arrow v) pressed?> then\n            change y by (-1)\n            change x by (runspeed)\n            set [fallspeed v] to (takeoffspeed)\n            change x by (runspeed)\n            change y by (1)\n        end\n        change x by (5)\n    end\nend\n\ndefine run controls\nif <key (right arrow v) pressed?> then\n    point in direction (90)\n    change x by (runspeed)\n    if <touching color (#007025)?> then\n        change x by ((0) - (runspeed))\n    end\nelse\n    change x by ((runspeed) / (2))\n    if <touching color (#007025)?> then\n        change x by ((0) - (runspeed))\n    end\nend\nif <key (left arrow v) pressed?> then\n    change x by ((0) - (runspeed))\n    point in direction (-90)\n    if <touching color (#007025)?> then\n        change x by (runspeed)\n    end\nelse\n    change x by (((0) - (runspeed)) / (2))\n    if <touching color (#007025)?> then\n        change x by (runspeed)\n    end\nend\n\nif <key (left arrow v) pressed?> then\n    change [move v] by (-1)\nend\n\nchange x by ((0) - (runspeed))\npoint in direction (-90)\nif <touching color (#007025)?> then\n    change x by (runspeed)\nend\n\npoint in direction (90)\nchange x by (runspeed)\nif <touching color (#007025)?> then\n    change x by ((0) - (runspeed))\nend\n\nif <key (left arrow v) pressed?> then\n    change x by ((0) - (runspeed))\n    point in direction (-90)\n    if <touching color (#007025)?> then\n        change x by (5)\n    end\nelse\n    change x by (((0) - (runspeed)) / (2))\n    point in direction (-90)\n    if <touching color (#007025)?> then\n        change x by (5)\n    end\nend\n\nif <key (right arrow v) pressed?> then\nif <key (right arrow v) pressed?> then\n    change [move v] by (-1)\nelse\n    repeat until <(MOVE) = [0]>\n        change [move v] by (1)\n    end\nend\n\nshow variable [move v]\n\nwhen flag clicked\nset [move v] to [0]\n\nchange x by (MOVE)\nif <<key (right arrow v) pressed?> and <not <touching color (#007025)?>>> then\n    repeat until <(MOVE) = [5]>\n        change [move v] by (1)\n    end\nend\nif <<key (left arrow v) pressed?> and <not <touching color (#007025)?>>> then\n    repeat until <(MOVE) = [-5]>\n        change [move v] by (-1)\n    end\nend\n\nset x to (228)\n\n@Platforms\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nswitch costume to (costume5 v)\ngo to x: (0) y: (0)\nshow\nforever\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [new level v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(level) = [16]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\ngo to x: (221) y: (-55)\ngo to [front v] layer\ngo [backward v] (10) layers\nforever\n    if <(level) = [16]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\n
Help the kiwi get back to her nest.                             \n\nArrow keys to move, avoid black\n\nkiwis are little brown birds about the size of a chicken they cannot fly, they are an endangered species. there are 5 types of kiwi, there is only about 400 Rowi (a type of kiwi) left  in the world which is kinda sad i guess, they became endangered because of people hunting them, habitat loss, weasels, dogs, hedgehogs, ect. only about 5% of kiwis live to be fully grown up. thankfully some people are trying to save them the Kiwis for kiwi charity have donated $7 million to kiwi conservation groups around NZ