ᴅᴀʀᴋ ɴɪɢʜᴛ 5 || A platformer || #games #all #trending #music #art #animations #stories
@Stage\n\n@RED\n\nwhen flag clicked\nforever\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>>> then\n        switch costume to (---> v)\n    else\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>>> then\n            switch costume to (<--- v)\n        else\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> then\n                switch costume to (upppp v)\n            else\n                if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (-20)) > (x position)> and <mouse down?>>> then\n                    switch costume to (---> v)\n                else\n                    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (-20)) < (x position)> and <mouse down?>>> then\n                        switch costume to (<--- v)\n                    else\n                        switch costume to (stand v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat (7)\n    switch costume to (costume1 v)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nset [level v] to [1]\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\nset size to (45) %\nswitch costume to (stand v)\ngo to x: (-190) y: (50)\nset drag mode [not draggable v]\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (1)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n        change y by (1)\n        if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n            change y by (1)\n            if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n                change y by (1)\n                if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n                    change y by (1)\n                    if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n                        change y by (1)\n                        if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [14]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to [13]\n            point in direction ((Y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <<<<<<touching (level v)?> or <touching (invisible v)?>> or <touching (button v)?>> or <touching (door v)?>> or <touching (button3 v)?>> or <touching (door2 v)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [x v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        change [level v] by (1)\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\nend\n\nwhen flag clicked\nforever\n    set [x v] to (x position)\n    set [y v] to (y position)\nend\n\ngo to x: (-190) y: (-24)\ngo to x: (-201) y: (14)\n\nwhen flag clicked\nforever\n    if <<<touching (enemy v)?> or <<<touching (spikey v)?> or <touching (lava v)?>> or <touching (saw v)?>>> or <<touching (spikey2 v)?> or <touching (spikey3 v)?>>> then\n        broadcast (Mati v)\n    end\nend\n\nwhen I receive [mati v]\nhide\nwait (0) seconds\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [x v] to [-210]\nset [y v] to [0]\nset x to (-210)\nset y to (0)\nstop [this script v]\n\nhide\n\nwhen flag clicked\nforever\n    if <<touching (tranpoline v)?> or <<touching (tranpoline2 v)?> or <touching (tranpoline3 v)?>>> then\n        set [y v] to [20]\n    end\nend\n\n@level\n\nwhen I receive [next level v]\nswitch costume to (join [Level] (level))\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level1 v)\n\n@SPIKEY\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        go to x: (36) y: (28)\n        point in direction (90)\n        show\n        switch costume to (costume2 v)\n        go to [back v] layer\n    else\n        if <(level) = [2]> then\n            go to x: (36) y: (28)\n            switch costume to (costume1 v)\n            show\n            go to [back v] layer\n        else\n            if <(level) = [3]> then\n                go to x: (36) y: (28)\n                switch costume to (costume5 v)\n                show\n                go to [back v] layer\n            else\n                if <(level) = [4]> then\n                    go to x: (36) y: (28)\n                    switch costume to (costume3 v)\n                    show\n                    go to [back v] layer\n                else\n                    if <(level) = [5]> then\n                        go to x: (36) y: (28)\n                        switch costume to (costume6 v)\n                        go to [back v] layer\n                    else\n                        if <(level) = [7]> then\n                            go to x: (36) y: (28)\n                            switch costume to (costume4 v)\n                            show\n                            go to [back v] layer\n                        else\n                            if <(level) = [8]> then\n                                go to x: (36) y: (28)\n                                switch costume to (costume7 v)\n                                show\n                                go to [back v] layer\n                            else\n                                if <(level) = [11]> then\n                                    go to x: (36) y: (28)\n                                    switch costume to (costume8 v)\n                                    show\n                                    go to [back v] layer\n                                else\n                                    if <(level) = [12]> then\n                                        go to x: (36) y: (28)\n                                        switch costume to (costume9 v)\n                                        show\n                                        go to [back v] layer\n                                    else\n                                        if <(level) = [13]> then\n                                            go to x: (36) y: (28)\n                                            switch costume to (costume10 v)\n                                            show\n                                            go to [back v] layer\n                                        else\n                                            if <(level) = [14]> then\n                                                go to x: (36) y: (28)\n                                                switch costume to (costume11 v)\n                                                go to x: (-181) y: (-67)\n                                                turn right (2) degrees\n                                                show\n                                                go to [back v] layer\n                                            else\n                                                if <(level) = [15]> then\n                                                    switch costume to (costume12 v)\n                                                    point in direction (90)\n                                                    go to x: (0) y: (0)\n                                                    show\n                                                    go to [back v] layer\n                                                else\n                                                    hide\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\nshow\n\ngo to x: (36) y: (28)\n\nturn right (2) degrees\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <(level) = [2]> then\n    switch costume to (costume2 v)\n    show\n    go to [back v] layer\n    forever\n        set y to ((3) * ([sin v] of ((timer) * (180)) ))\n    end\nelse\n    if <(level) = [4]> then\n        switch costume to (costume2 v)\n        show\n        go to [back v] layer\n        forever\n            set y to ((3) * ([sin v] of ((timer) * (180)) ))\n        end\n    else\n        if <(level) = [6]> then\n            switch costume to (costume2 v)\n            show\n            go to [back v] layer\n            forever\n                set y to ((3) * ([sin v] of ((timer) * (180)) ))\n            end\n        else\n            if <(level) = [7]> then\n                switch costume to (costume2 v)\n                show\n                go to [back v] layer\n                forever\n                    set y to ((3) * ([sin v] of ((timer) * (180)) ))\n                end\n            else\n                if <(level) = [10]> then\n                    switch costume to (costume2 v)\n                    show\n                    go to [back v] layer\n                    forever\n                        set y to ((3) * ([sin v] of ((timer) * (180)) ))\n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [A_Bit_Puzzled v] until done\nend\n\nshow\ngo to [front v] layer\n\n@Saw\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        go to x: (149) y: (-96)\n        turn right (15) degrees\n        go to [back v] layer\n        show\n    else\n        if <(level) = [4]> then\n            go to x: (46) y: (62)\n            set size to (70) %\n            turn right (15) degrees\n            go to [back v] layer\n            show\n        else\n            if <(level) = [7]> then\n                go to x: (10) y: (100)\n                set size to (90) %\n                turn right (15) degrees\n                go to [back v] layer\n                show\n            else\n                if <(level) = [8]> then\n                    go to x: (224) y: (-62)\n                    set size to (90) %\n                    turn right (15) degrees\n                    go to [back v] layer\n                    show\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n@Saw2\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        switch costume to (sharpy2 v)\n        point in direction (90)\n        go to x: (0) y: (0)\n        go to [back v] layer\n        show\n    else\n        if <(level) = [6]> then\n            show\n            repeat (300)\n                create clone of (_myself_ v)\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nturn right (15) degrees\nclear graphic effects\nswitch costume to (cat flying-a v)\ngo [backward v] (5) layers\ngo to (random position v)\nglide (0.1) secs to (random position v)\nwait (0.01) seconds\ndelete this clone\n\nwhen I receive [next level v]\nif <(level) = [7]> then\n    stop [other scripts in sprite v]\n    hide\nend\n\n@Text\n\nwhen I receive [next level v]\nnext costume\n\nset [ghost v] effect to (0)\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\n@Button\n\nwhen flag clicked\nhide\n\nwhen I receive [on  \(⊙o⊙\)？ v]\nswitch costume to (on v)\n\nwhen I receive [next level v]\nif <(level) = [4]> then\n    switch costume to (off v)\n    show\n    go to [back v] layer\n    go to x: (190) y: (-37)\nelse\n    hide\nend\n\nif <(level) = [8]> then\n    show\n    go to [back v] layer\n    go to x: (-206) y: (105)\n    switch costume to (off v)\nelse\nend\n\nif <(level) = [9]> then\n    show\n    go to [back v] layer\n    go to x: (-61) y: (77)\n    switch costume to (off v)\nelse\n    if <(level) = [11]> then\n        show\n        go to [back v] layer\n        go to x: (126) y: (126)\n        switch costume to (off v)\n    else\n    end\nend\n\n@Door\n\nwhen I receive [on  \(⊙o⊙\)？ v]\nshow\nglide (1.5) secs to x: (-230) y: (63)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <(level) = [4]> then\n    go to x: (-103) y: (63)\n    set size to (100) %\n    point in direction (0)\n    show\nelse\n    if <(level) = [8]> then\n        go to x: (220) y: (110)\n        point in direction (90)\n        set size to (100) %\n        point in direction (90)\n        show\n    else\n        hide\n    end\nend\n\n@Button2\n\nwhen I receive [next level v]\nif <(level) = [4]> then\n    if <touching (red v)?> then\n        show\n        stop [this script v]\n    end\nelse\n    hide\nend\n\nwhen I receive [next level v]\nif <(level) = [4]> then\n    go to (button v)\n    show\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    forever\n        if <touching (red v)?> then\n            broadcast (On  \(⊙o⊙\)？ v)\n            stop [this script v]\n        end\n    end\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\n@Tranpoline\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        show\n        go to [back v] layer\n        go to x: (-90) y: (-110)\n    else\n        if <(level) = [4]> then\n            show\n            go to [back v] layer\n        else\n            if <(level) = [7]> then\n                show\n                go to x: (-126) y: (-79)\n                go to [back v] layer\n            else\n                if <(level) = [8]> then\n                    show\n                    go to x: (15) y: (-42)\n                    go to [back v] layer\n                else\n                    if <(level) = [15]> then\n                        go to x: (-131) y: (-90)\n                        go to [back v] layer\n                        show\n                    else\n                        hide\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    if <touching (red v)?> then\n        repeat (6)\n            next costume\n        end\n        repeat (6)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\n@Enemy\n\nwhen I receive [next level v]\nforever\n    if <(level) = [4]> then\n        show\n        go to x: (-150) y: (-94)\n        repeat until <(level) = [6]>\n            glide (2) secs to x: (-1) y: (-94)\n            wait (0.5) seconds\n            glide (2) secs to x: (-150) y: (-94)\n            wait (0.5) seconds\n        end\n    else\n        if <(level) = [8]> then\n            show\n            go to x: (-83) y: (116)\n            repeat until <(level) = [9]>\n                glide (0.8) secs to x: (-210) y: (115)\n                wait (0.5) seconds\n                glide (0.8) secs to x: (-83) y: (116)\n                wait (0.5) seconds\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nturn left (15) degrees\n\n@Enemy2\n\nwhen I receive [next level v]\nforever\n    if <(level) = [5]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (0) y: (0)\n        go [forward v] (1) layers\n        change [color v] effect by (2)\n        turn left (15) degrees\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\ngo [forward v] (1) layers\nchange [color v] effect by (2)\nturn left (15) degrees\n\nwhen I start as a clone\nturn right (15) degrees\nclear graphic effects\nswitch costume to (cat flying-a v)\ngo [forward v] (1) layers\ngo to (random position v)\nglide (0.1) secs to (random position v)\nwait (0.01) seconds\ndelete this clone\n\n@Tranpoline2\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n        go to x: (0) y: (-79)\n        go to [back v] layer\n    else\n        if <(level) = [15]> then\n            show\n            go to x: (114) y: (-85)\n            go to [back v] layer\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    if <touching (red v)?> then\n        repeat (6)\n            next costume\n        end\n        repeat (6)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\n@Tranpoline3\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n        go to x: (115) y: (-79)\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    if <touching (red v)?> then\n        repeat (6)\n            next costume\n        end\n        repeat (6)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\n@InVisIbLe2\n\nwhen I receive [next level v]\nif <(level) = [10]> then\n    go to x: (0) y: (0)\n    switch costume to (level7 v)\n    clear graphic effects\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\n\n@SPIKEY2\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        turn right (2) degrees\n        switch costume to (costume11 v)\n        go to x: (-2) y: (-73)\n        show\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\nshow\n\n@SPIKEY3\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        switch costume to (costume11 v)\n        turn right (2) degrees\n        go to x: (169) y: (-64)\n        show\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\n
Add this project to this studio please. :)\nhttps://scratch.mit.edu/studios/28715018/\nTurbowarp: https://turbowarp.org/615294016\n\nＳＰＡＭ    ＴＨＥ    ＧＲＥＥＮ    ＦＬＡＧ！！！\nI need this to be on trending because I do it a long time and sorry for the late posting.\n                                \n Parts          \nPart 1: https://scratch.mit.edu/projects/588685230/\nPart 2: https://scratch.mit.edu/projects/594311391/\nPart 3: https://scratch.mit.edu/projects/604491171/\nPart 4: https://scratch.mit.edu/projects/609640532/\nPart 6: https://scratch.mit.edu/projects/619802021/\nPart 7: https://scratch.mit.edu/projects/619763005/\nPart 8: https://scratch.mit.edu/projects/621854444/\n\n                             ~ᴅᴀʀᴋ ɴɪɢʜᴛ 5~\nWelcome to ᴅᴀʀᴋ ɴɪɢʜᴛ 5! \nPlease love and star and follow me to get my newest project!  @hern1 \n                               ~How to play~\nSpam the Green Flag!!! :D\nUse WAD , arrow keys or drag to move.\nAvoid red spikes, saw, lava and enemy!\nJust rest your eyes when you finish the game.\n\nＣＲＥＤＩＴＳ\nThanks to @Capt_Boanerges for the background music.\nThanks to @Tao196 for fixing some glitch.\n\n\n\n\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#All #Games #Trending #All #Games #Trending\n#games #all #fun #platformer #spikes #saw #lava #like #fav #art #follow #hern1 #enjoy #lol #good #enemy #ground #hope #you #enjoy #thumbnail #music\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nLove and star and follow me if you see this. :DDDD