2021 A Platformer

Instructions: use the Music icon  change song\nuse the change avatar icon to change avatars color\nSay hello to 2021 yay no more 2020.\n2020 was a really tough year for me. comment down below on how was your 2020\n(Mobile Friendly)

@Stage\n\nwhen flag clicked\nforever\n    next backdrop\nend\n\nwhen flag clicked\nstart sound [DEAF KEV - Invincible \[NCS Release\] v]\n\n@Player\n\nwhen flag clicked\nshow\nset size to (100) %\ngo to x: (-210) y: (0)\nset rotation style [left-right v]\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching (spike v)?> or <touching (waves v)?>> then\n        set rotation style [all around v]\n        repeat (10)\n            change size by (-10)\n            change [ghost v] effect by (10)\n            turn right (15) degrees\n        end\n        clear graphic effects\n        set size to (100) %\n        set rotation style [left-right v]\n        point in direction (90)\n        go to x: (-210) y: (0)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <(x position) > [222]> then\n        broadcast (Next Level v)\n        go to x: (-210) y: (0)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <touching (bouncer v)?> then\n        set [y v] to [15]\n    end\n    if <<key (up arrow v) pressed?> and <touching (bouncer v)?>> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [next costume v]\nnext costume\n\nwhen flag clicked\nswitch costume to (player6 v)\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Spike\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (others v)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [others v]\nbroadcast (song' v)\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\n@Sprite3\n\nwhen flag clicked\nshow\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (the list v)\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [the list v]\nbroadcast (arrows v)\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [arrows v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\nwhen this sprite clicked\nbroadcast (next costume v)\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [arrows v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen I receive [song' v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\nwhen this sprite clicked\nstop all sounds\nstart sound [Surfaces - Sunday Best v]\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen I receive [song' v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\nwhen this sprite clicked\nstop all sounds\nstart sound [Tones and I - Dance Monkey \(1\) v]\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen I receive [song' v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\nwhen this sprite clicked\nstop all sounds\nstart sound [Harry Styles - Watermelon Sugar v]\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [song' v]\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\nwhen this sprite clicked\nstop all sounds\nstart sound [BTS \(방탄소년단\) - Dynamite v]\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (-5) y: (-2)\nset [ghost v] effect to (100)\n\n@Love and fave reminder\n\nwhen I receive [intro v]\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    wait (pick random (3) to (5)) seconds\n    switch costume to (costume1 v)\n    go to x: (-100) y: (105)\n    show\n    go to [front v] layer\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n