Lights Off, a platformer.
@Stage\n\nwhen flag clicked\nset [??? v] to [0]\n\nwhen [timer v] > ((timer) + (0.01))\nset [ghost v] effect to (100)\nbroadcast (stop button clicked v)\n\nwhen flag clicked\nswitch backdrop to ( v)\nset [level v] to [1]\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen I receive [win v]\nswitch backdrop to (end3 v)\n\nwhen I receive [start v]\nswitch backdrop to (1 v)\n\nwhen flag clicked\nset [vol option v] to [0]\nset [volume v] to [100]\nhide variable [volume v]\nforever\n    set volume to (volume) %\n    if <key (o v) pressed?> then\n        if <(vol option) = [0]> then\n            show variable [volume v]\n            show variable [speed v]\n            set [vol option v] to [1]\n            wait until <not <key (o v) pressed?>>\n        else\n            hide variable [volume v]\n            hide variable [speed v]\n            set [vol option v] to [0]\n            wait until <not <key (o v) pressed?>>\n        end\n    end\nend\n\nswitch backdrop to (13 v)\n\nwhen flag clicked\nforever\n    set [timer v] to (timer)\nend\n\nwhen I receive [start project v]\nforever\n    play sound [Beautiful Day v] until done\nend\n\n@player\n\nwhen flag clicked\n\ndefine Move - In steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#ffffff)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#ffffff)?> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\nwhen I receive [next level v]\nset [ghost v] effect to (100)\ngo to x: (-215) y: (-45)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\nwait (3) seconds\nset [ghost v] effect to (100)\nstop [all v]\n\nwhen I receive [start v]\nshow\nwait (1) seconds\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(falling) < [3]> then\n            set [speed y v] to [10]\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [speed x v] by ((speed) - ((speed) * (2)))\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [speed x v] by (speed)\n    end\n    if <touching (door v)?> then\n        broadcast (next level v)\n        change [level v] by (1)\n    end\n    if <<touching color (#ffefef)?> or <(y position) = [-180]>> then\n        set [ghost v] effect to (100)\n        go to x: (-215) y: (-45)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <touching (light switch v)?> then\n        switch costume to (light on v)\n        broadcast (win v)\n    end\n    if <touching color (#d6ddff)?> then\n        set [speed y v] to [20]\n    end\n    set [speed x v] to ((speed x) * (0.8))\n    change [speed y v] by (GRAVITY)\n    Move - In steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\nend\n\nwhen I receive [start project v]\nswitch costume to (light off v)\nset [gravity v] to [-1]\nset [speed y v] to [0]\nset [speed v] to [1]\ngo to x: (-215) y: (-45)\nhide\n\nwhen I receive [stop button clicked v]\nhide\n\n@door\n\nwhen I receive [start project v]\nshow\nforever\n    go to x: (238) y: (-45)\n    if <(backdrop [name v]) = [end2]> then\n        hide\n    end\nend\n\n@level counter\n\ndefine Clones\ngo to x: (-225) y: (162)\nset [clone v] to [1]\nrepeat (10)\n    create clone of (_myself_ v)\n    change [clone v] by (1)\n    change x by (15)\nend\n\nwhen flag clicked\nClones\n\nwhen I start as a clone\nforever\n    switch costume to (letter (clone) of (Level))\nend\n\n@Thumbnail\n\nwhen I receive [stop button clicked v]\nset [ghost v] effect to (0)\nshow\n\nwhen flag clicked\nhide\n\n@Light switch\n\nwhen I receive [stop button clicked v]\nhide\n\nwhen I receive [start project v]\nhide\nswitch costume to (light off v)\nforever\n    if <(backdrop [name v]) = [end2]> then\n        show\n    end\n    if <(backdrop [name v]) = [end3]> then\n        switch costume to (light on v)\n    end\nend\n\n@notification\n\nwhen I receive [win v]\nshow\nrepeat (40)\n    change y by (1)\nend\nwait (0.5) seconds\nrepeat (40)\n    change y by (-1)\nend\nhide\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-184)\n\nwhen I receive [stop button clicked v]\nhide\n\n@READ ME\n\nwhen flag clicked\nset [ghost v] effect to (50)\nswitch costume to (trail v)\nforever\n    set size to (100) %\n    hide\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\nchange size by (-10)\nchange [ghost v] effect by (5)\nwait (0.01) seconds\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@READ ME2\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    wait (pick random (30) to (90)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nif <(Costume) > [0]> then\n\n@Menu title\n\nwhen I receive [start v]\nfade out\n\nwhen I receive [start project v]\nset [ghost v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set size to (100) %\n    end\nend\n\nwhen I receive [fade in v]\nfade in\n\nwhen I receive [fade out v]\nfade out\n\ndefine fade in\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\ndefine fade out\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [stop button clicked v]\nset [ghost v] effect to (100)\n\n@Menu start button\n\nwhen this sprite clicked\nbroadcast (fade out v)\nbroadcast (start v)\n\nwhen I receive [start project v]\nset [ghost v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set size to (100) %\n    end\nend\n\ndefine fade out\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\ndefine fade in\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [fade out v]\nfade out\n\nwhen I receive [fade in v]\nfade in\n\nwhen I receive [stop button clicked v]\nset [ghost v] effect to (100)\n\n@Intro\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nwait (2) seconds\nrepeat (17)\n    next costume\n    wait (0.05) seconds\nend\nwait (0.5) seconds\nrepeat (8)\n    next costume\n    wait (0.05) seconds\nend\nwait (2.5) seconds\nrepeat until <(costume [number v]) = [104]>\n    next costume\nend\nwait (1.5) seconds\nrepeat until <(costume [number v]) = [111]>\n    next costume\nend\nwait (1.5) seconds\nrepeat until <(costume [number v]) = [149]>\n    next costume\nend\nwait (1) seconds\nbroadcast (Start Project v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go to [front v] layer\n    go [forward v] (100) layers\nend\n\nwhen I receive [stop button clicked v]\nhide\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\nhide\nbroadcast (Start Project v)\nstop [this script v]\n\n
click to skip intro\n\nFind that light switch!\n\nArrow keys to move. \n13 Levels\n\nPress "o" for volume options.\n\nThis game probably has bugs. If you find one, tell me in the comments.\n\nScroll ALL THE WAY down for a cheat code\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\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\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\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\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\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\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\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\nif you are reading this type "wufhbakasfljahelfkjhasdjnfalkhlawehmfxlukahflkashmflkahlxhauhmlakjfhlakweuhflka" in the comments\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#platformer #Technology #game #games #Light #Lights #Dark #CalciumTape #Calcium #Tape #Ifyouarereadingthisthenlikeandfavorite\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ntype "↑↑↓↓←←→b a" in game to teleport to end