lava jump (platformer) Mobile Ready!

Instructions: arrow keys or WASD to move this is my first platformer game. don't touch the red get the key to unlock the door.\ntry shift and green flag if you can complete a level your insane\n\n

@Stage\n\nwhen backdrop switches to [backdrop5 v]\nshow variable [level v]\nhide variable [bonus level v]\nset [level v] to [4]\n\nwhen backdrop switches to [backdrop3 v]\nshow variable [level v]\nhide variable [bonus level v]\nset [level v] to [2]\n\nwhen backdrop switches to [backdrop6 v]\nshow variable [level v]\nset [level v] to [5]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop9 v]\nshow variable [level v]\nset [level v] to [8]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop14 v]\nshow variable [level v]\nset [level v] to [13]\n\nwhen flag clicked\nhide variable [level v]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop7 v]\nshow variable [level v]\nset [level v] to [7]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop12 v]\nshow variable [level v]\nset [level v] to [11]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop10 v]\nshow variable [level v]\nset [level v] to [9]\nhide variable [bonus level v]\n\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop8 v]\nshow variable [level v]\nset [level v] to [6]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop11 v]\nshow variable [level v]\nset [level v] to [10]\nhide variable [bonus level v]\n\nwhen flag clicked\nforever\n    play sound [Vexento - Adrenaline v] until done\nend\n\nwhen backdrop switches to [backdrop4 v]\nshow variable [level v]\nset [level v] to [3]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop13 v]\nshow variable [level v]\nset [level v] to [12]\nhide variable [bonus level v]\n\nwhen backdrop switches to [backdrop2 v]\nhide variable [bonus level v]\nshow variable [level v]\nset [level v] to [1]\nforever\n    set [brightness v] effect to (0)\nend\n\nwhen I receive [music off v]\n\nwhen backdrop switches to [backdrop2 v]\nrepeat until <(bonus level) = [1]>\n    if <(bonus level) = [1]> then\n        switch backdrop to (backdrop17 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(bonus level) = [1]> then\n        switch backdrop to (backdrop17 v)\n    end\nend\n\n@Sprite2\n\nwhen backdrop switches to [backdrop19 v]\nshow\ngo to x: (-103) y: (-113)\n\nwhen backdrop switches to [backdrop4 v]\nshow\ngo to x: (-106) y: (-97)\n\nwhen backdrop switches to [backdrop2 v]\nshow\ngo to x: (-106) y: (-93)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\ngo to x: (-106) y: (-93)\n\nwhen flag clicked\nhide\n\nwhen I receive [opendoor v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\ngo to x: (-106) y: (-93)\n\nwhen backdrop switches to [backdrop9 v]\nshow\ngo to x: (-106) y: (-93)\n\nwhen backdrop switches to [backdrop10 v]\nshow\ngo to x: (-128) y: (-111)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (-166) y: (-97)\n\nwhen backdrop switches to [backdrop11 v]\nshow\ngo to x: (-119) y: (-104)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nshow\ngo to x: (-56) y: (-135)\n\nwhen I receive [reset the frickin sprites v]\nshow\n\nwhen I receive [startcube v]\nshow\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen backdrop switches to [backdrop15 v]\nshow\ngo to x: (-124) y: (-125)\n\nwhen backdrop switches to [backdrop17 v]\nshow\ngo to x: (-103) y: (-113)\n\nwhen backdrop switches to [backdrop14 v]\nshow\ngo to x: (-56) y: (-160)\n\nwhen backdrop switches to [backdrop16 v]\nshow\ngo to x: (-109) y: (-132)\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (-107) y: (-97)\n\nwhen backdrop switches to [backdrop8 v]\nshow\ngo to x: (-196) y: (42)\n\nwhen backdrop switches to [backdrop13 v]\nshow\ngo to x: (-17) y: (-145)\n\n@costume1\n\nwhen backdrop switches to [backdrop6 v]\nshow\ngo to x: (213) y: (162)\n\nwhen backdrop switches to [backdrop14 v]\nshow\ngo to x: (-33) y: (44)\n\nwhen backdrop switches to [backdrop5 v]\nshow\ngo to x: (111) y: (128)\n\nwhen backdrop switches to [backdrop14 v]\nshow\ngo to x: (19) y: (42)\n\nwhen backdrop switches to [backdrop12 v]\nshow\ngo to x: (24) y: (102)\n\nwhen flag clicked\nhide\nset size to (50) %\nforever\n    if <touching (player v)?> then\n        broadcast (message1 v)\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\ngo to x: (-28) y: (-96)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (-33) y: (88)\n\nwhen backdrop switches to [backdrop9 v]\nshow\ngo to x: (221) y: (137)\n\nwhen backdrop switches to [backdrop11 v]\nshow\ngo to x: (-80) y: (111)\n\nwhen backdrop switches to [backdrop13 v]\nshow\ngo to x: (208) y: (139)\n\nwhen backdrop switches to [backdrop8 v]\nshow\ngo to x: (-229) y: (155)\n\nwhen I receive [startcube v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nshow\ngo to x: (69) y: (158)\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (222) y: (150)\n\nwhen backdrop switches to [backdrop10 v]\nshow\ngo to x: (221) y: (137)\n\nwhen backdrop switches to [backdrop16 v]\nshow\ngo to x: (-56) y: (59)\nset [level v] to [15]\n\nwhen backdrop switches to [backdrop17 v]\nshow\ngo to x: (13) y: (8)\nset [bonus level v] to [1]\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen backdrop switches to [backdrop19 v]\nshow\ngo to x: (38) y: (128)\nset [bonus level v] to [2]\nshow variable [bonus level v]\n\nwhen backdrop switches to [backdrop17 v]\nshow variable [bonus level v]\n\nwhen backdrop switches to [backdrop18 v]\nhide variable [bonus level v]\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [otherdoor v]\nhide\n\nwhen I receive [reset the frickin sprites v]\nforever\n    if <(backdrop [name v]) = [4]> then\n        show\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (69) y: (158)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\n@Key\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen I receive [startcube v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nshow\ngo to x: (-175) y: (99)\n\nwhen backdrop switches to [backdrop13 v]\nshow\ngo to x: (-59) y: (96)\n\nwhen I receive [reset the frickin sprites v]\nshow\n\nwhen backdrop switches to [backdrop8 v]\nshow\ngo to x: (226) y: (158)\n\nwhen backdrop switches to [backdrop12 v]\nshow\ngo to x: (-78) y: (101)\n\nwhen backdrop switches to [backdrop5 v]\nshow\ngo to x: (-112) y: (63)\n\nwhen backdrop switches to [backdrop10 v]\nshow\ngo to x: (-144) y: (134)\n\nwhen backdrop switches to [backdrop6 v]\nshow\ngo to x: (-111) y: (143)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-191) y: (104)\n\nwhen backdrop switches to [backdrop13 v]\nshow\ngo to x: (-71) y: (108)\n\nwhen backdrop switches to [backdrop11 v]\nshow\ngo to x: (-141) y: (132)\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (-121) y: (136)\n\nwhen backdrop switches to [backdrop14 v]\nshow\ngo to x: (-71) y: (108)\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (-181) y: (134)\n\nwhen backdrop switches to [backdrop9 v]\nshow\ngo to x: (-125) y: (110)\n\nwhen flag clicked\nhide\nset size to (150) %\nforever\n    if <touching (player v)?> then\n        broadcast (opendoor v)\n        hide\n        play sound [key2 v] until done\n    end\nend\n\nwhen backdrop switches to [backdrop15 v]\nset [level v] to [14]\nshow\ngo to x: (-145) y: (53)\n\nwhen backdrop switches to [backdrop16 v]\nshow\ngo to x: (-145) y: (100)\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [level v]\n\nwhen backdrop switches to [backdrop17 v]\nshow\ngo to x: (-145) y: (100)\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen backdrop switches to [backdrop19 v]\nshow\ngo to x: (-220) y: (100)\n\n@Sprite4\n\nwhen backdrop switches to [backdrop4 v]\nshow\ngo to x: (242) y: (68)\n\nwhen flag clicked\nset size to (150) %\nhide\nforever\n    if <touching (player v)?> then\n        hide\n        broadcast (otherdoor v)\n        play sound [Collect v] until done\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen I receive [reset the frickin sprites v]\nforever\n    if <(backdrop [name v]) = [4]> then\n        show\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@118980111_100x80\n\nwhen flag clicked\nwait (0.01) seconds\nrepeat until <(turn) = [1]>\n    turn right (0.3) degrees\nend\n\nwhen flag clicked\nset [intro v] to [0]\npoint in direction (90)\nturn left (15) degrees\ngo to x: (-20) y: (0)\nshow\nset [ghost v] effect to (95)\nset size to (10) %\nrepeat (80)\n    change size by (((100) - (size)) * (0.025))\n    change [ghost v] effect by (-8)\nend\nwait (0.15) seconds\nchange size by (((100) - (size)) * (0.025))\nset [intro v] to [1]\nrepeat (50)\n    change size by (7)\n    change [ghost v] effect by (8)\nend\nswitch backdrop to (choosing v)\nset size to (10) %\nset [ghost v] effect to (95)\nhide\nbroadcast (StartCube v)\n\n@Sprite5\n\nwhen flag clicked\nshow\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\n\nwhen I receive [startcube v]\nhide\n\n@Player\n\nwhen I receive [startcube v]\nset size to (100) %\nshow\nset [walk speed v] to [6]\nset [gravity v] to [-1]\nset [jump power v] to [11.5]\nset [speed y v] to [0]\nset [falling v] to [999]\nset [my direction v] to [90]\nset [my frame v] to [0]\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen I receive [startcube v]\nshow\nforever\n    change [falling v] by (1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        Walk Sideways (-1)\n    else\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            Walk Sideways (1)\n        else\n            set [my frame v] to [0.5]\n        end\n    end\n    change [speed y v] by (GRAVITY)\n    if <(falling) > [4]> then\n        set [my frame v] to [1]\n    else\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            set [speed y v] to (JUMP POWER)\n            set [falling v] to [999]\n        end\n    end\n    Move Vertically (speed y)\n    if <touching color (#ff0000)?> then\n        broadcast (reset the frickin sprites v)\n        go to x: (-215) y: (-107)\n        play sound [Boom Cloud v] until done\n        next costume\n    end\n    if <touching (costume1 v)?> then\n        go to x: (-215) y: (-107)\n        switch backdrop to (next backdrop v)\n        play sound [tick v] until done\n    end\nend\n\ndefine Move Vertically (move y)\nchange y by (move y)\nset [max v] to [0]\nrepeat until <<(max) > [32]> or <not <touching color (#000000)?>>>\n    change [max v] by (1)\n    if <(move y) < [0]> then\n        change y by (1)\n    else\n        change y by (-1)\n    end\nend\nif <(max) > [0]> then\n    set [speed y v] to [0]\n    if <(move y) < [0]> then\n        set [falling v] to [0]\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nshow\nask [What's the code?] and wait\nrepeat until <(bonus level) = [1]>\n    if <(answer) = [HI]> then\n        set [bonus level v] to [1]\n        broadcast (BonusLevel v)\n        go to x: (-209) y: (-129)\n    else\n        switch backdrop to (backdrop2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop17 v]\nshow\n\nwhen backdrop switches to [backdrop8 v]\nshow\n\nwhen I receive [startcube v]\ngo to x: (-215) y: (-107)\nshow\nswitch backdrop to (backdrop2 v)\n\nwhen backdrop switches to [backdrop5 v]\nshow\n\ndefine Walk Sideways (move x)\nset [my direction v] to ((move x) * (90))\nchange [my frame v] by (0.25)\nchange x by ((move x) * (WALK SPEED))\nset [max v] to [0]\nrepeat until <<(max) > [8]> or <not <touching color (#000000)?>>>\n    change [max v] by (1)\n    if <(max) > [8]> then\n        change y by (-8)\n        change x by ((0) - ((move x) * (WALK SPEED)))\n    else\n        change y by (1)\n    end\nend\nif <<(max) > [0]> and <(max) < [9]>> then\n    set [speed y v] to [0]\n    set [falling v] to [0]\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite1\n\nwhen I receive [opendoor v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nrepeat until <(c) = [1]>\n    change [time v] by (1)\n    wait (1) seconds\nend\n\nwhen backdrop switches to [backdrop18 v]\nshow\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop18 v]\ngo to x: (83) y: (-35)\nset size to (150) %\nrepeat until \n    change [color v] effect by (1)\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nset [time v] to [0]\n\nwhen backdrop switches to [backdrop1 v]\nshow\nshow variable [time v]\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\ngo to x: (60) y: (0)\nset size to (150) %\nrepeat until <(bonus level) = [1]>\n    change [color v] effect by (1)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop18 v]\nrepeat until <(level) = [1]>\n    next costume\n    wait (1) seconds\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen I receive [bonuslevel v]\nhide\n\n@Sprite7\n\nwhen backdrop switches to [backdrop1 v]\nshow\ngo to x: (114) y: (-14)\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\nwhen flag clicked\nhide\nset [bonus level v] to [0]\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen I receive [bonuslevel v]\nif <(bonus level) = [1]> then\n    hide\nend\n\n@Sprite6\n\nrepeat until <(bonus level) = [2]>\n    next costume\n    wait (5) seconds\nend\n\nwhen backdrop switches to [backdrop17 v]\nshow\n\nwhen backdrop switches to [backdrop18 v]\nhide\nset [hidden stuff v] to [3]\nbroadcast (message1 v)\n\nwhen I receive [bonuslevel v]\n\nwhen flag clicked\nhide\nset [hidden stuff v] to [0]\nhide variable [time v]\nrepeat until <(bonus level) = [1]>\n    hide\nend\nshow\n\nwhen backdrop switches to [backdrop17 v]\nset [hidden stuff v] to [2]\nhide variable [time v]\nset [time v] to [0]\nrepeat until <(hidden stuff) = [3]>\n    change [time v] by (1)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\nset [time v] to [0]\nrepeat until <(bonus level) = [1]>\n    change [time v] by (1)\n    wait (1) seconds\n    if <(bonus level) = [1]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\nwhen I receive [message1 v]\nrepeat until <(level) = [1]>\n    hide\nend\n\nwhen backdrop switches to [backdrop19 v]\nforever\n    hide\nend\n\nwhen backdrop switches to [backdrop18 v]\nshow variable [time v]\n\n@Sprite8\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen I receive [opendoor v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop18 v]\nrepeat until <(level) = [1]>\n    next costume\n    wait (1) seconds\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nwhen backdrop switches to [backdrop18 v]\nshow\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop19 v]\nshow\nrepeat until <(level) = [1]>\n    go to x: (180) y: (-35)\n    glide (3) secs to x: (-100) y: (35)\nend\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\nwhen backdrop switches to [backdrop15 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop16 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@lava jump platformer\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\ngo to x: (-7) y: (-2)\nshow\n\n@Sprite10\n\nwhen backdrop switches to [backdrop2 v]\nshow\ngo to x: (18) y: (-121)\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (16) y: (-177)\n\n