Platform

Instructions: Arrow Keys or WASD to move.\n\nComment your score =D\n\nThanks @purplemoondust for curating this! \n+ What the community is loving! Thanks!\n+ What the community is remixing! \n\n\n

@Stage\n\nwhen flag clicked\nshow list [alphabet v]\nhide variable [☁ usernameoflowscore v]\nset volume to (75) %\nhide variable [time v]\nhide variable [deaths v]\nstart sound [Crypt of the Necrodancer OST - Crypteque \(1-2\).mp3 v]\nforever\n    if <<key (m v) pressed?> and <(volume) = [0]>> then\n        set volume to (75) %\n        wait (0.5) seconds\n    end\n    if <key (m v) pressed?> then\n        set volume to (0) %\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [switch v]\nnext backdrop\nwait (0.1) seconds\n\nwhen I receive [end v]\nset [score v] to ((Time) + ((Deaths) * (7)))\nif <(☁ LowestScore) > (Score)> then\n    set [☁ lowestscore v] to (Score)\n    block name [] (username)\n    set [☁ usernameoflowscore v] to (ltn)\nend\nshow variable [deaths v]\nshow variable [time v]\nshow variable [score v]\nshow variable [☁ lowestscore v]\nshow variable [ntl v]\nntl (☁ usernameoflowscore)\n\ndefine block name (variable) (text)\nset [counter v] to [0]\nset [ltn v] to []\nrepeat (30)\n    if <<[alphabet v] contains (letter (counter) of (text))?> and <(item # of (letter (counter) of (text)) in [alphabet v]) > [9]>> then\n        set [ltn v] to (join (ltn) (item # of (letter (counter) of (text)) in [alphabet v]))\n    end\n    if <<[alphabet v] contains (letter (counter) of (text))?> and <(item # of (letter (counter) of (text)) in [alphabet v]) < [11]>> then\n        set [ltn v] to (join (join (ltn) [0]) (item # of (letter (counter) of (text)) in [alphabet v]))\n    end\n    change [counter v] by (1)\nend\n\ndefine ntl (numbers/ variables)\nset [counter v] to [1]\nset [ntl v] to []\nrepeat (30)\n    set [finder v] to (join (letter (counter) of (numbers/ variables)) (letter ((counter) + (1)) of (numbers/ variables)))\n    set [ntl v] to (join (ntl) (item (finder) of [alphabet v]))\n    change [counter v] by (2)\nend\n\n@Title\n\nwhen backdrop switches to [back1 v]\nhide\n\nwhen flag clicked\nhide variable [☁ lowestscore v]\nhide variable [ntl v]\nhide variable [score v]\nswitch backdrop to (back0 v)\nshow\npoint in direction (90)\nset [movement v] to [0]\nset size to (100) %\ngo to x: (-5) y: (800)\nrepeat (7)\n    change y by (-16)\nend\nrepeat (5)\n    change y by (2)\nend\nforever\n    turn right ([cos v] of (Movement) ) degrees\n    change [movement v] by (9.5)\nend\n\nset size to (100) %\n\n@Playbutton\n\nwhen flag clicked\ngo to x: (0) y: (-800)\nrepeat (9)\n    change y by (20)\nend\ngo to x: (0) y: (-35)\n\nwhen flag clicked\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (century gothic3 v)\n    else\n        switch costume to (century gothic v)\n    end\nend\n\nwhen backdrop switches to [back1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (start v)\nswitch backdrop to (back1 v)\n\n@Sprite1\n\nwhen flag clicked\nset size to (80) %\nset [deaths v] to [-2]\nset [time v] to [0]\nswitch backdrop to (1 v)\nhide\ngo to x: (-180) y: (-40)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((xv) * (0.85))\n    change x by (xv)\n    if <touching color (#666666)?> then\n        change y by (-2)\n        if <touching color (#666666)?> then\n            change y by (1)\n            if <touching color (#666666)?> then\n                change y by (1)\n                if <touching color (#666666)?> then\n                    change y by (1)\n                    if <touching color (#666666)?> then\n                        change y by (1)\n                        if <touching color (#666666)?> then\n                            change y by (1)\n                            if <touching color (#666666)?> then\n                                change y by (-5)\n                                change x by ((-1) * (xv))\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <(xv) = [0]>>> then\n                                    set [mode v] to [walljump]\n                                    set [yv v] to [8]\n                                    set [xv v] to (((xv) / ([abs v] of (xv) )) * (-10))\n                                else\n                                    set [mode v] to [wallslide]\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\n    change y by (-3)\n    if <touching color (#666666)?> then\n        if <(yv) = [-3]> then\n            if <<key (a v) pressed?> or <<key (d v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n                set [mode v] to [run]\n            else\n                if <([abs v] of (xv) ) > [.1]> then\n                    set [mode v] to [skid]\n                else\n                    set [mode v] to [stand]\n                end\n            end\n        end\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [mode v] to [jump]\n            set [yv v] to [9]\n        end\n    end\n    if <<<<(mode) = [jump]> or <(mode) = [walljump]>> and <(yv) < [0]>> or <<<(mode) = [run]> or <(mode) = [skid]>> and <(yv) < [-3]>>> then\n        set [mode v] to [fall]\n    end\n    change y by (3)\n    if <(yv) > [-15]> then\n        change [yv v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching color (#666666)?>> then\n        change y by (-1)\n        if <not <touching color (#666666)?>> then\n            change y by (-1)\n            if <not <touching color (#666666)?>> then\n                change y by (-1)\n                if <not <touching color (#666666)?>> then\n                    change y by (-1)\n                    if <not <touching color (#666666)?>> then\n                        change y by (-1)\n                        if <not <touching color (#666666)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (yv)\n    if <touching color (#666666)?> then\n        change y by (-2)\n        if <touching color (#666666)?> then\n            change y by ((-1) * (yv))\n            set [yv v] to [-3]\n        end\n        change y by (2)\n    end\n    if <touching color (#ff9400)?> then\n        set [yv v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff6102)?> then\n        change [deaths v] by (1)\n        go to x: (-197) y: (-72)\n        if <(backdrop [name v]) = [back4]> then\n            go to x: (-212) y: (60)\n        end\n        if <(backdrop [name v]) = [back8]> then\n            go to x: (-200) y: (32)\n        end\n        if <<<(backdrop [name v]) = [back5]> or <(backdrop [name v]) = [back6]>> or <(backdrop [name v]) = [back7]>> then\n            go to x: (-212) y: (100)\n        end\n    end\nend\n\nwhen I receive [start v]\nswitch backdrop to (2 v)\nshow\ngo to x: (-197) y: (-72)\nforever\n    repeat until <(backdrop [name v]) = [final]>\n        change [time v] by (1)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ff55)?> then\n        broadcast (switch v)\n        go to x: (-197) y: (-72)\n        wait (0.1) seconds\n        if <(backdrop [name v]) = [back4]> then\n            go to x: (-212) y: (60)\n        end\n        if <(backdrop [name v]) = [back8]> then\n            go to x: (-200) y: (32)\n        end\n        if <<<(backdrop [name v]) = [back5]> or <(backdrop [name v]) = [back6]>> or <(backdrop [name v]) = [back7]>> then\n            go to x: (-212) y: (100)\n        end\n    end\nend\n\nshow\nset size to (500) %\n\nwhen backdrop switches to [final v]\nhide\nbroadcast (end v)\n\n@Sprite2\n\nwhen flag clicked\nset size to (100) %\ngo to x: (189) y: (-48)\nhide\nforever\n    glide (3) secs to x: (-50) y: (-60)\n    glide (3) secs to x: (200) y: (-60)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [back2]> then\n        show\n    else\n        hide\n    end\nend\n\nshow\nset size to (300) %\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [back2]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (189) y: (41)\nhide\nforever\n    glide (2) secs to x: (-15) y: (10)\n    glide (2) secs to x: (189) y: (10)\nend\n\n@costume1\n\nwhen flag clicked\ngo to x: (55) y: (20)\npoint in direction (180)\nforever\n    if <(backdrop [name v]) = [back6]> then\n        show\n        repeat (20)\n            change y by (1.2)\n        end\n        repeat (20)\n            change y by (-1.2)\n        end\n    else\n        hide\n    end\nend\n\n@costume2\n\nwhen flag clicked\ngo to x: (-95) y: (20)\npoint in direction (180)\nforever\n    if <(backdrop [name v]) = [back6]> then\n        show\n        repeat (20)\n            change y by (1.2)\n        end\n        repeat (20)\n            change y by (-1.2)\n        end\n    else\n        hide\n    end\nend\n\n