TᕼE ᑎIᑎE ᗯOᖇᒪᗪS - ᗩ ᗰOᗷIᒪE ᖴᖇIEᑎᗪᒪY ᑭᒪᗩTᖴOᖇᗰEᖇ| The Nine Worlds - A Mobile Friendly Platformer

Instructions: E᙭ᑭᒪOᖇE TᕼE ᑎIᑎE ᗯOᖇᒪᗪS Oᖴ ᑎOᖇSE \nᗰYTᕼOᒪOGY ᗯITᕼ TᕼIS ᗰOᗷIᒪE ᖴᖇIEᑎᗪᒪY\nᑭᒪᗩTᖴOᖇᗰEᖇ!\n\nPress the heart and star for less lag! :P\nFullscreen recommended.\nAll levels are possible (on the computer, IDK about on mobile :P) If a level is too hard, you can always skip it.\nIf you enjoyed, press the heart and star.\nFollow @Sophii- for more.\nIF IT DOESN'T LOAD, USE THIS: https://forkphorus.github.io/#374023861\n\nI'm not going to do any more work on this, but you can remix and add new features!\n\nCan we get this:\nFeatured - Nope T_T\nCurated - Yeah! Thanks @-glittersquad-!\nTop-Loved - Yeah! Thanks so much! :D\nTop-Remixed - Yeah! Thanks! :D\n===========================================\nYou can use anything in this if you give credit. If you don't, I WILL FIND YOU. AND I WILL HUNT YOU DOWN. \n===========================================\nAdvertising will be reported.\n===========================================\nCredits:\nPlatforming script: @griffpatch, modified by @Sophii- (me)\nMobile script is from @qucchia\nPlayer trail is by @sourboylemon, modified by me\nClouds script by @lukas1410, modified by me\nCrystal art from @I8D's platformer\nPlayer design inspired by @timmccool\n9 worlds are from Norse mythology\nAll other art and coding is by @Sophii- (me)\nYou for loving and faving this project, and following me! :D\n===========================================\nMusic: \nDance of the Violins by F-777\nEpic by TheFatRat\nSons of Norway by Vexento\n===========================================\nUPDATES\n=============\n3/16/20 - 69 views :3\n3/16/20: 100 views in one day?? OMG!!!!!\n3/16/20: Added spikes, clouds, and player trail, and changed thumbnail a little bit\n3/17/20: 200 views and 10 loves? Thanks!!!\n3/18/20: Added level numbers, fixed a couple small bugs\n3/18/20: wOaHhHH 400 views and 20 loves???\n3/19/20: added skip\n3/20/20: wOaHhH 30 loves HOWW\n3/20/20: #174 on trending! Can we make that number go up?\n3/20/20: 500 views! Yay!\n3/23/20: 600 views - yay! 40 loves - can we get to 50?\n3/24/20 - 666 views :3\n3/25/20 - ACKKKK 16 loves and 200 views in one day? HOW????\n4/7/20: Curated by @-glittersquad-! Thanks!\n4/9/20: Top loved!!!! Thanks!!! HOW DID WE GET 10k views and 800 loves??? OMG!!!\n4/11/20: 1000 loves???? THANKS SO MUCH!!!\n4/14/20: 1000 faves! Thanks! Also - TOP REMIXED! YAY!\n4/18/20 - 20k views and 57 remixes!???\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#art#games#games#platformer#platformers#65#plus\n#eleven#music#animations#informational#myths#magic\n#tutorialsiguess#tutorials#norsemythology#75levels\n#stories#all#animations#art#games#music#stories\n#tutorials#all#games#all#games#sophii-#is#not\n#boymcboy#or#timmccool#or#mjm3#or#dhilly#the#end\n#bye

@Stage\n\nwhen flag clicked\nswitch backdrop to (midgard v)\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        switch backdrop to (midgard_portal v)\n    else\n        if <(level) = [8]> then\n            switch backdrop to (nidavellir v)\n        else\n            if <(level) = [16]> then\n                switch backdrop to (nidavellir_portal v)\n            else\n                if <(level) = [17]> then\n                    switch backdrop to (vanaheim v)\n                else\n                    if <(level) = [24]> then\n                        switch backdrop to (vanaheim_portal v)\n                    else\n                        if <(level) = [25]> then\n                            switch backdrop to (muspellheim v)\n                        else\n                            if <(level) = [32]> then\n                                switch backdrop to (muspellheim_portal v)\n                            else\n                                if <(level) = [33]> then\n                                    switch backdrop to (niflheim v)\n                                else\n                                    if <(level) = [38]> then\n                                        switch backdrop to (niflheim_portal v)\n                                    else\n                                        if <(level) = [39]> then\n                                            switch backdrop to (alfheim v)\n                                        else\n                                            if <(level) = [47]> then\n                                                switch backdrop to (alfheim_portal v)\n                                            else\n                                                if <(level) = [48]> then\n                                                    switch backdrop to (helheim v)\n                                                else\n                                                    if <(level) = [56]> then\n                                                        switch backdrop to (helheim_portal v)\n                                                    else\n                                                        if <(level) = [57]> then\n                                                            switch backdrop to (jotunheim v)\n                                                        else\n                                                            if <(level) = [66]> then\n                                                                switch backdrop to (jotunheim_portal v)\n                                                            else\n                                                                if <(level) = [67]> then\n                                                                    switch backdrop to (asgard v)\n                                                                else\n                                                                    if <(level) = [74]> then\n                                                                        switch backdrop to (asgard_portal v)\n                                                                    else\n                                                                        if <(level) = [75]> then\n                                                                            switch backdrop to (asgard v)\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@level\n\nwhen flag clicked\nforever\n    go [backward v] (1) layers\n    switch costume to (level)\nend\n\n@text\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go [backward v] (2) layers\n    switch costume to (level)\nend\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\nwhen this sprite clicked\n\n@player\n\nwhen I start as a clone\nset [brightness v] effect to (-100)\nset [ghost v] effect to (0)\nset size to (40) %\nrepeat (10)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ndefine Touch Ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (level v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (level v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<<key (up arrow v) pressed?> or <<key (space v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>>>> and <([abs v] of (speed) ) > [3]>> then\n        if <(wall jump) = [0]> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [11]\n            set [falling? v] to [6]\n            set [wall jump v] to [2]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nif <(speed) < [0]> then\n    change [frame v] by ((speed) / (-8))\nelse\n    change [frame v] by ((speed) / (8))\nend\n\nwhen flag clicked\nset size to (40) %\nset rotation style [left-right v]\ngo to x: (-250) y: (100)\ngo [backward v] (1) layers\nshow\nset [speed y v] to [0]\nset [falling? v] to [10]\nforever\n    if <<<<(speed y) < [4]> or <key (up arrow v) pressed?>> or <<key (space v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> then\n        change [speed y v] by (-1)\n    else\n        change [speed y v] by (-2)\n    end\n    change y by (speed y)\n    Touch Ground <(speed y) > [0]>\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        set [speed x v] to ((speed x) * (0.7))\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            change [speed x v] by (-1.5)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [speed x v] by (1.5)\n        end\n    end\n    if <(speed x) < [-0.5]> then\n        Walk (-90) (speed x)\n    else\n        if <(speed x) > [0.5]> then\n            Walk (90) (speed x)\n        else\n            set [frame v] to [0]\n        end\n    end\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> then\n        if <<(jump key) = [0]> and <(falling?) < [3]>> then\n            start sound [Jump v]\n            set [speed y v] to [14]\n            set [falling? v] to [6]\n            set [jump key v] to [0]\n        end\n    else\n        set [jump key v] to [0]\n    end\n    if <touching (death v)?> then\n        start sound [Bonk v]\n        go to x: (-250) y: (100)\n        set [speed y v] to [0]\n    end\n    Set Costume\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    repeat until <(level) = [76]>\n        if <(x position) > [228]> then\n            change [level v] by (1)\n            go to x: (-250) y: (100)\n            set [speed y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [76]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\ndefine Set Costume\n\nif <(falling?) < [6]> then\n    if <(frame) = [0]> then\n        switch costume to (i'm watching you!!! v)\n    else\n        switch costume to ([floor v] of ((4) + ((frame) mod (8))) )\n    end\nelse\n    if <(speed y) > [0]> then\n        switch costume to (jump_1 v)\n    else\n        switch costume to (fall_1 v)\n    end\nend\n\ndefine blink\nswitch costume to (i'm watching you!!! v)\nrepeat (9)\n    next costume\nend\nrepeat (9)\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen flag clicked\nforever\n    blink\n    wait (pick random (1) to (30)) seconds\nend\n\n@instructions\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\n\nwhen flag clicked\nif <(costume [number v]) = [7]> then\n    hide\nend\n\nwhen this sprite clicked\nnext costume\n\n@death\n\nwhen flag clicked\nshow\nforever\n    go to [back v] layer\n    switch costume to (level)\nend\n\n@moosic\n\nwhen flag clicked\nset [show/hide v] to [0]\nforever\n    switch costume to (pick random (1) to (3))\n    set [show/hide v] to [1]\n    play sound (costume [number v]) until done\n    set [show/hide v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <(show/hide) = [1]> then\n        set [ghost v] effect to (100)\n        set [hide skip v] to [1]\n        show\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        wait (5) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [show/hide v] to [0]\n        hide\n        set [hide skip v] to [0]\n    end\nend\n\n@clouds\n\nwhen flag clicked\nif <(level) = [76]> then\n    hide\nend\n\nwhen I start as a clone\nshow\ngo [forward v] (1) layers\nset [ghost v] effect to (pick random (40) to (75))\ngo to x: (-242) y: (pick random (100) to (0))\nforever\n    repeat until <(x position) > [171]>\n        move (pick random (2) to (7)) steps\n    end\n    delete this clone\nend\n\nwhen flag clicked\nrepeat until <(level) = [76]>\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    switch costume to (backdrop [name v])\nend\n\n@number\n\nwhen flag clicked\ngo [backward v] (1) layers\nshow\n\nhide\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [76]> then\n        hide\n    end\nend\n\ngo to [back v] layer\n\n@skip\n\nwhen this sprite clicked\nchange [level v] by (1)\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [75]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(hide skip) = [1]> then\n        hide\n    else\n        if <(hide skip) = [0]> then\n            show\n        end\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [76]> then\n        hide\n    end\nend\n\n