Winter || A Platformer #games #winter

Instructions: -The lava is not melting the snow cuz its special lava lol\n-Arrow keys or wasd to move \n-Avoid spikes and lava\n-ALL LEVELS ARE POSSIBLE \n-NO ADS OR SPAM\nhttps://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/\nhttps://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/https://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/https://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/https://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/https://scratch.mit.edu/projects/502689834/\nhttps://scratch.mit.edu/projects/525036242/

@Stage\n\nwhen I receive [next backdrop v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (blank v)\n\nwhen I receive [start game v]\nswitch backdrop to (backdrop1 v)\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (death v)\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (8)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nswitch costume to (right v)\ngo to x: (-223) y: (-6)\n\nwhen I receive [reset v]\nswitch costume to (right v)\nset [yvelocity v] to [0]\nset [xvelocity v] to [0]\ngo to x: (-223) y: (-6)\n\nwhen I receive [start game v]\nswitch costume to (right v)\nshow\nset [levels v] to [1]\ngo to x: (-223) y: (-6)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xvelocity v] by (-1.5)\n        switch costume to (left v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xvelocity v] by (1.5)\n        switch costume to (right v)\n    end\n    set [xvelocity v] to ((XVelocity) * (0.85))\n    change x by (XVelocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((XVelocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(XVelocity) > [0]> then\n                set [xvelocity v] to [-10]\n            else\n                set [xvelocity v] to [10]\n            end\n            set [yvelocity v] to [15]\n        else\n            set [xvelocity v] to [0]\n        end\n    end\n    change [yvelocity v] by (-1)\n    change y by (YVelocity)\n    if <touching (ground v)?> then\n        change y by ((YVelocity) - ((YVelocity) * (2)))\n        set [yvelocity v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [yvelocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [238]> then\n        change [levels v] by (1)\n        broadcast (Next Level v)\n        broadcast (Next Backdrop v)\n    end\n    if <touching (danger v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\nend\n\nswitch costume to (right v)\n\nwhen I receive [start game v]\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\n@Trail\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [start game v]\nhide\nclear graphic effects\nforever\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\n\n@Ground\n\nwhen I receive [start game v]\nshow\nforever\n    switch costume to (Levels)\nend\n\nwhen flag clicked\nhide\n\n@Danger\n\nwhen I receive [start game v]\nshow\nforever\n    switch costume to (Levels)\nend\n\nwhen flag clicked\nhide\n\n@Snow\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    wait (.001) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nswitch costume to (costume1 v)\nset [ghost v] effect to (pick random (10) to (90))\nset size to (pick random (50) to (100)) %\ngo to (random position v)\nset y to (300)\npoint in direction (180)\nrepeat until <<touching (danger v)?> or <touching (ground v)?>>\n    change y by (-7)\nend\nhide\ndelete this clone\n\n@Clouds\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (70) to (80)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (200) y: (pick random (20) to (180))\n        repeat (50)\n            change x by (2)\n        end\n        if <touching (_edge_ v)?> then\n            hide\n        end\n        wait (pick random (1) to (5)) seconds\n    end\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (70) to (80)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (20) to (180))\n        repeat (110)\n            change x by (-4)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\nend\n\nwhen I receive [start game v]\nwait (2) seconds\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\n@Notifacation\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\ngo to x: (0) y: (50)\nhide\nwait (pick random (8) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n@Intro\n\ndefine particles\nset [clone id v] to [6]\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nstart sound [Marshmello & Ookay - Chasing Colors \(ft. Noah Cyrus\) - \[Official Music Video\].mp2 v]\nset [clone id v] to [0]\nrepeat (2)\n    set size to (100) %\n    go to x: (0) y: (0)\n    change [clone id v] by (1)\n    wait () seconds\n    create clone of (_myself_ v)\nend\nset [clone id v] to [slide 0]\nhide\nrepeat (3)\n    wait (0.05) seconds\n    set [clone id v] to (join [slide ] ((letter (7) of (clone id)) + (1)))\n    create clone of (_myself_ v)\nend\nwait (0.1) seconds\nset [clone id v] to [left 0]\nrepeat (6)\n    wait () seconds\n    set [clone id v] to (join [left ] ((letter (6) of (clone id)) + (1)))\n    create clone of (_myself_ v)\nend\nwait (0.1) seconds\nset [clone id v] to [up 0]\nrepeat (3)\n    wait (0.1) seconds\n    set [clone id v] to (join [up ] ((letter (4) of (clone id)) + (1)))\n    create clone of (_myself_ v)\nend\nwait () seconds\nset [clone id v] to [ Letter 0]\nrepeat (9)\n    wait () seconds\n    set [clone id v] to (join [ Letter ] ((letter (9) of (clone id)) + (1)))\n    create clone of (_myself_ v)\nend\nset [clone id v] to [ Letter 10]\ncreate clone of (_myself_ v)\nrepeat (7)\n    wait () seconds\n    set [clone id v] to (join [ Letter 1] ((letter (10) of (clone id)) + (1)))\n    create clone of (_myself_ v)\nend\nwait () seconds\nset [clone id v] to [3]\ncreate clone of (_myself_ v)\nwait () seconds\nset [clone id v] to [4]\ncreate clone of (_myself_ v)\nwait () seconds\nset [clone id v] to [5]\ncreate clone of (_myself_ v)\nwait (1.75) seconds\nparticles\n\nwhen I start as a clone\nif <(join (letter (1) of (clone id)) (letter (2) of (clone id))) = [sl]> then\n    hide\n    switch costume to (clone id)\n    set size to (100) %\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (100)\n    go to x: (0) y: (999)\n    point in direction (90)\n    go to [front v] layer\n    show\n    repeat (50)\n        change [ghost v] effect by (-20)\n        change y by (((4) - (y position)) / (6))\n    end\nend\nif <(join (letter (1) of (clone id)) (letter (2) of (clone id))) = [le]> then\n    hide\n    switch costume to (clone id)\n    set size to (100) %\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (0)\n    go to x: (-999) y: (0)\n    point in direction (90)\n    go to [front v] layer\n    show\n    repeat (50)\n        change [ghost v] effect by (-20)\n        change x by (((4) - (x position)) / (6))\n    end\nend\nif <(join (letter (1) of (clone id)) (letter (2) of (clone id))) = [up]> then\n    hide\n    switch costume to (clone id)\n    set size to (100) %\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (0)\n    go to x: (999) y: (0)\n    point in direction (90)\n    go to [front v] layer\n    show\n    repeat (50)\n        change [ghost v] effect by (-10)\n        change x by (((4) - (x position)) / (6))\n    end\nend\nif <(join (letter (1) of (clone id)) (letter (2) of (clone id))) = [ L]> then\n    show\n    switch costume to (clone id)\n    go to x: (0) y: (999)\n    point in direction (20)\n    set size to (100) %\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    repeat (30)\n        change [ghost v] effect by (-10)\n        change y by (((0) - (y position)) / (4.5))\n        turn right (((90) - (direction)) / (4.5)) degrees\n    end\n    go to x: (0) y: (0)\n    point in direction (90)\nend\n\nwhen I start as a clone\nif <(clone id) = [1]> then\n    wait (3.5) seconds\n    go to [front v] layer\n    switch costume to (zoom dot v)\n    point in direction (135)\n    go to x: (0) y: (-999)\n    point in direction (45)\n    set [z v] to [0.5]\n    set size to (0) %\n    set [ghost v] effect to (0)\n    show\n    repeat (26)\n        change [ghost v] effect by (-5)\n        change size by (((100) - (size)) / (5))\n        change y by (z)\n        change [z v] by (0.5)\n        set x to (([sin v] of (y position) ) * (100))\n    end\n    go to x: (0) y: (0)\n    repeat (26)\n        switch costume to (blank v)\n        change size by (((2056) - (size)) / (5))\n        switch costume to (real dot v)\n    end\n    wait (2) seconds\n    show\n    broadcast (Start game v)\n    repeat (10)\n        show\n    end\n    repeat (20)\n        show\n        change size by (((2056) - (size)) / (-5))\n        change [ghost v] effect by (10)\n        switch costume to (real dot v)\n    end\n    delete this clone\nend\nif <(clone id) = [2]> then\n    wait (3.49) seconds\n    go to [front v] layer\n    hide\n    switch costume to (zoom dot v)\n    point in direction (135)\n    go to x: (0) y: (999)\n    point in direction (45)\n    set [z v] to [0.5]\n    set size to (0) %\n    set [ghost v] effect to (0)\n    show\n    repeat (26)\n        change [ghost v] effect by (-5)\n        change size by (((100) - (size)) / (5))\n        change y by (z)\n        change [z v] by (-0.6)\n        set x to (([sin v] of (y position) ) * (100))\n    end\n    go to x: (0) y: (0)\nend\nif <(clone id) = [3]> then\n    wait (0.1) seconds\n    go to [front v] layer\n    hide\n    switch costume to (blank v)\n    point in direction (135)\n    go to x: (0) y: (0)\n    point in direction (45)\n    set [z v] to [0.5]\n    set size to (0) %\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (100)\n    switch costume to (square v)\n    show\n    repeat (26)\n        switch costume to (blank v)\n        change [ghost v] effect by (-25)\n        change size by (((2056) - (size)) / (5))\n        switch costume to (square v)\n    end\nend\nif <(clone id) = [4]> then\n    wait (0.5) seconds\n    go to [front v] layer\n    hide\n    switch costume to (blank v)\n    point in direction (135)\n    point in direction (45)\n    set [z v] to [0.5]\n    set size to (0) %\n    set [brightness v] effect to (100)\n    set [ghost v] effect to (100)\n    switch costume to (1 v)\n    go to x: (0) y: (-999)\n    show\n    repeat (26)\n        switch costume to (blank v)\n        change [ghost v] effect by (-10)\n        change size by (((5000) - (size)) / (15))\n        switch costume to (1 v)\n    end\nend\nif <(clone id) = [5]> then\n    wait (1.75) seconds\n    go to [front v] layer\n    hide\n    switch costume to (logo v)\n    point in direction (-30)\n    set [z v] to [0.5]\n    set size to (0) %\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (100)\n    switch costume to (logo v)\n    go to x: (0) y: (0)\n    show\n    repeat (26)\n        turn right (((90) - (direction)) / (3)) degrees\n        switch costume to (blank v)\n        change [ghost v] effect by (-33)\n        change size by (((150) - (size)) / (3))\n        switch costume to (logo v)\n    end\n    wait (2) seconds\n    repeat (10)\n        show\n    end\n    repeat (15)\n        show\n        change [ghost v] effect by (10)\n        change size by (-10)\n    end\nend\nif <(clone id) = [6]> then\n    hide\n    switch costume to (1 v)\n    set size to (pick random (50) to (100)) %\n    set [ghost v] effect to (pick random (0) to (50))\n    change [brightness v] effect by (pick random (-50) to (50))\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [x v] to (pick random (10) to (20))\n    set [y v] to (pick random (2) to (7))\n    go to [front v] layer\n    show\n    repeat until <(y position) < [-170]>\n        move (x) steps\n        change y by (y)\n        set [x v] to ((x) * (.95))\n        set [y v] to [-5]\n    end\n    delete this clone\nend\n\nwhen I receive [start game v]\nhide\nwait (1) seconds\nhide\nwait (2) seconds\ndelete this clone\n\nwhen flag clicked\nhide\n\n