DARK Scrolling Platformer #games #scrolling platformer

Instructions: WAD or Arrow Keys- Move or Mobile Controls!\n\nAll levels are 100% possible. \nReport any bugs or glitches.\n\nMusic: Xenogenesis by TheFatRat\n\n================== Credits ====================\n@-Infitnite- for follow logo at the end.\n@noodlebot743 for intro\n@--Explosion-- for "Skip" and "Restart" buttons.\n@-GenZ- for all other coding, art, and idea.\n\n========== Wall of Ultimate Yeeters ===============\n@PegasusHT loved!\n@-LilWolfy- loved and favorited!\n@dn_scrtch loved and favorited!\n@-TheGreenNinja- loved!\n@-ABIC- loved and favorited!\n@hcps-kaurb loved!\n@sharkyshar loved!\n@StevenTheSquare loved!\n@04tmoody loved!\n@SaltyCreeper67 loved!\n@KillerByte loved!\n@-PixelParty- loved!\n@ScaIes loved!\n@Capt_Boanerges loved!\n@eunice0913 loved + favorited!\n@noodlebot743 loved!\n@_Electric_ loved!\n@--Explosion-- loved!\n@WaveTV loved + favorited!\n@IgniteSpark loved + favorited!\n#49 on trending!\n#6 on trending!\n@moonlark- loved!\nEyyyy #5 on trending now lol\n@-BoyMcBoy- loved woah.\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#TeamTrees shop.mrbeast.com #Follow #Me #Just #Do #It #Please #Love #Favorite #Remix #Top #Loved #Top #Remixed #Platformer #Game #Into #The #Dark #FOOT #Idk #What #I #Just #Said #Im #Dumb #Sometimes #Why #are #you #here #?\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\nProbably the best art I'll ever do...\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\n\n\n\n\n\n\n\n\n\n\n\n\nI'm a ninja  >:)

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [intro v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen I receive [deaths v]\nswitch backdrop to (backdrop4 v)\n\n@player\n\ndefine Platformer Physics (speed) (friction) (jump height)\nchange [y vel v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (speed)\n    switch costume to (costume1 v)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by ((speed) * (-1))\n    switch costume to (costume2 v)\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?> or <key (w v) pressed?>> then\n        if <(X vel) > [0]> then\n            set [x vel v] to [-12]\n        else\n            set [x vel v] to [12]\n        end\n        set [y vel v] to [12]\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 (jump height)\nend\nchange y by (1)\n\nwhen flag clicked\n\nwhen I receive [end v]\ngo to x: (-198) y: (-10)\n\nwhen I receive [intro v]\nshow\ngo to [front v] layer\nset [level v] to [1]\nset [deaths v] to [0]\nhide variable [deaths v]\nset [timer v] to [0]\nhide variable [timer v]\nset [x vel v] to [0]\nset [y vel v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-198) y: (-10)\npoint in direction (90)\nforever\n    Platformer Physics [1] [0.9] [14]\n    if <<<<touching (danger v)?> or <touching (lasers v)?>> or <touching (monster's v)?>> or <touching (imposter v)?>> then\n        spin off screen\n    end\n    if <touching (trampoline v)?> then\n        set [y vel v] to [20]\n    end\nend\n\nwhen I receive [intro v]\nforever\n    play sound [recording3 v] until done\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [hurt v]\nreset\n\nwhen I receive [intro v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (effect v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [intro v]\nforever\n    if <<not <key (up arrow v) pressed?>> and <<not <key (right arrow v) pressed?>> and <not <key (left arrow v) pressed?>>>> then\n        switch costume to (center v)\n    end\nend\n\ndefine spin off screen\nchange [deaths v] by (1)\nset [y vel v] to [10]\nrepeat until <(y position) < [-179]>\n    switch costume to (dead v)\n    go to [front v] layer\n    turn right (10) degrees\n    change y by (Y vel)\n    change [y vel v] by (-1)\nend\nhide\ngo to x: (-198) y: (-10)\nreset\n\ndefine reset\nswitch costume to (center v)\nclear graphic effects\nshow\ngo to x: (-198) y: (10)\npoint in direction (90)\nset [y vel v] to [0]\nset [x vel v] to [0]\n\nwhen flag clicked\nforever\n    if <(level) = [25]> then\n        show variable [deaths v]\n        show variable [timer v]\n        broadcast (deaths v)\n    end\nend\n\nwhen I receive [intro v]\nforever\n    repeat until <(level) = [25]>\n        change [timer v] by (1)\n        wait (1) seconds\n    end\nend\n\n@level\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (6)\nswitch costume to (costume1 v)\n\nwhen I receive [end v]\nnext costume\n\nwhen I receive [intro v]\nshow\n\n@end\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\nshow\ngo to x: (136) y: (-4)\nforever\n    if <touching (player v)?> then\n        broadcast (end v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [24]> then\n        hide\n    end\nend\n\nwhen I receive [defeat boss v]\nforever\n    show\nend\n\nwhen I receive [defeat boss v]\nshow\ngo to x: (136) y: (-4)\nforever\n    if <touching (player v)?> then\n        broadcast (end v)\n    end\nend\n\n@text\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [end v]\nnext costume\n\nwhen I receive [intro v]\nshow\n\n@thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Sprite1\n\nwhen flag clicked\nset [direction v] to [8]\nset size to (80) %\ngo to [front v] layer\nswitch costume to (capture2 v)\nshow\nchange [my variable v] by (10)\npoint in direction (90)\ngo to x: (400) y: (0)\nglide (0.25) secs to x: (0) y: (0)\nrepeat (85)\n    change [my variable v] by (10)\n    point in direction ((90) + (([sin v] of (my variable) ) * (10)))\nend\npoint in direction (90)\nrepeat (10)\n    change y by (10)\nend\nswitch costume to (capture3 v)\nwait (0.3) seconds\nhide\nwait (0.3) seconds\nshow\ngo to x: (0) y: (0)\nrepeat (120)\n    change [direction v] by (8)\n    point in direction ((([sin v] of ((direction) + (8)) ) * (20)) + (90))\n    set size to ((([sin v] of (((direction) + (8)) * (1.4)) ) * (60)) + (100)) %\nend\nwait (0.9) seconds\nglide (1) secs to x: (4000) y: (0)\nrepeat (4)\n    change [ghost v] effect by (60)\nend\nhide\nbroadcast (intro v)\npoint in direction (90)\n\nwhen flag clicked\nstart sound [my intro song v]\n\n@Sprite2\n\nwhen flag clicked\nrepeat (240)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to (random position v)\nshow\nset [brightness v] effect to (0)\npoint in direction (90)\ngo to [front v] layer\nswitch costume to (pick random (1) to (2))\nset [ghost v] effect to (pick random (20) to (50))\nset size to (pick random (40) to (80)) %\npoint in direction (pick random (-60) to (90))\nset [whirl v] effect to (pick random (-67) to (160))\nrepeat (240)\n    go to (random position v)\n    move (10) steps\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\n@right arrow\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\ngo to x: (-155) y: (-152)\nshow\nset size to (90) %\nhide\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (right v)\n    end\nend\n\n@danger\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (6)\nswitch costume to (costume1 v)\ngo to [back v] layer\nforever\n    if <(costume [number v]) = [2]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [3]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [4]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [10]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [11]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [13]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [15]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [16]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\n    if <(costume [number v]) = [18]> then\n        glide (0.45) secs to x: (-2) y: (3)\n        glide (0.45) secs to x: (-2) y: (6)\n    end\nend\n\nwhen I receive [end v]\nshow\ngo to [back v] layer\nnext costume\n\nwhen I receive [intro v]\nshow\n\n@lasers\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\ngo to x: (36) y: (5)\ngo to [back v] layer\nforever\n    if <(level) = [12]> then\n        wait (1) seconds\n        start sound [Laser1 v]\n        show\n        wait (1) seconds\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        hide\n    end\nend\n\n@nothing\n\nwhen I receive [end v]\nchange [level v] by (1)\n\n@Monster's\n\nwhen flag clicked\ngo to x: (182) y: (-90)\nhide\nswitch costume to (monsters v)\npoint in direction (90)\nforever\n    if <(level) = [7]> then\n        show\n        switch costume to (monsters v)\n        glide (3) secs to x: (-169) y: (-100)\n        switch costume to (monsters2 v)\n        glide (3) secs to x: (181) y: (-100)\n    end\n    if <(level) = [19]> then\n        show\n        switch costume to (monsters v)\n        glide (3) secs to x: (-169) y: (-100)\n        switch costume to (monsters2 v)\n        glide (3) secs to x: (181) y: (-100)\n    end\n    if <(level) = [21]> then\n        show\n        switch costume to (monsters3 v)\n        glide (2) secs to x: (-169) y: (-100)\n        switch costume to (monsters4 v)\n        glide (2) secs to x: (181) y: (-100)\n    end\n    if <(level) = [24]> then\n        set [ghost v] effect to (0)\n        go to x: (182) y: (-100)\n        switch costume to (boss v)\n        show\n        go to [front v] layer\n        repeat (10)\n            change y by (10)\n        end\n        ask [What's your name?] and wait\n        say [Cool name] for (2) seconds\n        say [hahahahhahahaha you will never escape!!] for (4) seconds\n        point in direction (90)\n        repeat (10)\n            glide (1) secs to (random position v)\n        end\n        repeat (8)\n            glide (3) secs to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n        end\n        wait (1) seconds\n        repeat (50)\n            change [ghost v] effect by (2)\n        end\n        hide\n        broadcast (defeat boss v)\n        wait (20) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [end v]\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n        hide\n    end\nend\n\ngo to x: (181) y: (-82)\n\nwhen flag clicked\nforever\n    if <(level) = [20]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [22]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [25]> then\n        hide\n    end\nend\n\n@Clouds\n\nwhen I receive [intro v]\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (70) to (80)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (200) y: (pick random (20) to (180))\n        repeat (50)\n            change x by (2)\n        end\n        if <touching (_edge_ v)?> then\n            hide\n        end\n        wait (pick random (1) to (5)) seconds\n    end\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (70) to (80)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (20) to (180))\n        repeat (110)\n            change x by (-4)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [intro v]\nforever\n    if <(level) = [11]> then\n        show\n        go to x: (-26) y: (-97)\n    end\n    if <(level) = [12]> then\n        hide\n    end\nend\n\n@sun\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [intro v]\ngo to [back v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (0.06) seconds\n    switch costume to (costume2 v)\n    wait (0.06) seconds\n    switch costume to (costume3 v)\n    wait (0.06) seconds\n    switch costume to (costume4 v)\n    wait (0.06) seconds\n    switch costume to (costume3 v)\n    wait (0.06) seconds\n    switch costume to (costume2 v)\n    wait (0.06) seconds\n    switch costume to (costume1 v)\n    wait (0.9) seconds\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        hide\n    end\nend\n\nwhen I receive [deaths v]\ngo to [front v] layer\nshow\n\n@volume button\n\nwhen flag clicked\nhide\nswitch costume to (on v)\ngo to x: (-210) y: (-155)\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    else\n        if <(costume [number v]) = [2]> then\n            set volume to (0) %\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (125) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [intro v]\nshow\nforever\n    play sound [TheFatRat - Prelude \(Jackpot EP Track 3\) v] until done\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    point in direction ((([sin v] of ((timer) * (1000)) ) * (4)) + (90))\nend\n\n