~Bunny~|| An Easter Themed Platformer #games

Instructions: ~Bunny~|| An Easter Themed Platformer\n===============\n===============\nSo Easter is comming soon, so I decided I wanted to make a platformer for Easter. And here it is! This is definitely my best platformer yet. Instead of your average generic spikes and saws, you have carrots and spinning carrots. Sometimes you have three spinning carrots, and sometimes you have two. \n========================\nThe color scheme was very hard for this game. Easter is repesented by mainly pastel colors, and for me that is hard to make it look right in a platformer. I tried my best, so   \nif you don't like the color scheme, just note I tried.\n======================\nCredits-\nAmazing intro by: @Lopon1\nRest of code by me\nTree Art: @INorth\nFont on Thumbnail: Cooltext.com\nMusic: Xaf; Starship\nTheme: Easter\nEverything Else by me\n===================\nTags:\n#all #trending #games #art #music #platformer #Easter #bunny #carrots #eggs #nongeneric #INorth #-Xaf-\n#-AMETHYSTQUEEN-

@Stage\n\nwhen flag clicked\nswitch backdrop to (for intro v)\n\nwhen I receive [start v]\nswitch backdrop to (level 1 v)\n\n@player\n\ndefine Vertical Movement\nif <<key (up arrow v) pressed?> and <(Touching Ground?) = [true]>> then\n    create clone of (_myself_ v)\n    set [vy v] to [11]\nend\nchange [vy v] by (-1)\nchange y by (vy)\nset [touching ground? v] to [false]\nTouch Ground\n\ndefine Touch Ground\nif <touching color (#84ff68)?> then\n    set [vy v] to [0]\n    repeat until <not <touching color (#84ff68)?>>\n        change y by (1)\n    end\n    set [touching ground? v] to [true]\nend\n\ndefine Horizontal Movement\nset [vx v] to ((vx) * (0.75))\nchange x by (vx)\nif <key (right arrow v) pressed?> then\n    change x by (3)\n    switch costume to (facing right v)\n    create clone of (_myself_ v)\n    change [vx v] by (2)\nend\nif <key (left arrow v) pressed?> then\n    change x by (-3)\n    switch costume to (facing left v)\n    create clone of (_myself_ v)\n    change [vx v] by (-2)\nend\n\nwhen I start as a clone\nswitch costume to (trail v)\nset [ghost v] effect to (5)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch backdrop to (level 1 v)\nforever\n    if <(x position) > [210]> then\n        next backdrop\n        go to x: (-210) y: (-52)\n    end\n    if <touching (carrots v)?> then\n        reset\n    end\n    if <touching (spinning carrots v)?> then\n        reset\n    end\n    if <touching (trampoline v)?> then\n        change [vy v] by (30)\n        change y by (vy)\n        set [touching ground? v] to [false]\n        play sound [Boing v] until done\n    end\nend\n\nwhen I receive [start v]\nclear graphic effects\nswitch costume to (facing left v)\ngo to x: (-171) y: (-26)\nset [touching ground? v] to [0]\nset [vx v] to [0]\nset [vy v] to [0]\nforever\n    Horizontal Movement\n    Vertical Movement\nend\n\ndefine reset\nrepeat (17)\n    change [ghost v] effect by (4)\nend\ngo to x: (-210) y: (-52)\nswitch costume to (facing right v)\nclear graphic effects\n\nwhen I receive [reset v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\ngo to x: (-210) y: (-26)\nswitch costume to (facing right v)\nclear graphic effects\n\n@ground\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nchange [ghost v] effect by (100)\n\n@Carrots\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nforever\n    if <(backdrop [name v]) = [Level 2]> then\n        show\n        switch costume to (level 1 v)\n    end\n    if <(backdrop [name v]) = [Level 3]> then\n        show\n        switch costume to (level 2 v)\n    end\n    if <(backdrop [name v]) = [Level 4]> then\n        show\n        switch costume to (level 3 v)\n    end\n    if <(backdrop [name v]) = [Level 5]> then\n        hide\n    end\n    if <(backdrop [name v]) = [Level 6]> then\n        show\n        switch costume to (level 4 v)\n    end\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        switch costume to (level 5 v)\n    end\n    if <(backdrop [name v]) = [Level 8]> then\n        show\n        switch costume to (level 6 v)\n    end\n    if <(backdrop [name v]) = [Level 9]> then\n        show\n        switch costume to (level 7 v)\n    end\n    if <(backdrop [name v]) = [Level 10]> then\n        show\n        go to [front v] layer\n        switch costume to (level 8 v)\n    end\n    if <(backdrop [name v]) = [Level 11]> then\n        go to [back v] layer\n        go to [back v] layer\n        switch costume to (level 9 v)\n    end\n    if <(backdrop [name v]) = [Level 12]> then\n        show\n        switch costume to (level 10 v)\n    end\n    if <(backdrop [name v]) = [Level 13]> then\n        switch costume to (level 11 v)\n    end\n    if <(backdrop [name v]) = [Level 14]> then\n        switch costume to (level 12 v)\n    end\n    if <(backdrop [name v]) = [Level 15]> then\n        switch costume to (level 13 v)\n    end\n    if <(backdrop [name v]) = [Level 16]> then\n        switch costume to (level 14 v)\n    end\n    if <(backdrop [name v]) = [Level 17]> then\n        switch costume to (level 15 v)\n    end\n    if <(backdrop [name v]) = [Level 18]> then\n        switch costume to (level 16 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 19]> then\n        switch costume to (level 17 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 20]> then\n        switch costume to (level 18 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        play sound [Oops v] until done\n    end\nend\n\n@Spinning Carrots\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    if <<<<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> or <(backdrop [name v]) = [Level 15]>> or <(backdrop [name v]) = [Level 16]>> then\n        if <<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> then\n            show\n            switch costume to (three carrots v)\n            go to [back v] layer\n            turn left (5) degrees\n            go to x: (34) y: (-84)\n        else\n            if <(backdrop [name v]) = [Level 16]> then\n                show\n                switch costume to (three carrots v)\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (-29) y: (-84)\n            else\n                show\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (208) y: (-78)\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [start v]\nset [random costume v] to [0]\nforever\n    wait (7) seconds\n    change [random costume v] by (pick random (1) to (2))\n    forever\n        if <(Random Costume) > [7]> then\n            switch costume to (two carrots v)\n        else\n            switch costume to (three carrots v)\n        end\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-121) y: (-20)\nswitch costume to (trampoline:\) v)\nforever\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        go to x: (-121) y: (-38)\n    else\n        if <(backdrop [name v]) = [Level 10]> then\n            show\n            go to x: (-121) y: (-38)\n        else\n            if <(backdrop [name v]) = [Level 14]> then\n                show\n                go to x: (-121) y: (-38)\n            else\n                if <(backdrop [name v]) = [Level 17]> then\n                    show\n                    go to x: (59) y: (-38)\n                else\n                    if <(backdrop [name v]) = [Level 18]> then\n                        show\n                        go to x: (146) y: (-38)\n                    else\n                        hide\n                    end\n                end\n            end\n        end\n    end\nend\n\n@clouds\n\nwhen flag clicked\nhide\nclear graphic effects\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\ngo [forward v] (3) layers\nset [ghost v] effect to (40)\ngo to x: (-300) y: (85)\npoint in direction (90)\nforever\n    move (2) steps\n    wait (0.01) seconds\n    if <(x position) > [300]> then\n        hide\n        go to x: (-300) y: (63)\n        wait (2) seconds\n        show\n    end\nend\n\n@Love, fav, follow banner\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-160) y: (188)\nforever\n    wait (pick random (5) to (17)) seconds\n    show\n    repeat (13)\n        change y by (-3)\n        wait (0.01) seconds\n    end\n    wait (4) seconds\n    repeat (10)\n        change y by (4)\n        wait (0.01) seconds\n    end\n    hide\nend\n\n@Skip Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next backdrop\n        reset\n        wait (2) seconds\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Previous Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n        switch backdrop to (previous backdrop v)\n        wait (2) seconds\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Reset Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\ngo to x: (-152) y: (-115)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Music Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nswitch costume to (unmute v)\ngo to x: (-153) y: (-163)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next costume\n        wait (1) seconds\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\nwhen I receive [start v]\nplay sound [Starship v] until done\n\nwhen I receive [start v]\nforever\n    if <(costume [name v]) = [Mute]> then\n        set volume to (0) %\n    else\n        set volume to (100) %\n    end\nend\n\n@Particals\n\ndefine ResetGhosting\nset [ghost v] effect to (100)\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (2))\ngo [backward v] (100) layers\nResetGhosting\nshow\ngo to (random position v)\nrepeat (10)\n    change [ghost v] effect by (-4)\n    move (-1) steps\nend\nrepeat (10)\n    move (-1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    move (1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    change [ghost v] effect by (4)\n    move (1) steps\nend\ndelete this clone\n\ndefine Fade| In Or Out?| (inorout  ) Speed| (speed)\nif <(inorout  ) = [in]> then\n    repeat (speed)\n        change [ghost v] effect by (-10)\n    end\nend\nif <(inorout  ) = [out]> then\n    repeat (speed)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [start v]\nwait (0.1) seconds\nset [gameyo v] to [false]\nResetGhosting\nforever\n    if <(GameYo) = [false]> then\n        create clone of (_myself_ v)\n    else\n        delete this clone\n    end\nend\n\n@Sun\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    if <(backdrop [number v]) > [9]> then\n        hide\n    end\nend\n\n@Intro\n\ndefine grow in\nshow\nset [ghost v] effect to (100)\nset size to (0) %\nrepeat (10)\n    change size by ((22) - ((size) / (5)))\n    change [ghost v] effect by (-10)\nend\nset size to (100) %\n\ndefine Shake\nset size to (300) %\nrepeat until <(round (size)) = [100]>\n    go to x: (([sin v] of ((timer) * (500)) ) * (((100) - (size)) / (2))) y: (([sin v] of ((timer) * (500)) ) * (((100) - (size)) / (2)))\n    change size by (((100) - (size)) / (5))\nend\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nshow\nif <(CloneID) = [1]> then\n    switch costume to (cooltext376119844068841 v)\n    grow in\n    Shake\n    Shake\n    switch costume to (screenshot 2020-09-14 at 4 v)\n    Shake\n    Shake\n    Shake\n    Shake\n    hide\nend\n\nwhen I start as a clone\nshow\nif <(CloneID) = [Shock1]> then\n    switch costume to (shock v)\n    go to x: (-170) y: (100)\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    hide\nend\nif <(CloneID) = [Shock2]> then\n    switch costume to (shock v)\n    go to x: (170) y: (100)\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    hide\nend\nif <(CloneID) = [Shock3]> then\n    switch costume to (shock v)\n    go to x: (-170) y: (-100)\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    hide\nend\nif <(CloneID) = [Shock4]> then\n    switch costume to (shock v)\n    go to x: (170) y: (-100)\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    grow in\n    hide\nend\n\ndefine Shock\nset [cloneid v] to [Shock1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Shock2]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Shock3]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Shock4]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Chevron]> then\n    go to [back v] layer\n    go [forward v] (1) layers\n    repeat (40)\n        switch costume to (size hack v)\n        change size by (300)\n        switch costume to (chevron v)\n    end\n    hide\nend\n\ndefine Chevron\nrepeat (10)\n    set [cloneid v] to [Chevron]\n    create clone of (_myself_ v)\n    wait (0.6) seconds\nend\n\ndefine Particles\nset [cloneid v] to [Particles]\nrepeat (100000)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(CloneID) = [Particles]> then\n    set [ghost v] effect to (pick random (50) to (100))\n    switch costume to (pick random (7) to (8))\n    set size to (pick random (1) to (50)) %\n    go to x: (230) y: (pick random (-200) to (200))\n    repeat until <(x position) = [-230]>\n        change x by (-10)\n    end\n    hide\nend\n\ndefine Arrow\nset [cloneid v] to [Arrow]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Arrow2]\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nif <(CloneID) = [Arrow]> then\n    set [ghost v] effect to (30)\n    go to [back v] layer\n    switch costume to (size hack v)\n    set size to (120) %\n    switch costume to (costume3 v)\n    repeat (5)\n        go to x: (250) y: (0)\n        repeat until <(x position) = [-250]>\n            change x by (-20)\n        end\n    end\n    hide\nend\n\nwhen I start as a clone\nif <(CloneID) = [Arrow2]> then\n    set [ghost v] effect to (30)\n    go to [back v] layer\n    go [backward v] (1) layers\n    switch costume to (size hack v)\n    set size to (120) %\n    switch costume to (costume4 v)\n    repeat (5)\n        go to x: (-250) y: (0)\n        repeat until <(x position) = [250]>\n            change x by (20)\n        end\n    end\n    hide\nend\n\nwhen flag clicked\nstart sound [Eiffel 65 - Blue \(KNY Factory Remix\) \(CUT\) v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume7 v)\nset [cloneid v] to [1]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nShock\nArrow\nChevron\nbroadcast (start v)\nhide\nstop [other scripts in sprite v]\n\n