Nature - A Platformer #all #fun #games #art

Instructions: Hello! Welcome to ' Nature - A Platformer '\n\n Controls -\n♣Right arrow - To move right\n♣Left arrow - To move left\n♣Down arrow - To move down\n♣Up arrow - To move up\n♣Don't use W , A , S , D keys\n\nGo through the portals to go to the next level.Beware of the spikes and lava.The ' King of the Nature Spirits ' will guide you.The cat part is not a level, it's the end!\n\nAll levels are possible.\n\n\nGot curated on 23/4/2021 by @RC_Legend !!!\n\nIf there are any bugs or glitches please inform me.\n\n\n\n\nAhhhhh!! 96k views!!!

@Stage\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    play sound [Vicetone - United We Dance v] until done\nend\n\nwhen flag clicked\n\nwhen I receive [broadcast v]\n\nswitch backdrop to (arctic v)\n\nswitch backdrop to (backdrop1 v)\nbroadcast (broadcast v)\n\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nswitch backdrop to (arctic v)\n\nwhen flag clicked\nforever\n    if <<<(level) = [1]> or <(level) = [2]>> or <<(level) = [3]> or <(level) = [4]>>> then\n        switch backdrop to (backdrop1 v)\n    end\n    if <<<(level) = [5]> or <(level) = [6]>> or <<(level) = [7]> or <(level) = [8]>>> then\n        switch backdrop to (backdrop2 v)\n    end\n    if <<<(level) = [9]> or <(level) = [10]>> or <<(level) = [11]> or <(level) = [12]>>> then\n        switch backdrop to (backdrop3 v)\n    end\n    if <<<(level) = [13]> or <(level) = [14]>> or <<(level) = [15]> or <(level) = [16]>>> then\n        switch backdrop to (backdrop4 v)\n    end\n    if <(level) = [17]> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\n@Sprite1\n\ndefine touch ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (sprite2 v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite3 v)?> then\n        play sound [Hurt v] until done\n        repeat (10)\n            change size by (-8)\n        end\n        go to x: (-200) y: (-115)\n        set size to (100) %\n    end\nend\n\ndefine walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slopes v] to [0]\nrepeat until <<(slopes) = [8]> or <not <touching (sprite2 v)?>>>\n    change y by (1)\n    change [slopes v] by (1)\nend\nif <(slopes) = [8]> then\n    change x by (() - (speed))\n    change y by (() - (slopes))\n    if <<key (up arrow v) pressed?> and <([abs v] of (speed) ) > [0]>> then\n        if <(wall jump) = [0]> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [12]\n            set [falling? v] to [6]\n            set [wall jump v] to [5]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\n\ndefine game\nif <touching (sprite4 v)?> then\n    broadcast (new level v)\n    change [level v] by (1)\nend\nif <(wall jump) > [0]> then\n    change [wall jump v] by (-1)\nelse\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (2)\n        set [direction v] to [90]\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-2)\n        set [direction v] to [-90]\n    end\nend\nset [speed x v] to ((speed x) * (0.8))\nwalk (direction) (speed x)\nif <key (up arrow v) pressed?> then\n    if <<(jump key) = [0]> and <(falling?) < [3]>> then\n        set [speed y v] to [14]\n        set [falling? v] to [6]\n        set [jump key v] to [1]\n    end\nelse\n    set [jump key v] to [0]\nend\n\nwhen I receive [mouse click \( jump event \) v]\nset [speed y v] to [12]\n\nwhen flag clicked\nshow\nforever\n    if <(x position) > [247]> then\n        change [level v] by (1)\n        change [speed x v] by (0)\n        change [speed y v] by (0)\n    end\nend\n\nwhen flag clicked\nhide variable [direction v]\nhide variable [frame v]\nhide variable [jump key v]\nhide variable [slopes v]\nhide variable [speed v]\nhide variable [speed x v]\nhide variable [speed y v]\nhide variable [wall jump v]\nhide variable [falling? v]\n\nwhen flag clicked\nforever\n    if <touching (ball v)?> then\n        wait (0.7) seconds\n        broadcast (new level v)\n        change [level v] by (1)\n        go to x: (-200) y: (-115)\n    end\nend\n\nwhen backdrop switches to [arctic v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen flag clicked\nbroadcast (flag v)\nset [level v] to [1]\ngo to x: (0) y: (0)\ngo to x: (-200) y: (-55)\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    touch ground <(speed y) > [0]>\n    set rotation style [left-right v]\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    game\nend\n\nwhen flag clicked\nchange [☁ views v] by (1)\n\n@Sprite2\n\nwhen backdrop switches to [arctic v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen I receive [new level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(level) = [17]> then\n        broadcast (spike hide v)\n    end\nend\n\n@Sprite3\n\nwhen backdrop switches to [arctic v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (costume11 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (costume12 v)\n    end\n    if <(level) = [13]> then\n        switch costume to (costume13 v)\n    end\n    if <(level) = [14]> then\n        switch costume to (costume14 v)\n    end\n    if <(level) = [15]> then\n        switch costume to (costume15 v)\n    end\n    if <(level) = [16]> then\n        switch costume to (costume16 v)\n    end\n    if <(level) = [17]> then\n        switch costume to (costume17 v)\n    end\nend\n\nwhen I receive [spike hide v]\nhide\n\n@Sprite5\n\nwhen backdrop switches to [arctic v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (costume11 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (costume12 v)\n    end\n    if <(level) = [13]> then\n        switch costume to (costume13 v)\n    end\n    if <(level) = [14]> then\n        switch costume to (costume14 v)\n    end\n    if <(level) = [15]> then\n        switch costume to (costume15 v)\n    end\n    if <(level) = [16]> then\n        switch costume to (costume16 v)\n    end\n    if <(level) = [17]> then\n        switch costume to (costume17 v)\n    end\nend\n\n@Ball\n\nwhen backdrop switches to [arctic v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        go to x: (186) y: (-35)\n    end\n    if <(level) = [2]> then\n        go to x: (173) y: (-12)\n    end\n    if <(level) = [3]> then\n        go to x: (152) y: (79)\n    end\n    if <(level) = [4]> then\n        go to x: (180) y: (98)\n    end\n    if <(level) = [5]> then\n        go to x: (210) y: (-3)\n    end\n    if <(level) = [6]> then\n        go to x: (207) y: (-55)\n    end\n    if <(level) = [7]> then\n        go to x: (199) y: (6)\n    end\n    if <(level) = [8]> then\n        go to x: (199) y: (6)\n    end\n    if <(level) = [9]> then\n        go to x: (201) y: (53)\n    end\n    if <(level) = [10]> then\n        go to x: (182) y: (-32)\n    end\n    if <(level) = [11]> then\n        go to x: (204) y: (109)\n    end\n    if <(level) = [12]> then\n        go to x: (166) y: (23)\n    end\n    if <(level) = [13]> then\n        go to x: (202) y: (-64)\n    end\n    if <(level) = [14]> then\n        go to x: (192) y: (139)\n    end\n    if <(level) = [15]> then\n        go to x: (185) y: (-37)\n    end\n    if <(level) = [16]> then\n        go to x: (193) y: (91)\n    end\n    if <(level) = [17]> then\n        hide\n    end\nend\n\nwhen flag clicked\nshow\n\n@Sprite6\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\n