snow platformer
@Stage\n\nwhen flag clicked\nbroadcast (start v)\n\n@menu\n\nif <mouse down?> then\nend\n\nwhen I receive [hide v]\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (0) y: (0)\n\n@player\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nif <touching color (#ff0000)?> then\nif <(x position) > [222]> then\n    switch backdrop to (next backdrop v)\n    go to x: (-210) y: (20)\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nnext costume\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\nend\n\ndefine platform\npoint in direction (90)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [10]>>> then\n    change [xv v] by (2)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [-10]>>> then\n    change [xv v] by (-2)\nend\nset [xv v] to ((xv) * (0.8))\nchange x by (xv)\nif <touching color (#ffffff)?> then\n    change y by (1)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change x by ((xv) * (-1))\n                        change y by (-5)\n                        if <key (up arrow v) pressed?> then\n                            if <(xv) > [0]> then\n                                set [xv v] to [-15]\n                            else\n                                set [xv v] to [15]\n                            end\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (yv)\nif <touching color (#ffffff)?> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <touching color (#ffffff)?> then\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [yv v] to [15]\n    end\nend\nchange y by (1)\nif <touching color (#00cc44)?> then\n    switch backdrop to (backdrop1 v)\n    go to x: (-210) y: (40)\nend\nif <touching color (#ff0000)?> then\n    go to x: (-210) y: (40)\nend\nif <(x position) > [222]> then\n    switch backdrop to (next backdrop v)\n    go to x: (-210) y: (20)\n    change [level v] by (1)\nend\nif <touching color (#ffff00)?> then\n    set [yv v] to [17]\nend\nif <key (r v) pressed?> then\n    go to x: (-210) y: (40)\nend\nif <key (r v) pressed?> then\n    go to x: (-210) y: (40)\nend\nif <touching (exit v)?> then\n    switch backdrop to (backdrop9 v)\n    go to x: (-210) y: (20)\nend\n\nset [yv v] to [14]\n\nchange x by (10)\n\nwhen I receive [hide v]\ngo to x: (-215) y: (240)\nset size to (450) %\nshow\ngo to [front v] layer\n\nchange [level v] by (1)\n\nshow\n\nwhen I receive [start v]\nhide\nswitch backdrop to (backdrop1 v)\nchange x by (1)\n\nwhen I receive [start v]\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\n    if <not <key (down arrow v) pressed?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\nset [something v] to [true]\nswitch costume to (costume2 v)\nforever\n    if <(something) = [true]> then\n        platform\n    end\nend\n\nwhen I receive [start v]\nset size to (300) %\nset [xv v] to [0]\nset [yv v] to [0]\nset [level v] to [1]\n\nwhen I receive [start v]\nforever\n    play sound [Drip Drop v] until done\nend\n\n@exit\n\nwhen flag clicked\ngo to x: (-212) y: (-162)\nhide\nforever\n    if <(backdrop [number v]) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n@play \n\nwhen flag clicked\n\ndefine start\nstart sound [Water Drop v]\nbroadcast (hide v) and wait\nhide\n\nset y to ()\n\nset x to (0)\n\nwhen I receive [start v]\nshow\nset y to (-100)\nforever\n    set size to ((50) + ((5) * ([cos v] of (((timer) - (3)) * (100)) ))) %\n    point in direction ((90) + ((5) * ([cos v] of (((timer) - (3)) * (100)) )))\n    if <touching (mouse-pointer v)?> then\n        set size to (55) %\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        start\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\n@Sprite2\n\nwhen flag clicked\nset [off v] to [false]\nhide\ngo to x: (-195) y: (200)\n\nwhen I receive [love favourite and follow v]\nset [off v] to [true]\n\nwhen flag clicked\nforever\n    if <(off) = [true]> then\n        go to [front v] layer\n        set [ghost v] effect to (-10000000000)\n        show\n        switch costume to <(costume [number v]) = (pick random (1) to (3))>\n        glide (1) secs to x: (-195) y: (142)\n        wait (2) seconds\n        set [off v] to [false]\n    else\n        set [ghost effect stop v] to [false]\n        set [ghost v] effect to (-100000000000)\n        wait (0.2) seconds\n        broadcast (ghost effect v)\n        glide (2.5) secs to x: (-195) y: (240)\n        broadcast (ghost effect stop v)\n        hide\n    end\nend\n\nwhen I receive [ghost effect v]\nrepeat until <(ghost effect stop) = [true]>\n    change [ghost v] effect by (10)\nend\n\nif <<(y position) = [230]> or <touching color (#000000)?>> then\n\nwhen I receive [ghost effect stop v]\nset [ghost effect stop v] to [true]\n\nwhen flag clicked\nforever\n    wait (5) seconds\n    broadcast (love favourite and follow v) and wait\n    wait (30) seconds\n    broadcast (love favourite and follow v) and wait\nend\n\n
If you like this check this out: https://scratch.mit.edu/projects/456410700/\ncheck it out even if you don't like this.\n\nuse arrow keys\ndown arrow to get smaller\nbased on my platformer engine version 2.0\nI  got 1000 views!!!!! thank you so much for 1000 views!!!!!!!!!!!!!!!!!\ncheck out my new project promos\nhttps://scratch.mit.edu/projects/431402649\nhttps://scratch.mit.edu/projects/436180725