BUNNY PLATFORMER

Instructions: DO NOT put it on fullscreen. It WILL lag\nGet home to your carrot.\nDo not touch the red\nBounce on trampolines!\nBeware of the evil laughing man.\nGo off with your ghost bunny companion to help you find your carrot.

@Stage\n\n@Bunny\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [deaths v]\n\nwhen flag clicked\nrepeat (10)\n    play sound [Martin Garrix  David Guetta - So Far Away feat Jamie Scott  Romy Dya Official Video.mp3 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nhide\nwait (9) seconds\nshow\nswitch backdrop to (backdrop1 v)\ngo to x: (-203) y: (-96)\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen flag clicked\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nwait (9) seconds\nbroadcast (START OF GAME! v)\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    next costume\nend\n\nwhen flag clicked\nset [deaths v] to [0]\nforever\n    if <touching color (#ffff00)?> then\n        go to x: (-203) y: (-96)\n        switch backdrop to (next backdrop v)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-203) y: (-92)\n        change [deaths v] by (1)\n    end\n    if <touching color (#003fff)?> then\n        set [yv v] to [16]\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nhide variable [deaths v]\n\n@FINISH LINE\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop21 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nshow\nrepeat (10)\n    set size to (600) %\n    repeat (4)\n        change size by (3)\n    end\n    repeat (2)\n        change size by (2)\n    end\n    repeat (6)\n        change size by (0.5)\n    end\n    repeat (4)\n        change size by (-3)\n    end\n    repeat (2)\n        change size by (-2)\n    end\n    repeat (6)\n        change size by (-0.5)\n    end\nend\nhide\n\nwhen flag clicked\nshow\nrepeat (10)\n    point in direction (90)\n    repeat (7)\n        turn right (1) degrees\n    end\n    repeat (7)\n        turn right (-1) degrees\n    end\n    repeat (7)\n        turn right (-1) degrees\n    end\n    repeat (7)\n        turn right (1) degrees\n    end\nend\n\n@LAVA-1\n\nwhen backdrop switches to [backdrop4 v]\nshow\nforever\n    go to x: (66) y: (110)\n    glide (0.5) secs to x: (68) y: (-96)\n    glide (1) secs to x: (66) y: (110)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\n@LAVA-2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\nforever\n    go to x: (52) y: (117)\n    glide (0.5) secs to x: (52) y: (-101)\n    glide (1) secs to x: (52) y: (117)\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\n@LAVA-3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\nforever\n    go to x: (72) y: (64)\n    glide (0.5) secs to x: (74) y: (-153)\n    glide (1) secs to x: (72) y: (64)\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\n@Evil Person\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop15 v]\nshow\nforever\n    go to x: (-42) y: (29)\n    glide (0.5) secs to x: (127) y: (32)\n    glide (0.5) secs to x: (-42) y: (29)\nend\n\nwhen backdrop switches to [backdrop16 v]\nhide\n\n@randomness\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop16 v]\nshow\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\n@Block\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop17 v]\nshow\nforever\n    go to x: (-67) y: (5)\n    wait (1) seconds\n    glide (1) secs to x: (130) y: (7)\n    wait (1) seconds\n    glide (1) secs to x: (-67) y: (5)\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\nshow\nforever\n    wait (0.2) seconds\n    next costume\nend\n\nwhen backdrop switches to [backdrop22 v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nset [ghost v] effect to (40)\nhide\nwait (9) seconds\nshow\n\nwhen flag clicked\nif <touching color (#ffff00)?> then\n    go to x: (-203) y: (-55)\nend\n\nwhen I receive [start of game! v]\nshow\ngo to x: (-214) y: (-48)\nforever\n    change x by (((([x position v] of [bunny v]) - (x position)) - (10)) / (5))\n    change y by (((([y position v] of [bunny v]) - (y position)) + (50)) / (5))\nend\n\n