TimMcCool || a mobile friendly platformer

Instructions: This is for @TimMcCool\nfollow me for more games based on you!\n-coins\n-jumper\n-spikes\n-lava\nplease bring this game to the top. can we also get this featured?and please tell @TimMcCool to llok at this game. thx!\ncurrently having a collab with, @IAmTheJeffMan

@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [,] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\nwhen I receive [hide v]\nplay sound [Vicetone - United We Dance v] until done\nwait (1) seconds\nplay sound [thefatrat-anna-yvette-laura-brehm-chosen-MkyFOQcWg v] until done\n\nwhen [c v] key pressed\nhide variable [mouse v]\n\n@levels\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [600] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [500] y: [0]\n    Clone at x: [400] y: [0]\n    Clone at x: [500] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n        end\n    end\nend\n\nClone at x: [400] y: [0]\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nwhen I receive [s v]\nhide\n\n@you\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\nset size to (80) %\npoint in direction (90)\n\ncreate clone of (_myself_ v)\n\nwhen I receive [play game v]\nshow\nhide variable [mouse v]\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Game On\nset size to (60) %\npoint in direction (90)\nset [ghost v] effect to (0)\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nshow\n\ndefine Tick\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    Change Player x by [-8]\n    switch costume to (costume2 v)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    Change Player x by [8]\n    switch costume to (costume1 v)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [20]\n    end\nend\nchange [sy v] by (-2)\nChange Player y by (sy)\nPosition\nTest - Die\nchange [scroll x v] by (round (((x) - (SCROLL X)) / (5)))\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\nif <touching (spring v)?> then\n    if <(in air) < [4]> then\n        set [sy v] to [30]\n    end\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (levels v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (levels v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (levels v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <touching (levels v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - Die\nset [exit v] to []\nrepeat (4)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\n\nchange [ghost v] effect by (10)\n\nshow\n\nhide\n\ndefine Game - Win\nhide\nchange [level v] by (1)\n\nset [scroll y v] to [0]\n\nwait (0.009) seconds\n\nwhen I receive [hide v]\nbroadcast (Green Flag v)\nbroadcast (Play Game v)\n\nwhen flag clicked\nhide\n\ndefine Test - Die\nif <<<touching (danger2 v)?> or <touching (danger v)?>> or <touching (crusher v)?>> then\n    set [exit v] to [die]\nend\n\n@Sprite3\n\nwhen I receive [hide v]\nrepeat (20)\n    change size by (-10)\nend\nhide\n\nwhen flag clicked\nshow\nset size to (100) %\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [s v]\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (-456) y: (-78)\nhide\n\nwhen I receive [ra v]\nshow\nglide (0.5) secs to x: (34) y: (-78)\n\nwhen I receive [hide v]\nglide (0.5) secs to x: (478) y: (-78)\nhide\n\n@Sprite1\n\nwhen flag clicked\nset size to (10) %\n\nwhen flag clicked\nset volume to (100) %\nplay sound [OST-Xenogen2 v] until done\n\nwhen flag clicked\ngo to x: (-1324) y: (-17)\nhide\n\nwhen flag clicked\nwait (0.5) seconds\nshow\nbroadcast (stopintro v)\nglide (0.5) secs to x: (-1) y: (-17)\nrepeat (5)\n    change size by (10)\nend\nbroadcast (ra v)\nwait (2) seconds\nrepeat (15)\n    change size by (-20)\nend\nbroadcast (hide v)\nhide\n\nwhen I receive [stopintro v]\ngo to x: (0) y: (0)\npoint in direction (90)\nset [sine v] to [0]\nrepeat (7252)\n    change [sine v] by (7.5)\n    point in direction ((([sin v] of (sine) ) * (40)) + (90))\n    set size to ((([sin v] of ((sine) * (2.1220102)) ) * (3)) + (size)) %\nend\n\nwhen I receive [hide v]\nrepeat (50)\n    change volume by (-2)\nend\n\nwhen flag clicked\nwait (0.5) seconds\nshow\nbroadcast (stopintro v)\nglide (0.5) secs to x: (-1) y: (-17)\nrepeat (5)\n    change size by (10)\nend\nbroadcast (ra v)\nwait (2) seconds\nrepeat (15)\n    change size by (-20)\nend\nbroadcast (hide v)\nhide\n\n@Danger2\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (fantasia2 v)\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 5 v)\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at X: (x) Y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\n@Spring\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (you v)?> then\n    start sound [Low Boing v]\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (fantasia2 v)\n    Clone at X: [900] Y: [0]\n    Clone at X: [5345] Y: [33]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 5 v)\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at X: (x) Y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\n@Danger\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    set [y v] to ((([sin v] of (((timer) + ((#) / (100))) * (100)) ) * (30)) - (20))\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: [0]\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\n    Clone at X: [500] Y: []\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 5 v)\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at X: (x) Y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [tick v]\ngo to [front v] layer\n\nwhen I receive [s v]\nhide\n\n@coins\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (you v)?> then\n    start sound [Coin v]\n    change [collected v] by (1)\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nswitch costume to (ice shard v)\nset [collected v] to [0]\nset [collected max v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [430] y: [70]\n    Clone at x: [1130] y: [115]\n    Clone at x: [1651] y: [113]\n    Clone at x: [273] y: [65]\n    Clone at x: [915] y: [55]\n    Clone at x: [1632] y: [-70]\n    Clone at x: [430] y: [70]\n    Clone at x: [1130] y: [115]\n    Clone at x: [1651] y: [113]\n    Clone at x: [273] y: [65]\n    Clone at x: [915] y: [55]\n    Clone at x: [1632] y: [-70]\nelse\n    if <(LEVEL) = [2]> then\n    end\nend\nset [x v] to [-999999999999999]\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\nchange [collected max v] by (6)\n\nClone at x: [1100] y: [110]\n\nwhen I start as a clone\nif <touching (you v)?> then\n    change [collected v] by (1)\n    delete this clone\nend\n\nClone at x: [715] y: [40]\nClone at x: [1100] y: [110]\n\nswitch costume to (ice shard v)\n\nswitch costume to (ice shard v)\n\ndelete this clone\n\nwhen I receive [elsa v]\nstop [other scripts in sprite v]\n\nwhen I receive [elsa v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [elsa v]\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\nClone at x: [1130] y: [115]\n\n@Check Point\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        if <(x) = [2000]> then\n            set [startx v] to [2000]\n            set [starty v] to [0]\n        end\n        if <(x) = [5000]> then\n            set [startx v] to [5000]\n            set [starty v] to [0]\n        end\n        if <(x) = [7000]> then\n            set [startx v] to [7000]\n            set [starty v] to [0]\n        end\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    next costume\n    wait (.1) seconds\nend\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at X: [8056] Y: [-53]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at X: (x) Y: (y)\nchange [x v] by (x)\nchange [y v] by (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\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