Vortex Crystal- A Platformer #games #all

Instructions:                           >>V o r t e x C r y s t a l<<\n                            >>I M P O R T A N T<<  \n                    TWO HUNDRED VIEWS?! LETS GET 20 \n               LOVES AND FAVES!! I KNOW WE CAN DO \n               THIS!!!!!  We got 100+ loves and 90+ favorites! \n             1000+ views?? #76 on trending for games!                    \n                               >>B a c k s t o r y<<\n                     You were minding your own business, when \n              you saw a strange sign, with old writing. You \n             kept \n             following the signs to find something that was \n               lost \n              ages ago. The V o r t e x C r y s t a l...\n                            >> H o w  T o  P l a y<<\n                     Use the W,A,S,D keys or the arrow keys to \n              move. Avoid lava, spikes and saws\n                              >>O t h e r  S t u f f<<\n                     If you enjoyed this, a heart and a star \n               would be appreciated! \n11/30/2020\n@-TIN- loved and faved!?\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n                                      >>T a g s<<\n#All  #Platformers  #Games  #Art  #Vortex  #Stories #VortexCodez\n                     

@Stage\n\nwhen flag clicked\nforever\n    switch backdrop to (Level)\nend\n\n@Player\n\ndefine platformer physics (speed) (friction) (jump height)\nswitch costume to (passive v)\nchange [y vel. v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    switch costume to (right v)\n    change [x vel. v] by (speed)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    switch costume to (left v)\n    change [x vel. v] by ((speed) * (-1))\nend\nset [x vel. v] to ((x vel.) * (friction))\nchange x by (x vel.)\nset [slope v] to [0]\nif <touching (level v)?> then\n    repeat until <<not <touching (level v)?>> or <(slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <touching (level v)?> then\n    change y by (slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (x vel.) ) / (x vel.)) * (-1))\n    end\n    if <key (up arrow v) pressed?> then\n        set [y vel. v] to [13]\n        if <(x vel.) > [0]> then\n            set [x vel. v] to [-15]\n        else\n            set [x vel. v] to [15]\n        end\n    else\n        set [x vel. v] to [0]\n    end\nend\nchange y by (y vel.)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (y vel.) ) / (y vel.)) * (-1))\n    end\n    set [y vel. v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (level v)?>> then\n    set [y vel. v] to [12]\nend\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    switch costume to (up v)\nend\nchange y by (1)\nif <(x position) > [215]> then\n    change [level v] by (1)\n    go to x: (X Spawn) y: (Y Spawn)\n    broadcast (Next Level v)\nend\nif <<touching (danger v)?> or <touching (saws v)?>> then\n    go to x: (X Spawn) y: (Y Spawn)\n    broadcast (You Died v)\nend\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (upper left v)\nend\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    switch costume to (upper right v)\nend\n\nwhen I start as a clone\nswitch costume to (trail v)\nrepeat (4)\n    change size by (-15)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [start game v]\nshow\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [start game v]\nshow\nset [x spawn v] to [-221]\nset [y spawn v] to [-36]\nset [x vel. v] to [0]\nset [y vel. v] to [0]\ngo to x: (X Spawn) y: (Y Spawn)\nforever\n    platformer physics [1.2] [0.9] [12]\nend\n\nwhen flag clicked\nhide\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Music\n\nwhen I receive [start game v]\nset [mute v] to [1]\n\nwhen this sprite clicked\nif <(Mute) = [1]> then\n    set [mute v] to [0]\n    switch costume to (music off v)\nelse\n    set [mute v] to [1]\n    switch costume to (music on v)\nend\n\nwhen I receive [start project v]\nwait (1) seconds\nforever\n    if <(Mute) = [1]> then\n        play sound [Alan Walker - Fade \[NCS Release\].mp3 v] until done\n    end\nend\n\nwhen I receive [start game v]\nforever\n    if <(Mute) = [0]> then\n        stop all sounds\n    end\nend\n\nwhen flag clicked\ngo to x: (209) y: (143)\nhide\nswitch costume to (music on v)\ngo to [front v] layer\n\nwhen I receive [start game v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\nwhen this sprite clicked\nrepeat until <(size) = [100]>\n    change size by (-10)\nend\n\nwhen I receive [start game v]\nshow\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (500)) ) * (5)))\nend\n\n@Skip\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (149) y: (142)\nhide\nswitch costume to (skip v)\nforever\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen I receive [start game v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Next Level v)\nchange [level v] by (1)\nrepeat until <(size) = [100]>\n    change size by (-10)\nend\nwait (3) seconds\n\nwhen I receive [start game v]\nshow\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (500)) ) * (5)))\nend\n\n@Saws\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\ngo to [back v] layer\nshow\nset [d v] to [0]\npoint in direction (d)\nforever\n    change [d v] by (10)\n    point in direction (d)\nend\n\nwhen I receive [start game v]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nif <(Level) = [2]> then\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [start game v]\nhide\n\n@Start Button\n\nwhen flag clicked\nhide\ngo to x: (1) y: (109)\n\nwhen I receive [start project v]\nwait (1) seconds\ngo [forward v] (3) layers\nshow\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (500)) ) * (5)))\nend\n\nwhen I receive [start project v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\nwhen this sprite clicked\nrepeat until <(size) = [100]>\n    change size by (-10)\nend\nbroadcast (Start game v)\n\nwhen I receive [start game v]\nhide\n\n@Transition\n\nwhen flag clicked\nhide\ngo to x: (33) y: (-5)\n\nwhen I receive [next level v]\nset [ghost v] effect to (0)\ngo to [front v] layer\nshow\nswitch costume to (next level v)\nglide (0.2) secs to x: (750) y: (-5)\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (0.05) seconds\nend\ngo to x: (33) y: (-5)\nhide\n\n@Intro2\n\nwhen flag clicked\nset [end v] to [0]\npoint in direction (-90)\nstart sound [Alan Walker - Spectre \[NCS Release\].mp3 v]\nswitch costume to (l1 v)\nset [cloneid v] to [2]\ncreate clone of (_myself_ v)\nchange [cloneid v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [cloneid v] to [3]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nset [cloneid v] to [6]\ncreate clone of (_myself_ v)\nset [cloneid v] to [7]\ncreate clone of (_myself_ v)\nrepeat (7)\n    wait (0.75) seconds\n    change [size2 v] by (10)\n    set [cloneid v] to [8]\n    create clone of (_myself_ v)\n    set [cloneid v] to [9]\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [10]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [end v] to [1]\nbroadcast (Start Project v)\n\ndefine Set y goal\nset [ygoal v] to (I)\nrepeat until <(I) = [0]>\n    change y by (I)\n    change [i v] by (-0.5)\nend\nset [i v] to (Ygoal)\nset [ygoal v] to (y position)\ngo to x: (x position) y: (-555)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset volume to (100) %\nset [size2 v] to [0]\nset [end v] to [0]\nhide\nFz-1\ngo to x: (0) y: (0)\nwait until <(End) = [1]>\nrepeat (10)\n    change volume by (-10)\nend\n\nwhen I start as a clone\nif <(CloneID) = [1]> then\n    set [color v] effect to (0)\n    go to [front v] layer\n    show\n    go to x: (x position) y: (-555)\n    set [i v] to [17]\n    clear graphic effects\n    Set y goal\n    switch costume to (costume14 v)\n    set [costume v] to ((14) - ((((1) / (I)) / (2)) * (10)))\n    point in direction (90)\n    repeat until <<(y position) < [-179]> and <(I) < [0]>>\n        change [i v] by (-0.5)\n        change y by (I)\n        switch costume to (Costume)\n        go to [front v] layer\n        if <[0] < (I)> then\n            set [costume v] to ((Costume) + (((1) - (Costume)) / (round ((Ygoal) * (0.75)))))\n        else\n            change [costume v] by (0.085)\n            change [ghost v] effect by ((Costume) * (0.25))\n        end\n    end\n    repeat (3)\n        change [i v] by (-0.5)\n        change y by (I)\n        if <[0] < (I)> then\n            set [costume v] to ((Costume) + (((1) - (Costume)) / (round ((Ygoal) * (0.75)))))\n        else\n            change [costume v] by (0.085)\n            change [ghost v] effect by ((Costume) * (0.25))\n        end\n    end\n    delete this clone\nelse\n    if <(CloneID) = [2]> then\n        wait (0.5) seconds\n        switch costume to (costume15 v)\n        show\n        go to [front v] layer\n        switch costume to (sizehack-1 v)\n        set size to (0) %\n        switch costume to (costume15 v)\n        set [brightness v] effect to (-60)\n        repeat (10)\n            if <(size) < [100]> then\n                switch costume to (sizehack-1 v)\n            else\n                switch costume to (sizehack-2 v)\n            end\n            change size by (((2000) - (size)) / (12))\n            switch costume to (costume15 v)\n        end\n        Gc-1\n        turn right (22.5) degrees\n        repeat (2)\n            if <(size) < [100]> then\n                switch costume to (sizehack-1 v)\n            else\n                switch costume to (sizehack-2 v)\n            end\n            change size by (((2000) - (size)) / (9))\n            switch costume to (costume15 v)\n        end\n        set [brightness v] effect to (-80)\n        Gc-1\n        turn left (22.5) degrees\n        set [brightness v] effect to (-60)\n        repeat (10)\n            if <(size) < [100]> then\n                switch costume to (sizehack-1 v)\n            else\n                switch costume to (sizehack-2 v)\n            end\n            change size by (((2000) - (size)) / (9))\n            switch costume to (costume15 v)\n        end\n        Gc-3\n        repeat (5)\n            if <(size) < [100]> then\n                switch costume to (sizehack-1 v)\n            else\n                switch costume to (sizehack-2 v)\n            end\n            change size by (((2000) - (size)) / (9))\n            switch costume to (costume15 v)\n        end\n        Gc-2\n        repeat until <(round (size)) = [2000]>\n            if <(size) < [100]> then\n                switch costume to (sizehack-1 v)\n            else\n                switch costume to (sizehack-2 v)\n            end\n            change size by (((2000) - (size)) / (9))\n            switch costume to (costume15 v)\n        end\n    else\n        if <(CloneID) = [3]> then\n            go to [front v] layer\n            show\n            switch costume to (costume15 v)\n            switch costume to (sizehack-1 v)\n            set size to (0) %\n            set [brightness v] effect to (100)\n            switch costume to (costume15 v)\n            repeat until <(round (size)) = [2000]>\n                if <(size) < [100]> then\n                    switch costume to (sizehack-1 v)\n                else\n                    switch costume to (sizehack-2 v)\n                end\n                change size by (((2000) - (size)) / (12))\n                switch costume to (costume15 v)\n            end\n            delete this clone\n        else\n            if <(CloneID) = [4]> then\n                go to [front v] layer\n                show\n                set size to (100) %\n                switch costume to (l1 v)\n                turn right (90) degrees\n                set [i v] to [30]\n                repeat (19)\n                    turn left (90) degrees\n                    move (I) steps\n                    set [i v] to ((I) * (0.89))\n                    turn right (90) degrees\n                    next costume\n                end\n                hide\n                delete this clone\n            else\n                if <(CloneID) = [5]> then\n                    go to [front v] layer\n                    show\n                    set [brightness v] effect to (20)\n                    set size to (100) %\n                    switch costume to (l1 v)\n                    set [i v] to [15]\n                    repeat (19)\n                        go to [front v] layer\n                        turn right (-90) degrees\n                        move (I) steps\n                        turn right (90) degrees\n                        next costume\n                        change [i v] by (-1)\n                    end\n                    hide\n                    delete this clone\n                else\n                    if <(CloneID) = [6]> then\n                        set [brightness v] effect to (-40)\n                        go to [front v] layer\n                        show\n                        switch costume to (costume16 v)\n                        repeat until <(round (size)) = [2000]>\n                            if <(size) < [100]> then\n                                switch costume to (sizehack-1 v)\n                            else\n                                switch costume to (sizehack-2 v)\n                            end\n                            change size by (((2000) - (size)) / (12))\n                            switch costume to (costume15 v)\n                        end\n                        switch costume to (sizehack-2 v)\n                        set size to (2000) %\n                        switch costume to (costume15 v)\n                    else\n                        if <(CloneID) = [7]> then\n                            switch costume to (costume17 v)\n                            show\n                            go to [front v] layer\n                            repeat until <(End) = [1]>\n                                point in direction ((90) + ((5) * ([sin v] of ((110) * (timer)) )))\n                                go to [front v] layer\n                                change size by ((((500) - (size)) / (12)) + (Size2))\n                                change [size2 v] by (((0) - (Size2)) / (12))\n                            end\n                            repeat (20)\n                                turn right (((180) - (direction)) / (12)) degrees\n                                change [ghost v] effect by (5)\n                                change size by (-10)\n                            end\n                        else\n                            if <(CloneID) = [8]> then\n                                go to [front v] layer\n                                go [backward v] (1) layers\n                                show\n                                set [i v] to [9]\n                                switch costume to (sizehack-1 v)\n                                set size to (50) %\n                                switch costume to (cool square2 v)\n                                repeat until <(x position) < [-239]>\n                                    switch costume to (sizehack-1 v)\n                                    change x by ((0) - (I))\n                                    change [i v] by (((2) - (I)) / (30))\n                                    change size by (((100) - (size)) / (12))\n                                    switch costume to (cool square2 v)\n                                end\n                                delete this clone\n                            else\n                                if <(CloneID) = [9]> then\n                                    go to [front v] layer\n                                    go [backward v] (1) layers\n                                    show\n                                    set [i v] to [9]\n                                    switch costume to (sizehack-1 v)\n                                    set size to (50) %\n                                    switch costume to (cool square v)\n                                    repeat until <(x position) < [-239]>\n                                        switch costume to (sizehack-1 v)\n                                        change x by (I)\n                                        change [i v] by (((2) - (I)) / (30))\n                                        change size by (((100) - (size)) / (12))\n                                        switch costume to (cool square v)\n                                    end\n                                    delete this clone\n                                else\n                                    switch costume to (sizehack-1 v)\n                                    go to x: (555) y: (0)\n                                    point in direction (90)\n                                    switch costume to (costume18 v)\n                                    show\n                                    repeat until <(round (x position)) = [-30]>\n                                        switch costume to (sizehack-1 v)\n                                        go to [front v] layer\n                                        change x by (((-30) - (x position)) / (12))\n                                        switch costume to (costume18 v)\n                                    end\n                                    wait (0.5) seconds\n                                    repeat (10)\n                                        change [ghost v] effect by (10)\n                                    end\n                                    delete this clone\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Fz-1\nset [cloneid v] to [1]\nset size to (100) %\ngo to x: (200) y: (y position)\nset [i v] to [15]\ncreate clone of (_myself_ v)\nset size to (50) %\nset [i v] to [17]\ngo to x: (-20) y: (-181)\ncreate clone of (_myself_ v)\nset size to (125) %\ngo to x: (-180) y: (-181)\nset [i v] to [13]\ncreate clone of (_myself_ v)\nset size to (175) %\ngo to x: (75) y: (-181)\nset [i v] to [10]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\nend\n\ndefine Gc-1\nset [cloneid v] to [4]\npoint in direction (direction)\nswitch costume to (sizehack-2 v)\nchange [brightness v] effect by (30)\nrepeat (8)\n    turn right (45) degrees\n    set [cloneid v] to [4]\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [2]\nswitch costume to (costume15 v)\nchange [brightness v] effect by (-30)\n\ndefine Gc-2\nset [brightness v] effect to (0)\nset [cloneid v] to [4]\nrepeat (4)\n    turn right (90) degrees\n    set [cloneid v] to [4]\n    create clone of (_myself_ v)\nend\nset [cloneid v] to [2]\nset [brightness v] effect to (-60)\n\ndefine Gc-3\nset [cloneid v] to [5]\nturn right (135) degrees\ncreate clone of (_myself_ v)\nturn right (180) degrees\ncreate clone of (_myself_ v)\nturn right (45) degrees\nset [cloneid v] to [2]\n\nwhen I start as a clone\nwait until <(End) = [1]>\nif <not <<(CloneID) = [8]> or <<(CloneID) = [9]> or <(CloneID) = [10]>>>> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nforever\n    if <touching (player v)?> then\n        think (Wordz)\n    else\n        think []\n    end\nend\n\nwhen I receive [start game v]\nforever\n    if <(Level) = [1]> then\n        set [wordz v] to [Hello! You must help me retrieve the Vortex Crystal.]\n    end\n    if <(Level) = [2]> then\n        set [wordz v] to [It has many strange powers... It has conjured these red spikes!]\n    end\n    if <(Level) = [3]> then\n        set [wordz v] to [Floating platforms?]\n    end\n    if <(Level) = [4]> then\n        set [wordz v] to [Enter the cave!]\n    end\n    if <(Level) = [5]> then\n        set [wordz v] to [Woah...]\n    end\n    if <(Level) = [6]> then\n        set [wordz v] to [Lava!?]\n    end\n    if <(Level) = [7]> then\n        set [wordz v] to [Look! The exit!]\n    end\n    if <(Level) = [8]> then\n        set [wordz v] to [A hill?]\n    end\n    if <(Level) = [9]> then\n        set [wordz v] to [I see it!]\n    end\n    if <(Level) = [10]> then\n        set [wordz v] to [THE VORTEX CRYSTAL!]\n    end\nend\n\n