The Bunny’s way || a platformer (MOBILE FRIENDLY)

Instructions: NO ADVERTISING!!! Or it’ll REPORTED!!!!!\n\nHi! New platformer! Hope you like it!\n\nWARNING: may have flashing lights!!!\n\nINSTRUCTIONS:\n\n• Arrow keys, WASD or mobile.\n• r ou the button « restart » to restart\n• … do not touch spikes\n• have fun!\n\n\n#TRENDING #THANKS #YOU #16 #ALL #WHY #DO #TAGS #EXIST #trending #yay #4th #4 #on #animations #gets #1 #view #per #minute #lol #5th #5 #on #music #plus #another #view #LOL #on #nvm #it #is #5th #5 #on #tranding #all #and #3rd #3 #on #art #yay #and #2rd #2 #on #music #did #ya #see #this #if #yes #comment #bunbun #lol #How #did #it #get #so #much #views #yay #it #is #now #4 #4th #in #all #YAY #1 #on #art #now #trending\n\nTHANK YOU SO MUCH FOR 480+ views!!!\nNO, 500 views!!! LET’S GOO\nNO, 600+ WHAAAAT???!!!\nNO WAY!!! 700!!!\n:OOOO 925?!\n#1 on art! LET’S GOOOO\n1K and 300+ VIEWS?! THXTHXTHX!\n1k and 500+ views? You kidding?!\nNooo wayyy 2k+ VIEWS????\n\nPart 2: https://scratch.mit.edu/projects/647395860

@Stage\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Force \[NCS Release\] v] until done\nend\n\nwhen flag clicked\n\n@Bunny!\n\nwhen flag clicked\nswitch costume to (still v)\nset size to (100) %\n\nwhen I receive [done shining thing v]\nset [diescore v] to [0]\nswitch costume to (still v)\ngo to x: (-193) y: (-84)\ngo to [front v] layer\nshow\nset rotation style [left-right v]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <touching (spikes v)?> then\n        go to x: (-193) y: (-84)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (0.8)\n    end\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-0.8)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground! v)?> then\n        change y by (1)\n        if <touching (ground! v)?> then\n            change y by (1)\n            if <touching (ground! v)?> then\n                change y by (1)\n                if <touching (ground! v)?> then\n                    change y by (1)\n                    if <touching (ground! v)?> then\n                        change y by (1)\n                        if <touching (ground! v)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-5)\n                            change y by (-7)\n                            change x by (0.5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (ground! v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground! v)?> then\n        if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            start sound [Jump v]\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        go to x: (-193) y: (-84)\n        broadcast (Next level! v)\n    end\n    if <not <<<key (up arrow v) pressed?> or <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<key (d v) pressed?> or <key (w v) pressed?>>>>>> or <<<mouse down?> and <(mouse y) > (y position)>> or <<<mouse down?> and <(mouse x) < (x position)>> or <<mouse down?> and <(mouse x) > (x position)>>>>>> then\n        switch costume to (still v)\n    end\n    if <touching (trampoline! v)?> then\n        set [yv v] to [13]\n    end\nend\n\nwhen I receive [done shining thing v]\nforever\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        wait (0.1) seconds\n        switch costume to (back 1 v)\n        wait (0.1) seconds\n        switch costume to (back 2 v)\n    end\nend\n\nwhen I receive [done shining thing v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (run 2 v)\n        wait (0.1) seconds\n        switch costume to (run 1 v)\n        wait (0.1) seconds\n    end\nend\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-193) y: (-84)\n    end\nend\n\nwhen I receive [restart! v]\ngo to x: (-193) y: (-84)\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Force \[NCS Release\] v] until done\nend\n\n@Ground!\n\nwhen I receive [done shining thing v]\nswitch costume to (costume1 v)\nforever\n    show\n    go to x: (36) y: (28)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\n@Spikes\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\nwhen flag clicked\nhide\n\nwhen I receive [done shining thing v]\nswitch costume to (costume2 v)\nforever\n    show\n    go to x: (36) y: (28)\n    go [backward v] (1) layers\nend\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nhide\n\n@Trampoline!\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\nwhen flag clicked\nhide\n\nwhen I receive [done shining thing v]\nswitch costume to (costume3 v)\nforever\n    show\n    go to x: (36) y: (28)\nend\n\nwhen I receive [next level! v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\nwhen I receive [done shining thing v]\nforever\n    go [forward v] (2) layers\n    go to x: (36) y: (28)\n    show\nend\n\nwhen this sprite clicked\nbroadcast (Restart! v)\n\n@Dark\n\nwhen flag clicked\nforever\n    go to x: (36) y: (28)\n    go [backward v] (3) layers\n    show\nend\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\nwhen I receive [done shining thing v]\nswitch costume to (costume2 v)\nforever\n    show\n    go to x: (36) y: (28)\nend\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [ghost v] effect to (0)\n\nwhen I receive [done shining thing v]\nchange [ghost v] effect by (3.5)\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to x: (36) y: (28)\n    go to (bunny! v)\n    go [backward v] (10) layers\n    show\nend\n\n@Sprite3\n\nwhen I receive [done shining thing v]\nswitch costume to (costume2 v)\nforever\n    show\n    go to x: (36) y: (28)\n    go [forward v] (1) layers\nend\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\nset [brightness v] effect to (100)\nwait (1) seconds\nset [brightness v] effect to (90)\nwait (0.01) seconds\nset [brightness v] effect to (80)\nwait (0.01) seconds\nset [brightness v] effect to (70)\nwait (0.01) seconds\nset [brightness v] effect to (60)\nwait (0.01) seconds\nset [brightness v] effect to (50)\nwait (0.01) seconds\nset [brightness v] effect to (40)\nwait (0.01) seconds\nset [brightness v] effect to (30)\nwait (0.01) seconds\nset [brightness v] effect to (20)\nwait (0.01) seconds\nset [brightness v] effect to (10)\nwait (0.01) seconds\nset [brightness v] effect to (0)\nbroadcast (Done shining thing v)\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to x: (40) y: (19)\n    go [forward v] (20) layers\n    show\n    change [ghost v] effect by (100)\nend\n\n