Into The Dark | A Mobile Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Player\n\nwhen flag clicked\nset [level v] to [1]\npoint in direction (90)\nswitch costume to (costume1 v)\nforever\n    change [y v] by (-0.5)\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <(x position) > [230]> then\n        go to x: (-204) y: (-135)\n        broadcast (message1 v)\n    end\n    if <(y position) < [-175]> then\n        go to x: (-204) y: (-135)\n    end\n    if <touching (kah-nee-fay2 v)?> then\n        go to x: (-210) y: (-135)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (costume1 v)\n        change [x v] by (0.75)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (costume2 v)\n        change [x v] by (-0.75)\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (-204) y: (-135)\n\nwhen flag clicked\nforever\n    clear graphic effects\nend\n\nwhen I receive [message1 v]\ngo to x: (-204) y: (-135)\nchange [level v] by (1)\n\nwhen I receive [message2 v]\ngo to x: (-204) y: (-135)\nset [x v] to [0]\nset [y v] to [0]\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\ngo [forward v] (99) layers\n\nwhen I receive [message1 v]\nnext costume\n\n@Kah-nee-fay2\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [back v] layer\n\nwhen I receive [message1 v]\nnext costume\n\n@TB\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Music\n\nwhen flag clicked\nstart sound [alan-walker-darkside-feat-aura-and-tomine-harket-youtubemp3free v]\nforever\n    if <key (m v) pressed?> then\n        clear sound effects\n        stop all sounds\n    end\n    if <key (u v) pressed?> then\n        start sound [alan-walker-darkside-feat-aura-and-tomine-harket-youtubemp3free v]\n    end\nend\n\n@Glow\n\nwhen flag clicked\nset size to (300) %\nshow\nforever\n    switch costume to (costume1 v)\n    go to (player v)\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    show\n    wait (3) seconds\n    hide\n    wait (3) seconds\nend\n\n@Text\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo to x: (0) y: (75)\n\nwhen I receive [message1 v]\nnext costume\n\n@Skip and Restart\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        broadcast (message1 v)\n        wait (1) seconds\n    end\n    if <key (r v) pressed?> then\n        broadcast (message2 v)\n        wait (1) seconds\n    end\nend\n\n
THE LIGHT IS SUPPOSED TO BLINK!\n\nWAD or Arrow Keys- Move or Mobile Controls!\nM- Mute U- Unmute\nR- Restart  S- Skip\n\nAll levels are 100% possible. \nReport any bugs or glitches.