Luminus Platformer
@Stage\n\nwhen I receive [volumen off v]\nset volume to (0) %\n\nwhen I receive [volumen on v]\nset volume to (80) %\n\n@Platformer Engine\n\nwhen flag clicked\nbroadcast (alright bros let's go v)\nrepeat until <(Nivel) = [10]>\n    set [☁ record mundial v] to [22.035]\n    set [crónometro v] to [0]\nend\n\nwhen I receive [alright bros let's go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [up v]\ngo to x: (-201) y: (-59)\n\nwhen I receive [restart v]\ngo to x: (-201) y: (-59)\n\nwhen flag clicked\nset size to (150) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (player v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-59)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n        switch costume to (player2 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-1)\n        switch costume to (player3 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#ff0000)?> or <touching color (#ff8800)?>> then\n        change y by (1)\n        if <touching color (#ff0000)?> then\n            change y by (1)\n            if <touching color (#ff0000)?> then\n                change y by (1)\n            end\n            if <touching color (#ff0000)?> then\n                change y by (1)\n                if <touching color (#ff0000)?> then\n                    change y by (1)\n                    if <touching color (#ff0000)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                            if <(Xv) > [0]> then\n                                set [xv v] to [-5]\n                            else\n                                set [xv v] to [5]\n                            end\n                            set [yv v] to [10]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#ff0000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ff0000)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [16]\n        end\n    end\n    if <touching color (#ff7b00)?> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <touching (trampoline v)?> then\n        start sound [Big Boing v]\n        set [yv v] to [22]\n    end\n    if <<(x position) > [-228]> and <(y position) < [-175]>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <(x position) = [246]> then\n        go to x: (-197) y: (-63)\n        next backdrop\n        change [nivel v] by (1)\n    end\nend\n\nwhen flag clicked\nset [nivel v] to [0]\nswitch backdrop to (fondo5 v)\n\nwhen flag clicked\nreset timer\n\nwhen flag clicked\nforever\n    if <<(Nivel) = [10]> and <(timer) < (crónometro)>> then\n        set [crónometro v] to (timer)\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(Nivel) = [10]>\n    if <(crónometro) < (☁ Record mundial)> then\n        wait (1.1) seconds\n        set [☁ record mundial v] to (crónometro)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Nivel) = [10]> then\n        set [crónometro v] to ((timer) - (1))\n        wait (1) seconds\n    end\nend\n\nset [☁ record mundial v] to [47.989]\n\nwhen flag clicked\nshow list [mejores jugadores v]\nif <[mejores jugadores v] contains (username)?> then\n\nwhen [space v] key pressed\nhide list [mejores jugadores v]\n\n@Objeto1\n\nwhen flag clicked\nhide\nforever\n    if <(Nivel) = [10]> then\n        show\n        wait (1.4) seconds\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nset volume to (90) %\nforever\n    play sound [TheFatRat - MAYDAY feat v] until done\nend\n\nwhen I receive [volumen off v]\nset volume to (0) %\n\nwhen I receive [volumen on v]\nset volume to (80) %\n\n@Objeto2\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    broadcast (Volumen off v)\n    wait (0.1) seconds\n    switch costume to (disfraz2 v)\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [2]> then\n    broadcast (Volumen on v)\n    switch costume to (disfraz1 v)\nend\n\nwhen flag clicked\n\n@Objeto3\n\nwhen flag clicked\nhide\n\nwhen [p v] key pressed\nshow\n\n
W, A, D to move.\n10 levels good luck!\nTambién funciona para móvil y tablet!\nGracias por las 2500 visitas!    Thanx for 2.5K views!\nAquí dejo un nuevo juego que os puede gustar:\nhttps://scratch.mit.edu/projects/488922270/\nHow many points out of 10 do you give it? (Tell in the coments)