Minecraft Platformer 2! V.1.1
@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [start v]\nwait (0.35) seconds\nswitch backdrop to (pick random (3) to (4))\nhide\nrepeat until <(end) = [true]>\n    forever\n        play sound (pick random (1) to (7)) until done\n    end\nend\n\nwhen I receive [end v]\nswitch backdrop to (outro v)\nhide\nset [end v] to [true]\nstop [other scripts in sprite v]\n\nwhen I receive [cave v]\nswitch backdrop to (backdrop2 v)\nhide\n\nwhen flag clicked\nswitch backdrop to (intro v)\nhide\n\nwhen flag clicked\nset [end v] to [0]\n\nwhen I receive [next level v]\nif <(end) = [true]> then\n    stop all sounds\nend\n\n@Player\n\nwhen I start as a clone\npoint in direction (90)\nswitch costume to (steve6 v)\nset rotation style [all around v]\nshow\nset [yv v] to [7]\nswitch costume to (died v)\nrepeat until <(y position) < [-180]>\n    change [ghost v] effect by (5)\n    change x by (-2)\n    go to [front v] layer\n    turn left (2) degrees\n    change y by (YV)\n    change [yv v] by (-1)\nend\ndelete this clone\n\nwhen [r v] key pressed\nset [costume # v] to [right]\nswitch costume to (steve1 v)\ngo to x: (-210) y: (-60)\n\nwhen flag clicked\nhide variable [deaths v]\nhide\n\nwhen I receive [hardlevel v]\ngo to x: (-215) y: (-68)\n\nwhen I receive [start v]\nwait (0.5) seconds\nshow\ngo to x: (-50) y: (-50)\nforever\n    if <<key (left arrow v) pressed?> and <not <key (up arrow v) pressed?>>> then\n        set [costume # v] to [left]\n        switch costume to (facing left v)\n        wait (.1) seconds\n        switch costume to (run 1 left v)\n        wait (.1) seconds\n        switch costume to (run 1 left2 v)\n        wait (.1) seconds\n        switch costume to (run 1 left3 v)\n        wait (.1) seconds\n        switch costume to (run 1 left4 v)\n        wait (.1) seconds\n        switch costume to (facing left v)\n    end\n    if <<key (right arrow v) pressed?> and <not <key (up arrow v) pressed?>>> then\n        set [costume # v] to [right]\n        switch costume to (steve1 v)\n        wait (0.1) seconds\n        switch costume to (steve2 v)\n        wait (.1) seconds\n        switch costume to (steve3 v)\n        wait (.1) seconds\n        switch costume to (steve4 v)\n        wait (.1) seconds\n        switch costume to (steve5 v)\n        wait (.1) seconds\n        switch costume to (steve1 v)\n    end\n    if <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> then\n        set [costume # v] to [left]\n        switch costume to (jump left v)\n    end\n    if <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> then\n        set [costume # v] to [right]\n        switch costume to (jump right v)\n    end\n    if <<not <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (up arrow v) pressed?>>>> and <(costume [name v]) = [jump right]>> then\n        switch costume to (steve1 v)\n    end\n    if <<not <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (up arrow v) pressed?>>>> and <(costume [name v]) = [jump left]>> then\n        switch costume to (facing left v)\n    end\n    if <<key (up arrow v) pressed?> and <(costume [name v]) = [steve1]>> then\n        switch costume to (jump right v)\n        wait (1) seconds\n    end\n    if <<key (up arrow v) pressed?> and <(costume [name v]) = [facing left]>> then\n        switch costume to (jump left v)\n        wait (1) seconds\n    end\n    if <<key (up arrow v) pressed?> and <(touching ground) = [0]>> then\n        play sound [Jump v] until done\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [deaths v] to [0]\nforever\n    set size to (250) %\n    go to [front v] layer\nend\n\nwhen I receive [end v]\nshow variable [deaths v]\nstop [other scripts in sprite v]\nset size to (250) %\nswitch costume to (steve6 v)\nstart sound [Cheer v]\nglide (1) secs to x: (-100) y: (-69)\nforever\n    glide (0.5) secs to x: (-100) y: (-40)\n    wait (0.00000000000000001) seconds\n    glide (0.5) secs to x: (-100) y: (-65)\n    wait (0.000000000000000001) seconds\nend\n\nwhen I receive [next level v]\nset [costume # v] to [right]\nswitch costume to (steve1 v)\ngo to x: (-210) y: (-60)\n\nwhen I receive [menu v]\nset [menu v] to [1]\nrepeat until <(Menu) = [0]>\n    go to x: (143) y: (-17)\n    set size to (350) %\nend\n\nwhen I receive [x \(exit menu\) v]\nset [menu v] to [0]\nshow\ngo to x: (-210) y: (-60)\n\nwhen I receive [start v]\ngo to x: (-50) y: (-50)\nwait (0.5) seconds\nshow\nswitch costume to (steve1 v)\nset size to (250) %\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1.5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1.5)\n    end\n    set [xv v] to ((XV) * (0.9))\n    change x by (XV)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n            if <touching (ground v)?> then\n                change y by (2)\n                if <touching (ground v)?> then\n                    change y by (2)\n                    if <touching (ground v)?> then\n                        change y by (2)\n                        if <touching (ground v)?> then\n                            change y by (2)\n                            if <touching (ground v)?> then\n                                change y by (-6)\n                                if <touching (ground v)?> then\n                                    change y by (-6)\n                                    if <key (up arrow v) pressed?> then\n                                        set [yv v] to [10]\n                                        if <(XV) > [0]> then\n                                            set [xv v] to [-10]\n                                        else\n                                            set [xv v] to [10]\n                                        end\n                                    else\n                                        change x by ((XV) * (-1))\n                                        set [xv v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (YV)\n    if <touching (ground v)?> then\n        change y by ((YV) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching (ground v)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [8]\n    end\n    if <[235] < (x position)> then\n        change [level v] by (1)\n        set size to (50) %\n        broadcast (next level v)\n        go to x: (-220) y: (-60)\n    end\n    if <touching (spikes/lava v)?> then\n        switch costume to (steve6 v)\n        create clone of (_myself_ v)\n        change [deaths v] by (1)\n        go to x: (-215) y: (-60)\n        switch costume to (steve1 v)\n        play sound [Hurt v] until done\n    end\n    if <touching (zombie v)?> then\n        switch costume to (steve6 v)\n        create clone of (_myself_ v)\n        change [deaths v] by (1)\n        go to x: (-215) y: (-60)\n        switch costume to (steve1 v)\n        play sound [Hurt v] until done\n    end\n    if <touching (zombie2 v)?> then\n        switch costume to (steve6 v)\n        create clone of (_myself_ v)\n        change [deaths v] by (1)\n        go to x: (-215) y: (-60)\n        switch costume to (steve1 v)\n        play sound [Hurt v] until done\n    end\n    if <touching (trampoline v)?> then\n        set [yv v] to [15]\n    end\n    change y by (0.5)\nend\n\nwhen I receive [credits v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume5]> then\n    broadcast (HardLevel v)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nwait (0.5) seconds\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume9]> then\n    broadcast (end v)\nend\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume11]> then\n    broadcast (Cave v)\nend\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume16]> then\n    broadcast (lol v)\nend\n\nwhen I receive [next level v]\nif <(costume [name v]) = [ZOMBIES!]> then\n    broadcast (zombies! v)\nend\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume8]> then\n    broadcast (Help is coming! v)\nend\n\nwhen I receive [next level v]\nif <(costume [name v]) = [costume10]> then\n    broadcast (Hide v)\nend\n\n@Spikes/Lava\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nswitch costume to (costume2 v)\nwait (0.5) seconds\nshow\nswitch costume to (costume2 v)\nwait (1) seconds\ngo to [back v] layer\nswitch costume to (costume2 v)\n\nwhen I receive [x \(exit menu\) v]\nshow\n\nwhen I receive [menu v]\nhide\n\n@trampoline\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [next level v]\nnext costume\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Clouds\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (pick random (1) to (3))\nset size to (pick random (70) to (110)) %\nset [ghost v] effect to (pick random (20) to (50))\nset y to (pick random (60) to (160))\nset x to (301)\nshow\nrepeat until <<(x position) < [-300]> or <(x position) = [-300]>>\n    change x by (-1.5)\nend\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(backdrop [name v]) = [backdrop1]> then\n        show\n    end\n    if <(backdrop [name v]) = [intro]> then\n        hide\n    end\n    if <(backdrop [name v]) = [backdrop2]> then\n        hide\n    end\n    if <(backdrop [name v]) = [outro]> then\n        show\n    end\nend\n\nwhen flag clicked\nhide\nwait (1) seconds\nforever\n    create clone of (_myself_ v)\n    wait (10) seconds\n    hide\nend\n\nwhen I receive [start v]\nwait (3) seconds\nshow\n\n@Skip\n\nwhen this sprite clicked\ngo to [front v] layer\nchange [skips v] by (1)\nplay sound [Click v] until done\nbroadcast (next level v)\n\nwhen flag clicked\nset [skips v] to [0]\ngo to [front v] layer\nhide variable [deaths v]\nhide variable [skips v]\nhide\ngo to x: (0) y: (0)\nforever\n    if <not <touching (mouse-pointer v)?>> then\n        set [brightness v] effect to (0)\n    end\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    end\nend\n\nwhen I receive [end v]\nshow variable [skips v]\nhide\n\nwhen I receive [start v]\nwait (0.5) seconds\nshow\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [x \(exit menu\) v]\nshow\n\n@words\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [end v]\nshow\n\nwhen I receive [start v]\nwait (0.5) seconds\nshow\n\nwhen I receive [lol v]\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nwait (1) seconds\nforever\n    wait (0.5) seconds\n    turn right (5) degrees\n    wait (0.5) seconds\n    turn left (5) degrees\n    wait (0.5) seconds\n    turn left (5) degrees\n    wait (0.5) seconds\n    turn right (5) degrees\nend\n\nwhen I receive [outro v]\npoint in direction (90)\ngo to x: (-300) y: (-50)\nset size to (50) %\nglide (1) secs to x: (0) y: (-50)\n\n@Black\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\nrepeat (25)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [intro done! v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nrepeat (25)\n    change [ghost v] effect by (-10)\nend\nhide\n\n@intro Text\n\nwhen flag clicked\nshow\nset [whirl v] effect to (100)\nset [ghost v] effect to (100)\nset size to (115) %\npoint in direction (90)\ngo to x: (0) y: (80)\nrepeat (20)\n    change [ghost v] effect by (-10)\n    change [whirl v] effect by (-5)\nend\nclear graphic effects\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (1) degrees\nend\nrepeat (3)\n    turn right (-1) degrees\nend\nrepeat (3)\n    turn right (-3) degrees\nend\nrepeat (3)\n    turn right (-3) degrees\nend\nwait (1) seconds\nwait (2.3) seconds\nbroadcast (Start v)\nhide\n\nrepeat (3)\n    turn right (-5) degrees\nend\nrepeat (3)\n    turn right (-5) degrees\nend\nrepeat (3)\n    turn right (-5) degrees\nend\nrepeat (3)\n    turn right (-3) degrees\nend\nrepeat (3)\n    turn right (-1) degrees\nend\nrepeat (3)\n    turn right (1) degrees\nend\nrepeat (3)\n    turn right (3) degrees\nend\nrepeat (3)\n    turn right (5) degrees\nend\n\nforever\n    if <key (s v) pressed?> then\n        broadcast (Intro Done! v)\n    end\nend\n\n@Grass Block\n\nwhen flag clicked\nset [whirl v] effect to (100)\nset [ghost v] effect to (100)\nset size to (50) %\npoint in direction (90)\ngo to x: (0) y: (-40)\nrepeat (20)\n    show\n    change [ghost v] effect by (-10)\n    change [whirl v] effect by (-5)\nend\nclear graphic effects\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (-2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (2) degrees\nend\nrepeat (3)\n    turn right (1) degrees\nend\nrepeat (3)\n    turn right (-1) degrees\nend\nrepeat (3)\n    turn right (-3) degrees\nend\nrepeat (3)\n    turn right (-3) degrees\nend\n\nwhen I receive [intro done! v]\nwait (0.5) seconds\nhide\n\n@Intro music\n\nwhen flag clicked\nchange [☁ who looked at this project? v] by (1)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset volume to (100) %\nset [pitch v] effect to (0)\nstart sound [Volume Alpha - 05 - Living Mice v]\nwait (5.5) seconds\nrepeat (20)\n    change volume by (-5)\nend\nstop all sounds\nbroadcast (Intro Done! v)\n\nwhen flag clicked\nswitch backdrop to (2020-05-06_16 v)\n\nwhen flag clicked\nif <(username) = [scratch_coder8937]> then\n    say [Hello, scratch_coder8937!] for (2) seconds\nend\n\nwhen flag clicked\nif <(username) = [griffpatch]> then\n    say [Hello, griffpatch!] for (2) seconds\nend\n\nwhen flag clicked\nif <(username) = [Cathy390]> then\n    say [Hello, Cathy390!] for (2) seconds\nend\n\n@outro heart/stars\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (pick random (-232) to (184)) y: (179)\nshow\nglide (.5) secs to x: (x position) y: (-177)\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nwait (1) seconds\nforever\n    create clone of (_myself_ v)\n    if <(star) = [0]> then\n        switch costume to (pick random (1) to (3))\n    else\n        switch costume to (pick random (4) to (5))\n    end\n    turn right (pick random (1) to (360)) degrees\nend\n\nwhen I receive [end v]\nforever\n    play sound (pick random (1) to (3)) until done\nend\n\n@outro words\n\nwhen I receive [end v]\ngo to x: (0) y: (100)\nshow\nset size to (120) %\n\nwhen I receive [end v]\ngo to x: (0) y: (-250)\npoint in direction (90)\nglide (1) secs to x: (0) y: (90)\nforever\n    point in direction ((([sin v] of (Awesome) ) * (7)) + (90))\n    change y by ([sin v] of (Awesome) )\n    change size by ([sin v] of (Awesome) )\n    change [awesome v] by (10)\nend\n\nwhen I receive [end v]\nshow\ngo to x: (0) y: (-250)\npoint in direction (90)\nglide (1) secs to x: (0) y: (90)\nforever\n    point in direction ((([sin v] of (sin) ) * (10)) + (90))\n    change y by (([cos v] of (cos) ) * (0))\n    change [sin v] by (10.9)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\ngo [forward v] (1) layers\n\n@sword\n\nwhen I receive [start v]\nshow\nset size to (150) %\nset rotation style [all around v]\nforever\n    go to (player v)\n    if <(costume #) = [right]> then\n        switch costume to (sword v)\n    else\n        switch costume to (sword2 v)\n    end\nend\n\nwhen flag clicked\nhide\nset [costume # v] to [right]\n\nwhen I receive [start v]\npoint in direction (90)\nset [swinging v] to [0]\nforever\n    wait until <key (space v) pressed?>\n    start sound [Rip v]\n    show\n    set [swinging v] to [1]\n    if <(costume #) = [right]> then\n        repeat (5)\n            turn right (8) degrees\n        end\n    else\n        repeat (5)\n            turn left (8) degrees\n        end\n    end\n    set [swinging v] to [0]\n    point in direction (90)\n    wait until <not <key (space v) pressed?>>\nend\n\nwhen I receive [end v]\nhide\n\nwhen I receive [x \(exit menu\) v]\nshow\n\n@Steve's House\n\nwhen I receive [start v]\nset size to (70) %\nwait (0.5) seconds\nshow\nwait (1) seconds\ngo [forward v] (1000000000000) layers\nwait (0.01) seconds\ngo [backward v] (15) layers\n\nwhen flag clicked\ngo to x: (-160) y: (0)\nhide\n\nwhen I receive [next level v]\nhide\n\n@Alex\n\nwhen flag clicked\ngo to x: (300) y: (-69)\nhide\nforever\n    set size to (500) %\nend\n\nwhen I receive [end v]\nshow\nglide (1) secs to x: (0) y: (-65)\nwait (.5) seconds\nforever\n    glide (0.5) secs to x: (0) y: (-40)\n    wait (0.000000000000000001) seconds\n    glide (0.5) secs to x: (0) y: (-65)\n    wait (0.000000000000000001) seconds\nend\n\n@zombie\n\nwhen flag clicked\nhide\nswitch costume to (zombielook v)\nset size to (100) %\ngo to x: (0) y: (-40)\nforever\n    if <<touching (sword v)?> and <(swinging) = [1]>> then\n        hide\n        start sound [zombiedeath v]\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [zombies! v]\ngo to x: (pick random (-20) to (100)) y: (-40)\nshow\npoint towards (player v)\nglide (10) secs to (player v)\nrepeat (5)\n    start sound (pick random (1) to (3))\n    wait (pick random (3) to (7)) seconds\nend\nforever\n    if <touching (zombie2 v)?> then\n        go to x: (pick random (-20) to (100)) y: (-47)\n    end\n    if <<touching (sword v)?> and <(swinging) = [1]>> then\n        hide\n        start sound [zombiedeath v]\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\n@zombie2\n\nwhen flag clicked\nhide\nswitch costume to (zombielook v)\nset size to (100) %\ngo to x: (0) y: (-40)\nforever\n    if <<touching (sword v)?> and <(swinging) = [1]>> then\n        hide\n        start sound [zombiedeath v]\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [zombies! v]\ngo to x: (pick random (-20) to (100)) y: (-40)\nshow\npoint towards (player v)\nglide (10) secs to (player v)\nrepeat (5)\n    start sound (pick random (1) to (3))\n    wait (pick random (3) to (7)) seconds\nend\nforever\n    if <touching (zombie v)?> then\n        go to x: (pick random (-20) to (100)) y: (-47)\n    end\n    if <<touching (sword v)?> and <(swinging) = [1]>> then\n        hide\n        start sound [zombiedeath v]\n        stop [other scripts in sprite v]\n    end\nend\n\n@Hint\n\nwhen flag clicked\nset [☁ who looked v] to [0]\nchange [☁ who watched v] by (join (☁ Who watched) (username))\n\nwhen flag clicked\nchange [☁ who looked at this project? v] by (1)\ngo to x: (-100) y: (30)\nhide\n\nwhen I receive [help is coming! v]\nwait (pick random (5) to (12)) seconds\nshow\nforever\n    glide (0.5) secs to x: (-130) y: (30)\n    wait (0.0005) seconds\n    glide (0.5) secs to x: (-100) y: (30)\n    wait (0.0005) seconds\nend\n\nwhen I receive [end v]\nrepeat (10)\n    hide\nend\nstop [other scripts in sprite v]\n\nwhen I receive [next level v]\nrepeat (10)\n    hide\nend\n\nwhen I receive [hide v]\nforever\n    stop [other scripts in sprite v]\nend\n\n@Menu Button\n\nwhen flag clicked\nhide\ngo to x: (160) y: (-160)\nset size to (110) %\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nplay sound [click v] until done\nbroadcast (Menu v)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [x \(exit menu\) v]\nshow\n\nwhen I receive [end v]\nhide\n\n@Menu\n\nwhen flag clicked\nset [menu v] to [0]\nhide\nswitch costume to (costume1 v)\nset size to (200) %\ngo to x: (0) y: (0)\n\nwhen I receive [menu v]\ngo to [front v] layer\nshow\n\nwhen I receive [x \(exit menu\) v]\nhide\n\nwhen I receive [end v]\nhide\n\n@x\n\nwhen flag clicked\ngo to x: (70) y: (90)\nhide\nset size to (200) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [menu v]\ngo to x: (70) y: (90)\nwait (0.1) seconds\ngo to [front v] layer\nshow\nrepeat (10)\n    wait (0.01) seconds\n    go to [front v] layer\n    show\nend\n\nwhen this sprite clicked\nplay sound [click v] until done\nbroadcast (X \(exit menu\) v)\n\nwhen I receive [x \(exit menu\) v]\nhide\n\nwhen I receive [end v]\nhide\n\nwhen I receive [credits v]\ngo to x: (90) y: (145)\nwait (0.1) seconds\ngo to [front v] layer\nshow\nrepeat (10)\n    wait (0.01) seconds\n    go to [front v] layer\n    show\nend\n\n@Sprite1\n\nwhen flag clicked\nhide variable [fps v]\nhide variable [☁ who looked at this project? v]\nhide\nset size to (150) %\nforever\n    reset timer\n    set [frame v] to [0]\n    repeat until <(timer) > [1]>\n        change [frame v] by (1)\n    end\n    set [fps v] to (frame)\nend\n\nwhen I receive [menu v]\nshow\nwait (0.01) seconds\ngo to [front v] layer\n\nwhen I receive [x \(exit menu\) v]\nhide\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [start v]\nhide\nswitch costume to (check v)\nforever\n    if <(costume [name v]) = [check]> then\n        show variable [fps v]\n    else\n        hide variable [fps v]\n    end\nend\n\nwhen I receive [end v]\nswitch costume to (uncheck v)\nhide variable [fps v]\n\n@CREEPER\n\nwhen flag clicked\nforever\n    if <key (c v) pressed?> then\n        show\n        go to [front v] layer\n        repeat (1)\n            switch costume to (costume1 v)\n            wait (0.1) seconds\n            switch costume to (costume2 v)\n            wait (0.1) seconds\n            switch costume to (costume3 v)\n            wait (0.1) seconds\n            switch costume to (costume4 v)\n            wait (0.1) seconds\n            switch costume to (costume5 v)\n            wait (0.1) seconds\n            switch costume to (costume6 v)\n            wait (0.1) seconds\n            switch costume to (costume6 v)\n            wait (0.1) seconds\n            switch costume to (costume5 v)\n            wait (0.1) seconds\n            switch costume to (costume4 v)\n            wait (0.1) seconds\n            switch costume to (costume3 v)\n            wait (0.1) seconds\n            switch costume to (costume2 v)\n            wait (0.1) seconds\n            switch costume to (costume1 v)\n            wait (0.1) seconds\n            switch costume to (costume7 v)\n            wait (0.1) seconds\n            switch costume to (costume8 v)\n        end\n    else\n        switch costume to (costume1 v)\n        hide\n        go to [back v] layer\n    end\nend\n\n@CreditBackground\n\nwhen flag clicked\nhide\n\nwhen I receive [credits v]\nshow\ngo to [front v] layer\n\nwhen I receive [x \(exit menu\) v]\nhide\ngo to [back v] layer\n\n@Credits\n\nwhen flag clicked\nhide\n\nwhen I receive [credits v]\nshow\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\ngo to x: (40) y: (-350)\nglide (22) secs to x: (40) y: (400)\n\nwhen I receive [x \(exit menu\) v]\nhide\n\n@Creditbutton\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nset size to (120) %\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nplay sound [click v] until done\nbroadcast (Credits v)\n\nwhen I receive [menu v]\ngo to [front v] layer\nshow\nwait (0.15) seconds\ngo to [front v] layer\nshow\n\nwhen I receive [end v]\nhide\n\nwhen I receive [x \(exit menu\) v]\nhide\n\n
Help Steve get from his house through the unknown \nlands to find Alex!\n\n~CONTROLS~\n-Arrow keys to move left or right, up/left or right arrow together to jump.\n-Press space to use the sword.\n-"R" to restart!\n\n~CHANGELOG:~\nV.1.0: release version, main platformer\nV.1.1: Added the music "Pigstep" (plays at end)\n\n~~KNOWN BUGS:~~\n-If you walk too close to a wall, you glitch through \n-Sometimes clouds do not disappear\n\n~LINKS~\n-The original platformer: https://scratch.mit.edu/projects/377252791/ (Very Laggy!)\n-Cathy390's platformer (inspiration from this one)\nhttps://scratch.mit.edu/projects/396281170/\n\n~OTHER~\n-More levels will be added soon!\n-Post your score below!\n-Look for an Easter egg somewhere!