Night-A Mobile Scrolling Platformer #Games

Instructions: If your going down the brown stairway WRONG WAY!\nWelcome to Night, my first scrolling platformer. Use wasd, arrow keys, or mobile controls to move. You can crouch. Though no obstacles, this is a very challenging game. Yes it is possible on mobile, I tested it out. Though on mobile it is much harder. This doubles as an easy to use scrolling platformer engine. This has comments in the code for fellow remixers.\nFamous loves/faves\n@Capt_boanerges \n@TimMcCool\n@Levi_Minecraft\n@Lukas1410\n@LukeManiaStudios \n@CapAnimation\n@YellowTrees\n@I8D\n@JS_Coder\n@zilbs\n@uwu_ghost1 \n@cheekyscuola\n@13nm\n@awesomeal82\n@Krishtheking123\n@-_-_-Becca_Arts-_-_-\n@Squirmyfortherun\n@iamapug68\n@MJM3\n@PaddlerGames\n@Geckos121\n@Azzz09990\n@timo1os\n@StevenTheSquare\nlol SO MANY :D\nMarch 19th: released, lol this is my most loved and starred project already\nJust jump on the text in the impossible part\nIt's not that hard kids.

@Stage\n\nwhen flag clicked\nswitch backdrop to (white v)\n\nwhen I receive [starty v]\nnext backdrop\nforever\n    play sound [Lucid Dreams Piano v] until done\nend\n\n@Ground3\n\nwhen I receive [bad v]\nset [brightness v] effect to (100)\nwait (0.1) seconds\nset [brightness v] effect to (0)\n\nwhen I receive [bad v]\ngo to x: (1278) y: (511)\n\nwhen flag clicked\nhide\nforever\n    if <(y position) > [670]> then\n        broadcast (bad v)\n    end\nend\n\nwhen I receive [bad v]\ngo to x: (1362) y: (511)\n\nwhen I receive [starty v]\nset [xv v] to [0]\nset [yv v] to [0]\nswitch costume to (costume2 v)\nset size to (600) %\nswitch costume to (the ground. v)\ngo to x: (1362) y: (510)\nshow\nbroadcast (levelStartSwitch v)\nforever\n    set [ghost v] effect to (0)\n    if <<<mouse down?> and <(mouse x) > [0]>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        if <not <<<mouse down?> and <(mouse x) < [0]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n            set [xv v] to [8]\n            change x by ((-1) * (XV))\n        end\n    end\n    if <<<mouse down?> and <(mouse x) < [0]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        set [xv v] to [-8]\n        change x by ((-1) * (XV))\n    end\n    if <not <<<<mouse down?> and <(mouse x) > [0]>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> or <<<mouse down?> and <(mouse x) < [0]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>>> then\n        set [xv v] to [0]\n    end\n    if <touching (player v)?> then\n        change y by (-1)\n        if <touching (player v)?> then\n            change y by (-1)\n            if <touching (player v)?> then\n                change y by (-1)\n                if <touching (player v)?> then\n                    change y by (-1)\n                    if <touching (player v)?> then\n                        change y by (-1)\n                        if <touching (player v)?> then\n                            change x by (XV)\n                            set [xv v] to [0]\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (1)\n    change y by (YV)\n    change [inair v] by (1)\n    if <touching (player v)?> then\n        set [inair v] to [0]\n        change y by ((YV) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (1)\n    if <<touching (player v)?> and <<key (up arrow v) pressed?> or <<<mouse down?> and <((mouse y) - (28)) > [50]>> or <key (w v) pressed?>>>> then\n        set [yv v] to [-20]\n    end\n    change y by (-1)\nend\n\nwhen flag clicked\nbroadcast (STARTY v)\n\n@Player\n\nwhen flag clicked\nhide\n\ndefine Typewriter Talk (speak this)\nset [talk v] to []\nset [count v] to [1]\nrepeat (length of (speak this))\n    set [talk v] to (join (talk) (letter (count) of (speak this)))\n    say (talk)\n    wait (0.01) seconds\n    change [count v] by (1)\nend\nwait (2) seconds\nsay []\n\nwhen I receive [starty v]\nset [ghost v] effect to (0)\nset [brightness v] effect to (0)\nset size to (100) %\npoint in direction (90)\nset [gravity v] to [0]\nswitch costume to (player v)\nset [velocity v] to [0]\nforever\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <<mouse down?> and <(mouse x) > [0]>>>>> then\n        point in direction (90)\n    end\n    if <touching color (#66ff77)?> then\n        set [gravity v] to [0]\n        if <<key (up arrow v) pressed?> or <<((mouse y) - (y position)) > [50]> or <key (w v) pressed?>>> then\n            change [gravity v] by (-13)\n        end\n    end\n    if <<key (down arrow v) pressed?> or <<<mouse down?> and <((mouse y) - (y position)) < [50]>> or <key (s v) pressed?>>> then\n        switch costume to (player2 v)\n    else\n        switch costume to (player v)\n    end\nend\n\nwhen I receive [starty v]\nshow\nTypewriter Talk [Hello and Welcome to My First Scrolling Platformer, Night]\nwait (1) seconds\nTypewriter Talk [Use WASD, Arrow Keys, or  Mobile Controls to move.]\nwait (1) seconds\nTypewriter Talk [You can crouch....]\n\nwhen I receive [starty v]\nif <touching (player2 v)?> then\n    broadcast (bad v)\nend\n\n@ThumbnailSprite1\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Rain\n\nwhen flag clicked\nhide\n\nwhen I receive [starty v]\nshow\nforever\n    go to [back v] layer\n    wait (0.01) seconds\n    next costume\nend\n\n@Clouds\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to x: (400) y: (pick random (60) to (160))\nswitch costume to (pick random (1) to (4))\nset size to (80) %\nrepeat until <(x position) < [-200]>\n    change x by (pick random (-1) to (-4))\nend\ndelete this clone\n\nwhen I receive [starty v]\nhide\ngo to [back v] layer\ngo [forward v] (3) layers\nwait (0.01) seconds\nforever\n    wait (1.5) seconds\n    create clone of (_myself_ v)\nend\n\n