Jungle - A Platformer

Instructions: ---------------Jungle - A Platformer---------------\n- Use the arrow keys to move. Yellow kills you.\n- Space to skip a level. You will have to wait 5 seconds before skipping again.\n- This took a LONG time to make, even though it's short. Just look at how much detail there is! :D\n- More levels coming soon. \n- Sometimes the thumbnail glitches.\n- All levels are possible.\n- Enjoy!\n\n- If you own an air plant and you know which kind it is, tell me so that I can add you to my list of Scratchers with Tillandsia! If you have one but don't know which kind it is, make a project with a picture of it and I can help you identify it!  :D\n-@-BANYAN- was the first to discover the easter egg! Comment if you found it too!

@Stage\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nwait (0.2) seconds\nhide\n\nwhen flag clicked\nplay sound [Guitar Effect 1  \(TerrificTillandsia\) v] until done\n\n@Player\n\nwhen flag clicked\nforever\n    if <<touching color (#b2d54f)?> or <touching color (#959d78)?>> then\n        go to x: (-192) y: (-57)\n        start sound [recording1 v]\n    end\nend\n\nwhen flag clicked\nswitch costume to (player v)\nforever\n    wait (pick random (2) to (4)) seconds\n    repeat (12)\n        next costume\n    end\n    switch costume to (player v)\nend\n\ndefine Physics (xv) (jumpheight) (friction)\nif <key (right arrow v) pressed?> then\n    switch costume to (player v)\n    change [xmovement v] by (xv)\nelse\n    if <key (left arrow v) pressed?> then\n        switch costume to (player2 v)\n        change [xmovement v] by (join [-] (xv))\n    end\nend\nset [xmovement v] to ((Xmovement) * ((0.88) - (friction)))\nchange x by (Xmovement)\nchange [yv v] by (-1.2)\nif <<touching color (#42ab0a)?> or <touching color (#9400ff)?>> then\n    repeat (1)\n        change y by (1.15)\n    end\nend\nif <<touching color (#42ab0a)?> or <touching color (#9400ff)?>> then\n    change x by ((Xmovement) * (-1))\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [14.5]\n        if <(Xmovement) > [0]> then\n            set [xmovement v] to [-7]\n        else\n            set [xmovement v] to [7]\n        end\n    else\n        set [xmovement v] to [0]\n    end\nend\nchange y by (Yv)\nif <<touching color (#42ab0a)?> or <touching color (#9400ff)?>> then\n    change y by ((Yv) - ((Yv) * (2)))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <<touching color (#42ab0a)?> or <touching color (#9400ff)?>>> then\n    set [yv v] to (jumpheight)\nend\nif <touching color (#9400ff)?> then\n    change y by ((Yv) - ((Yv) * (4)))\n    set [yv v] to [21]\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [yv v] to [0]\ngo to x: (-198) y: (-45)\nset size to (60) %\nforever\n    Physics [1.2] [14.4] [0]\nend\n\nwhen flag clicked\nforever\n    set size to (20) %\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [230]> then\n        broadcast (message1 v)\n        change [levels v] by (1)\n        go to x: (-192) y: (-57)\n    end\nend\n\nwhen flag clicked\nset [levels v] to [1]\nforever\n    play sound [rainforestambience v] until done\nend\n\nwhen [space v] key pressed\ngo to x: (-192) y: (-57)\nwait (5) seconds\n\n@Levels\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (Water v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        broadcast (No Water v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (No Water v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (space v) pressed?> and <<key (v v) pressed?> and <key (c v) pressed?>>> then\n        set [pitch v] effect to (75)\n        change volume by (100)\n        play sound [Scream v] until done\n    end\nend\n\nwhen [space v] key pressed\nnext costume\nwait (5) seconds\n\n@Vector Tree\n\nwhen flag clicked\nhide\n\n@Water\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset [hover1 v] to [0]\nset [clone id v] to [0]\nset [hover2 v] to [0]\nset [hover3 v] to [0]\nswitch costume to (costume2 v)\nforever\n    set [hover1 v] to (((hover1) + (6)) mod (360))\n    change y by (([sin v] of (hover1) ) / (1.2))\n    wait (pick random (0.1) to (0.09)) seconds\nend\n\nwhen I receive [water v]\nshow\n\nwhen I receive [no water v]\nhide\n\ngo [forward v] (1) layers\n\n@Tower\n\n@Love & Fave\n\nwhen flag clicked\ngo to x: (-167) y: (-149)\ngo to [front v] layer\nhide\nforever\n    if <(Levels) = [7]> then\n        show\n        go to [front v] layer\n        set [ghost v] effect to (20)\n    else\n        hide\n    end\nend\n\n\n\nwhen flag clicked\nforever\n    change [sin v] by (10)\n    point in direction ((([sin v] of (sin) ) * (20)) + (90))\nend\n\nwhen flag clicked\n\n