Platformer...but you are vanishing #all #games #trending

Instructions: -------------------------------About----------------------------------\nHi everyone :D\nWelcome to my platformer :) It's nor very long because I will release my first cloud game soon :D\n\nNew part out!! https://scratch.mit.edu/projects/618929830/

@Stage\n\nwhen flag clicked\nswitch backdrop to (pozadí1 v)\n\nwhen I receive [next level v]\nchange [level v] by (1)\nif <(Level) = [10]> then\n    switch backdrop to (pozadí2 v)\nend\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (100) %\n    wait until <key (m v) pressed?>\n    wait until <not <key (m v) pressed?>>\n    set volume to (0) %\n    wait until <key (m v) pressed?>\n    wait until <not <key (m v) pressed?>>\nend\n\n@Player\n\ndefine script\nif <<(Level) = [10]> or <<(username) = [Scratchboy179]> and <key (space v) pressed?>>> then\n    set [ghost v] effect to (0)\nend\nchange y by (1)\ngo to [front v] layer\nif <(x position) = [241]> then\n    broadcast (next level v)\n    Start Position\nend\nif <(x position) = [-241]> then\n    set [x_vel v] to [0]\nend\nif <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        switch costume to (right-up v)\n    else\n        switch costume to (up v)\n    end\nelse\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        switch costume to (right v)\n    else\n        switch costume to (no v)\n    end\nend\nchange [y_vel v] by (-1)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n    point in direction (90)\n    change [x_vel v] by (1)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    point in direction (-90)\n    change [x_vel v] by (-1)\nend\nset [x_vel v] to ((x_vel) * (.9))\nchange x by (x_vel)\nif <<touching (level v)?> or <touching (move v)?>> then\n    change y by (1)\n    if <<touching (level v)?> or <touching (move v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (move v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (move v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (move v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (move v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (move v)?>> then\n                            change y by (-6)\n                            change x by ((x_vel) * (-1))\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                change x by (0)\n                                set [y_vel v] to [10]\n                                if <(x_vel) > [0]> then\n                                    set [x_vel v] to [-7]\n                                else\n                                    set [x_vel v] to [7]\n                                end\n                            else\n                                set [x_vel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y_vel)\nif <<touching (level v)?> or <touching (move v)?>> then\n    change y by ((y_vel) * (-1))\n    set [y_vel v] to [0]\nend\nchange y by (-1)\nif <<<touching (level v)?> or <touching (move v)?>> and <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    set [y_vel v] to [12]\nend\nif <<touching (obstacles v)?> or <(y position) < [-175]>> then\n    Start Position\nend\nif <touching (trampoline v)?> then\n    set [y_vel v] to [20]\nend\n\ndefine Start Position\nset [y_vel v] to [0]\nset [x_vel v] to [0]\nset size to (100) %\ngo to x: (-220) y: (0)\n\nwhen flag clicked\nshow\nStart Position\ngo to [front v] layer\nshow\nset rotation style [left-right v]\nset [ghost v] effect to (90)\nforever\n    script\nend\n\nwhen flag clicked\nrepeat until <(Level) = [10]>\n    wait (pick random (1) to (2)) seconds\n    repeat (10)\n        change [ghost v] effect by (1)\n    end\n    set [ghost v] effect to (100)\n    reset timer\n    wait until <<(x position) = [-220]> or <(timer) > (pick random (2) to (4))>>\n    repeat (10)\n        change [ghost v] effect by (-1)\n    end\n    set [ghost v] effect to (90)\nend\n\n@Level\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (kostým4 v)\nshow\ngo to x: (0) y: (0)\n\n@Obstacles\n\nwhen flag clicked\nshow\nswitch costume to (kostým1 v)\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nset [level v] to [1]\n\n@thumb\n\nwhen flag clicked\nhide\n\n