ARCTIC - PLATFORMER

Instructions: Hello Everyone, Finally My Project Came Out \n\nThis Time With The Best Graphics And Best Game play Movement And Sound\n\nHope U Like It\n\n\n\nCheck Out Level 2 And 3:-\nhttps://scratch.mit.edu/projects/398676213\nhttps://scratch.mit.edu/projects/398759713\n\n\nTAGS:\n\n#a#r#c#t#i#c#p#l#a#t#f#o#r#m#e#r#Platformer#Best\n\n\n\n\n\n\n\n\nAND NOW BYE                           (-_-)

@Stage\n\nwhen I receive [outro v]\nstop all sounds\nwait (0.2) seconds\nstart sound [Winning Song v]\n\nwhen backdrop switches to [starter background v]\nstop all sounds\nwait (0.2) seconds\nstart sound [Starter Sound v]\n\nwhen backdrop switches to [level 0 v]\nstop all sounds\nwait (0.2) seconds\nstart sound [Gameplay Sound v]\n\nwhen backdrop switches to [help background v]\nstop all sounds\nwait (0.2) seconds\nstart sound [Help Pause Music v]\n\n@Player\n\nwhen flag clicked\nhide\nswitch backdrop to (starter background v)\nswitch costume to (up v)\ngo to x: (-223) y: (0)\nset [speedx v] to [0]\nset [speedy v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [speedx v] by (2)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speedx v] by (-2)\n    end\n    change x by (speedX)\n    if <touching (platform v)?> then\n        change x by ((speedX) * (-1))\n        set [speedx v] to [0]\n    else\n        set [speedx v] to ((speedX) * (0.8))\n    end\n    change y by (speedY)\n    if <touching (platform v)?> then\n        change y by ((speedY) * (-1))\n        set [speedy v] to [0]\n        if <(Lock) = [0]> then\n            if <key (up arrow v) pressed?> then\n                set [speedy v] to [15]\n                set [lock v] to [1]\n            end\n        end\n    else\n        change [speedy v] by (-1)\n        set [lock v] to [0]\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (up v)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (down v)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (right v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (left v)\n    end\n    if <<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        switch costume to (up - right v)\n    end\n    if <<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (up - left v)\n    end\n    if <<key (down arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        switch costume to (down - right v)\n    end\n    if <<key (down arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (down - left v)\n    end\n    if <<key (up arrow v) pressed?> and <key (down arrow v) pressed?>> then\n        switch costume to (up - down v)\n    end\n    if <<key (right arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (up - down v)\n    end\nend\n\nwhen I receive [start v]\nshow\ngo to x: (-216) y: (-30)\n\nwhen I receive [back v]\nhide\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (Lvl1 v)\n        go to x: (-223) y: (0)\n        switch backdrop to (level 1 v)\n    end\n    if <touching color (#00ff18)?> then\n        broadcast (Lvl2 v)\n        go to x: (-223) y: (0)\n        switch backdrop to (level 2 v)\n    end\n    if <touching color (#e7ff00)?> then\n        broadcast (Lvl3 v)\n        go to x: (-223) y: (0)\n        switch backdrop to (level 3 v)\n    end\n    if <touching color (#90c9ff)?> then\n        broadcast (Lvl4 v)\n        go to x: (-223) y: (0)\n        switch backdrop to (level 4 v)\n    end\n    if <touching color (#ff7400)?> then\n        broadcast (Lvl5 v)\n        go to x: (-223) y: (0)\n        switch backdrop to (level 5 v)\n    end\n    if <touching color (#ff9090)?> then\n        broadcast (Outro v)\n        switch backdrop to (outro v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (ice v)?> or <touching (water v)?>> then\n        start sound [Laser1 v]\n        go to x: (-223) y: (0)\n    end\nend\n\n@Platform\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nswitch costume to (level 0  v)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen I receive [lvl1 v]\nswitch costume to (level 1 v)\n\nwhen I receive [lvl2 v]\nswitch costume to (level 2 v)\n\nwhen I receive [lvl3 v]\nswitch costume to (level 3 v)\n\nwhen I receive [lvl4 v]\nswitch costume to (level 4 v)\n\nwhen I receive [lvl5 v]\nswitch costume to (level 5 v)\n\nwhen I receive [outro v]\nswitch costume to (level 0  v)\n\n@Levels\n\nwhen flag clicked\nhide\nswitch costume to (0 v)\ngo to x: (-193) y: (131)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen I receive [lvl1 v]\nstart sound [Coin v]\nswitch costume to (1 v)\n\nwhen I receive [lvl2 v]\nstart sound [Coin v]\nswitch costume to (2 v)\n\nwhen I receive [lvl3 v]\nstart sound [Coin v]\nswitch costume to (3 v)\n\nwhen I receive [lvl4 v]\nstart sound [Coin v]\nswitch costume to (4 v)\n\nwhen I receive [lvl5 v]\nstart sound [Coin v]\nswitch costume to (5 v)\n\nwhen I receive [outro v]\nhide\n\n@Logo\n\nwhen flag clicked\npoint in direction (90)\nshow\nset size to (100) %\ngo to x: (0) y: (145)\nforever\n    set size to (98) %\n    wait (0.1) seconds\n    turn right (5) degrees\n    set size to (96) %\n    wait (0.1) seconds\n    turn left (5) degrees\n    set size to (94) %\n    wait (0.1) seconds\n    turn right (5) degrees\n    set size to (92) %\n    wait (0.1) seconds\n    turn left (5) degrees\n    set size to (90) %\n    wait (0.1) seconds\n    turn right (5) degrees\n    set size to (92) %\n    wait (0.1) seconds\n    turn left (5) degrees\n    set size to (94) %\n    wait (0.1) seconds\n    turn right (5) degrees\n    set size to (96) %\n    wait (0.1) seconds\n    turn left (5) degrees\n    set size to (98) %\n    wait (0.1) seconds\n    turn right (5) degrees\n    set size to (100) %\n    wait (0.1) seconds\n    turn left (5) degrees\nend\n\nwhen I receive [help v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [start v]\nhide\n\n@Starter\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [help v]\nhide\n\nwhen I receive [back v]\nswitch backdrop to (starter background v)\nshow\n\nwhen I receive [start v]\nhide\n\n@Start\n\nwhen flag clicked\nshow\ngo to x: (76) y: (-127)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (clicked v)\n    else\n        switch costume to (unclicked v)\n    end\nend\n\nwhen I receive [help v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen this sprite clicked\nstart sound [Suction Cup v]\nswitch backdrop to (level 0 v)\nhide\nbroadcast (Start v)\n\n@Back\n\nwhen flag clicked\nhide\ngo to x: (-117) y: (107)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (clicked v)\n    else\n        switch costume to (unclicked v)\n    end\nend\n\nwhen I receive [help v]\ngo to x: (0) y: (-160)\nshow\n\nwhen this sprite clicked\nstart sound [Suction Cup v]\nhide\nbroadcast (Back v)\n\n@Help\n\nwhen flag clicked\nshow\ngo to x: (217) y: (-160)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (clicked v)\n    else\n        switch costume to (unclicked v)\n    end\nend\n\nwhen this sprite clicked\nstart sound [Suction Cup v]\nswitch backdrop to (help background v)\nhide\nbroadcast (Help v)\n\nwhen I receive [back v]\nshow\n\nwhen I receive [start v]\nhide\n\n@Text\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [help v]\nshow\n\nwhen I receive [back v]\nhide\n\nwhen I receive [start v]\nhide\n\n@Water\n\nwhen flag clicked\nhide\n\nwhen I receive [lvl3 v]\nswitch costume to (1 v)\ngo to x: (13) y: (-177)\nshow\n\nwhen I receive [back v]\nhide\n\nwhen I receive [lvl4 v]\nswitch costume to (2 v)\ngo to x: (-6) y: (-121)\nshow\n\nwhen I receive [lvl6 v]\nswitch costume to (2 v)\ngo to x: (-6) y: (-121)\nshow\n\nwhen I receive [lvl7 v]\nhide\n\nwhen I receive [outro v]\nhide\n\n@Ice\n\nwhen flag clicked\nhide\n\nwhen I receive [lvl5 v]\nswitch costume to (1 v)\ngo to x: (-86) y: (3)\nshow\n\nwhen I receive [lvl6 v]\nhide\n\nwhen I receive [lvl7 v]\nswitch costume to (3 v)\ngo to x: (40) y: (-98)\nshow\n\nwhen I receive [lvl8 v]\nhide\n\nwhen I receive [lvl9 v]\nswitch costume to (4 v)\ngo to x: (-15) y: (-147)\nshow\n\nwhen I receive [outro v]\nhide\n\n@Snow Particles\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    turn right (5) degrees\nend\n\nwhen I start as a clone\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nforever\n    hide\n    wait (0.3) seconds\n    go to (random position v)\n    create clone of (_myself_ v)\n    go to [back v] layer\nend\n\nwhen I receive [back v]\nset [ghost v] effect to (100)\n\n@Snow Particles2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    turn right (5) degrees\nend\n\nwhen I start as a clone\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nforever\n    hide\n    wait (0.3) seconds\n    go to (random position v)\n    create clone of (_myself_ v)\n    go to [back v] layer\nend\n\nwhen I receive [back v]\nset [ghost v] effect to (100)\n\n@TN\n\nwhen flag clicked\nshow\nforever\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n