ᴅᴀʀᴋ ɴɪɢʜᴛ || A platformer || #games #all #trending #music #art #animations #stories 

Instructions:                                     Parts          \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 5: https://scratch.mit.edu/projects/615294016/\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                               ~ᴅᴀʀᴋ ɴɪɢʜᴛ~\nWelcome to ᴅᴀʀᴋ ɴɪɢʜᴛ! This is my first platformer game. So please love and star and follow me to get my newest project!  \n                               ~ᴄᴏɴᴛʀᴏʟs~\nUse WAD , arrow keys or drag to move.\nAvoid spikes, lava and saws. :D\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-@-AmazingAJ- love and fav!!!\nWow thanks everyone! This project have 100+ love! Thanks!!! :D\n

@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)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level 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)?> 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)?> 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]> and <not <(level) = [11]>>> 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 (spikey v)?> or <touching (saw????ground v)?>> or <touching (lava 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\nforever\n    show variable [x v]\nend\n\n@SAW????ground\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        switch costume to (sharpy v)\n        go to [back v] layer\n        go to x: (50) y: (-110)\n        show\n        turn right (13) degrees\n    else\n        if <(level) = [6]> then\n            switch costume to (sharpy2 v)\n            go to [back v] layer\n            go to x: (126) y: (-72)\n            show\n            turn right (13) degrees\n        else\n            if <(level) = [9]> then\n                switch costume to (sharpy3 v)\n                go to [back v] layer\n                go to x: (22) y: (-90)\n                show\n                turn right (13) degrees\n            else\n                hide\n            end\n        end\n    end\nend\n\n@LAva\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n        go to [back v] layer\n        switch costume to (costume1 v)\n        go to x: (-115) y: (3)\n    else\n        if <(level) = [8]> then\n            show\n            go to [back v] layer\n            switch costume to (costume2 v)\n        else\n            hide\n        end\n    end\nend\n\n@invisible\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\n@SPIKEY\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        switch costume to (costume1 v)\n        show\n        go to [back v] layer\n    else\n        if <(level) = [6]> then\n            switch costume to (costume2 v)\n            show\n            go to [back v] layer\n        else\n            if <(level) = [8]> then\n                switch costume to (costume3 v)\n                show\n                go to [back v] layer\n            else\n                if <(level) = [10]> then\n                    switch costume to (costume4 v)\n                    show\n                    go to [back v] layer\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n@tips\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n@glow\n\nwhen flag clicked\nforever\n    go to (red v)\n    go to [back v] layer\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@thumbnail\n\nshow\ngo to [front v] layer\ngo to [front v] layer\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [A_Bit_Puzzled v] until done\nend\n\n