Snow- A Platformer
@Stage\n\n@Sprite1\n\nwhen flag clicked\nshow variable [time: v]\nset [time: v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-200) y: (-20)\nswitch backdrop to (backdrop1 v)\nbroadcast (go v)\n\nwhen I receive [go 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?> then\n        change [x v] by (-1)\n        switch costume to (costume2 v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (costume1 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> 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 color (#ffffff)?> 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?> and <touching color (#ffffff)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<(y position) < [-180]> or <touching color (#f7ff00)?>> then\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [246]> then\n        if <(backdrop [number v]) = [14]> then\n            switch backdrop to (backdrop2 v)\n        else\n            next backdrop\n        end\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Hovering_Thoughts v] until done\nend\n\nwhen flag clicked\nrepeat until <(backdrop [number v]) = [14]>\n    wait (1) seconds\n    change [time: v] by (1)\nend\n\nwhen backdrop switches to [backdrop14 v]\nif <(Time:) > [50]> then\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    wait (0.3) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (pick random (-500) to (500)) y: (172)\nglide (5) secs to (random position v)\ndelete this clone\n\n@Sprite3\n\nhide variable [time: v]\n\nwhen flag clicked\nhide\n\nshow\n\n
 ヽ(〃･ω･)ﾉ  Snow is melting! Please help Snowy get back home! Arrow keys to move! ヾ(･ω･｡)ｼ\n\nEnjoyed it? ♡ & ☆ \nFollow me: @duck--\n\nNote: if it glitches at any time, press the up key, and it should work! (Sorry, I am still trying to find why it glitches.) if it still does not work, please tell in in the comments! \n\nCheck out my other platformer!\nhttps://scratch.mit.edu/projects/385072760/ ヽ(^。^)丿\n\nCredits:\nCode: @duck--\nMusic: https://youtu.be/UfAIa2zuQNE\nIgloo picture: pngimg.com\n\n\nTags:\n#scratch #platformer #snow #snowplatformer #games #game #@duck--\n