FIRE - PLATFORMER 

Instructions: Hello Everyone, Level 2 Out Now \n\n\nHope U Like It\n\n\nTAGS:\n\n#F#i#r#e#p#l#a#t#f#o#r#m#e#r#Platformer#Best\n___________________________________________\n\n(Not Played Level 1 Check It Out)\n\nhttps://scratch.mit.edu/projects/398162729\n\n\n(Level 3 Is Out  Check It Out)\n\nhttps://scratch.mit.edu/projects/398759713\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 (lava 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\nwhen I receive [outro v]\nswitch costume to (outro 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 I receive [help v]\nhide\n\nwhen I receive [back v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (145)\npoint in direction (90)\nshow\nforever\n    turn right (5) degrees\n    wait (0.2) seconds\n    turn left (5) degrees\n    wait (0.2) seconds\nend\n\n@Starter\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch backdrop to (starter background v)\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@Fire Barticles\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@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (-119) y: (-37)\nshow\n\nwhen I receive [lvl1 v]\nswitch costume to (costume4 v)\nshow\n\nwhen I receive [lvl2 v]\nswitch costume to (costume2 v)\nshow\n\nwhen I receive [lvl3 v]\nswitch costume to (costume3 v)\nshow\n\nwhen I receive [lvl4 v]\nswitch costume to (costume5 v)\nshow\n\nwhen I receive [lvl5 v]\nhide\n\n@TN\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n