☁️Darkside a multiplayer platformer #multiplayer #platformer #frolicking_cat #trending #top #loved -
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [flag v]\nswitch backdrop to (backdrop2 v)\nforever\n    play sound [Waterflame - Jumper.mp3 v] until done\nend\n\n@Intro:Camera\n\nwhen flag clicked\nset [i_cam y v] to [0]\nchange [☁ flags clicked \(since 11 2/jan\) v] by (1)\nhide\n\ndefine None\npen up\ngo to x: (x) y: (y)\npen down\ngo to x: (x2) y: (y2)\n\nwhen I receive [message1 v]\n\nset [i_cam y v] to [10]\n\nwhen I receive [flag v]\nstop [other scripts in sprite v]\n\nif <key (right arrow v) pressed?> then\n    change [i_cam x v] by (6)\nend\nif <key (left arrow v) pressed?> then\n    change [i_cam x v] by (-6)\nend\nchange [i_cam yv v] by ((() - (i_cam y)) / (2))\nchange [i_cam yv v] by ((() - (i_cam yv)) / (3))\nchange [i_cam y v] by (i_cam yv)\n\n@Intro:Profile\n\nwhen flag clicked\nstart sound [pop v]\nset [i_cam yv v] to [0]\nset [i_up? v] to [0]\nset [i_symbol x v] to [0]\nset [i_symbol y v] to [500]\nset [i_symbol yv v] to [0]\nset size to (50) %\nbroadcast (message1 v)\n\nset [i_up? v] to [0]\n\nwhen I receive [message1 v]\ngo to x: (round ((i_symbol x) - (i_cam x))) y: (round ((i_symbol y) - (i_cam y)))\nif <<(x position) = (round ((i_symbol x) - (i_cam x)))> and <(y position) = (round ((i_symbol y) - (i_cam y)))>> then\n    show\nelse\n    hide\nend\nchange [i_symbol y v] by (i_symbol yv)\nif <<(i_up?) < [1]> and <(i_symbol y) < [1]>> then\n    start sound [sound2 v]\n    clones\n    set [i_symbol y v] to [1]\n    change [i_cam yv v] by (() - ((i_symbol yv) / (3)))\n    set [i_symbol yv v] to []\n    change [i_up? v] by (1)\nelse\n    if <(i_symbol y) < [1]> then\n        set [i_symbol y v] to [1]\n    end\nend\nchange [i_symbol yv v] by (-5)\n\nset [i_cam y v] to []\n\nset [i_cam y v] to (() - (i_symbol yv))\n\nset [i_symbol yv v] to (() - ((i_symbol yv) / (3)))\n\nwhen I receive [flag v]\nerase all\nhide\n\ndefine clones\nrepeat (10)\n    create clone of (intro:particles v)\nend\n\n@Intro:Pen\n\ndefine None\npen up\ngo to x: ((x) - (i_cam x)) y: ((y) - (i_cam y))\npen down\ngo to x: ((x2) - (i_cam x)) y: ((y2) - (i_cam y))\n\ndefine None\nset pen color to (#7f7f7f)\nset pen size to (20)\nset [i_dis v] to [-240]\nline (-240) (0) to (240) (0)\nrepeat (49)\n    line (i_dis) (0) to (i_dis) (-180)\n    change [i_dis v] by (10)\nend\nset pen color to (#2f3a27)\nset pen size to (1)\nset [i_dis v] to [1.5]\nline ((100) / ((y) - (0))) ((-90) / ((y) - (0))) to ((-100) / ((y) - (0))) ((-90) / ((y) - (0)))\nrepeat (49)\n    line (((100) / (i_dis)) / ((y) - (0))) (((-90) / (i_dis)) / ((y) - (0))) to (((-100) / (i_dis)) / ((y) - (0))) (((-90) / (i_dis)) / ((y) - (0)))\n    set pen size to (2)\n    change [i_dis v] by (-0.01)\nend\nset pen color to (#ffffff)\nset pen size to (40)\nline (((round ((i_symbol x) - (0))) + (0)) - (80)) ((round ((i_symbol y) - (0))) - (-71)) to (((round ((i_symbol x) - (0))) + (0)) - (-80)) ((round ((i_symbol y) - (0))) - (-71))\nline (((round ((i_symbol x) - (0))) + (0)) - (80)) ((round ((i_symbol y) - (0))) - (71)) to (((round ((i_symbol x) - (0))) + (0)) - (-80)) ((round ((i_symbol y) - (0))) - (71))\nline (((round ((i_symbol x) - (0))) + (0)) - (80)) ((round ((i_symbol y) - (0))) - (-71)) to (((round ((i_symbol x) - (0))) + (0)) - (80)) ((round ((i_symbol y) - (0))) - (71))\nline (((round ((i_symbol x) - (0))) + (0)) - (-80)) ((round ((i_symbol y) - (0))) - (71)) to (((round ((i_symbol x) - (0))) + (0)) - (-80)) ((round ((i_symbol y) - (0))) - (-71))\nline (((round ((i_symbol x) - (0))) + (0)) - (60)) ((round ((i_symbol y) - (0))) - (-71)) to (((round ((i_symbol x) - (0))) + (0)) - (60)) ((round ((i_symbol y) - (0))) - (71))\nline (((round ((i_symbol x) - (0))) + (0)) - (-60)) ((round ((i_symbol y) - (0))) - (71)) to (((round ((i_symbol x) - (0))) + (0)) - (-60)) ((round ((i_symbol y) - (0))) - (-71))\nline (((round ((i_symbol x) - (0))) + (0)) - (40)) ((round ((i_symbol y) - (0))) - (-71)) to (((round ((i_symbol x) - (0))) + (0)) - (40)) ((round ((i_symbol y) - (0))) - (71))\nline (((round ((i_symbol x) - (0))) + (0)) - (-40)) ((round ((i_symbol y) - (0))) - (71)) to (((round ((i_symbol x) - (0))) + (0)) - (-40)) ((round ((i_symbol y) - (0))) - (-71))\nline (((round ((i_symbol x) - (0))) + (0)) - (20)) ((round ((i_symbol y) - (0))) - (-71)) to (((round ((i_symbol x) - (0))) + (0)) - (20)) ((round ((i_symbol y) - (0))) - (71))\nline (((round ((i_symbol x) - (0))) + (0)) - (-20)) ((round ((i_symbol y) - (0))) - (71)) to (((round ((i_symbol x) - (0))) + (0)) - (-20)) ((round ((i_symbol y) - (0))) - (-71))\n\nerase all\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nchange [i_cam yv v] by ((() - (i_cam y)) / (2))\nchange [i_cam yv v] by ((() - (i_cam yv)) / (3))\nchange [i_cam y v] by (i_cam yv)\nerase all\nrender shadow ((1) + ((i_symbol y) / (40)))\nif <(timer) < [2.5]> then\n    broadcast (message1 v)\nelse\n    show\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    broadcast (flag v)\n    repeat (3)\n        change [ghost v] effect by (25)\n    end\n    hide\nend\n\n@Intro:Particles\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [brightness v] effect to (pick random (10) to (30))\nset [i_particle x v] to ((90) * (((2) * (pick random (1) to (0))) - (1)))\nset [i_partical y v] to [-90]\nset [i_particle yv v] to (pick random (10.1) to (20))\nset [i_partical xv v] to (((pick random (0.1) to (0.7)) * (i_Particle x)) / (9))\nshow\nforever\n    change [i_particle yv v] by (-3)\n    change [i_particle x v] by (i_Partical xv)\n    change [i_partical y v] by (i_Particle yv)\n    if <(i_Partical y) < [-86]> then\n        set [i_partical y v] to [-86]\n        set [i_particle yv v] to [0]\n        set [i_partical xv v] to [0]\n    end\n    go to x: ((i_Particle x) - (i_cam x)) y: ((i_Partical y) - (i_cam y))\nend\n\nwhen I receive [flag v]\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\n\n@Ball\n\nwhen flag clicked\ngo to x: (-200) y: (0)\nhide\n\nwhen I receive [flag v]\nshow\nset [ball yv v] to [0]\nset [ball xv v] to [0]\nset [level v] to [1]\nforever\nend\n\ngo to x: (-144) y: (-24)\n\nset x to (10)\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\n\nwhen I receive [tick v]\nchange x by (ball xv)\nchange y by (ball yv)\nif <(y position) < (((x position) / (tan)) - (105))> then\n    set y to (((x position) / (tan)) - (105))\n    set [ball yv v] to (() - ((ball yv) * (0.1)))\n    if <key (space v) pressed?> then\n        set [ball yv v] to [10]\n    end\nend\nif <[175] < (y position)> then\n    set y to (175)\n    set [ball yv v] to [0]\nend\nif <touching color (#e5ccff)?> then\n    set [ball xv v] to ((3) * (ball xv))\n    set [ball yv v] to ((3) * (ball yv))\nend\nif <touching color (#ff0000)?> then\n    set x to (-200)\n    set y to (-100)\n    set [ball xv v] to [0]\n    set [ball yv v] to [0]\n    broadcast (lvl restart v)\n    if <(y position) < (((x position) / (tan)) - (105))> then\n        set y to (((x position) / (tan)) - (105))\n        set [ball yv v] to (() - ((ball yv) * (0.1)))\n    end\nend\nif <[-230] > (x position)> then\n    set x to (-230)\n    set [ball xv v] to (() - (ball xv))\n    if <(y position) < (((x position) / (tan)) - (105))> then\n        set y to (((x position) / (tan)) - (105))\n        set [ball yv v] to (() - ((ball yv) * (0.1)))\n    end\nend\nif <[230] < (x position)> then\n    if <(level) = [13]> then\n        set x to (230)\n        set [ball xv v] to (() - (ball xv))\n        if <(y position) < (((x position) / (tan)) - (105))> then\n            set y to (((x position) / (tan)) - (105))\n            set [ball yv v] to (() - ((ball yv) * (0.1)))\n        end\n    else\n        set x to (-230)\n        set [ball xv v] to [0]\n        change [level v] by (1)\n        broadcast (next level v)\n        if <(y position) < (((x position) / (tan)) - (105))> then\n            set y to (((x position) / (tan)) - (105))\n            set [ball yv v] to (() - ((ball yv) * (0.1)))\n        end\n    end\nend\nchange [ball xv v] by ((() - (ball xv)) / (5))\nchange [ball xv v] by ((mouse x) / (120))\nchange [ball yv v] by (-1)\n\nset x to (-230)\nset [ball xv v] to [0]\nchange [level v] by (1)\nbroadcast (next level v)\nif <(y position) < (((x position) / (tan)) - (105))> then\n    set y to (((x position) / (tan)) - (105))\n    set [ball yv v] to (() - ((ball yv) * (0.1)))\nend\n\n@lvls\n\nwhen flag clicked\nhide\nset size to (200) %\n\nwhen I receive [flag v]\nshow\nforever\n    switch costume to (level)\n    point in direction ((90) + ((mouse x) / (20)))\n    set [tan v] to ([tan v] of (direction) )\n    broadcast (tick v)\nend\n\ngo to [front v] layer\n\n@Bad Ball\n\nwhen I receive [next level v]\nif <(level) = [4]> then\n    create clone of (_myself_ v)\nend\nif <(level) = [7]> then\n    create clone of (_myself_ v)\nend\nif <(level) = [11]> then\n    create clone of (_myself_ v)\nend\nif <(level) = [13]> then\n    change [☁ lvls completed v] by (1)\nend\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nset [my xv v] to [0]\nset [my yv v] to [0]\nset size to (15) %\nshow\nset x to (-260)\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [tick v]\nif <(costume [number v]) = [1]> then\n    set size to (15) %\n    change x by (my xv)\n    change y by (my yv)\n    change [my yv v] by (-1)\n    if <(y position) < (((x position) / (tan)) - (105))> then\n        set y to (((x position) / (tan)) - (105))\n        set [my yv v] to (() - ((my yv) * (0.1)))\n    end\n    change [my xv v] by ((() - (my xv)) / (5))\n    change [my xv v] by ((mouse x) / (70))\n    if <[235] < (x position)> then\n        delete this clone\n    end\nend\n\nswitch costume to (costume1 v)\n\nshow\n\nset x to (-260)\nif <(level) = [4]> then\nend\n\nif <(level) = [4]> then\nend\n\nwhen I receive [lvl restart v]\nif <(level) = [4]> then\n    if <(costume [number v]) = [2]> then\n        set size to (15) %\n        create clone of (_myself_ v)\n        delete this clone\n    end\nend\nif <(level) = [7]> then\n    if <(costume [number v]) = [2]> then\n        set size to (15) %\n        create clone of (_myself_ v)\n        delete this clone\n    end\nend\nif <(level) = [11]> then\n    if <(costume [number v]) = [2]> then\n        set size to (15) %\n        create clone of (_myself_ v)\n        delete this clone\n    end\nend\n\nwhen I receive [next level v]\ndelete this clone\n\nwhen I receive [lvl restart v]\ndelete this clone\n\nif  then\nend\n\n@Flash\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nhide\n\nwhen I receive [next level v]\nrepeat (4)\n    change [ghost v] effect by (-25)\nend\nrepeat (4)\n    change [ghost v] effect by (25)\nend\n\nshow\n\nrepeat (4)\nend\n\nchange [ghost v] effect by (-10)\n\nset [ghost v] effect to (0)\n\n
Play through 10 levels of careful platforming, but be careful, because when you press a key, certain platforms will appear and disappear...\n\nPress R to restart.\n\nLevel Editor: https://scratch.mit.edu/projects/314549019/\n\nCoding 100% by me\nConcept by me\nMusic from Super Mario Galaxy 2