Cubeland- a scrolling platformer game
@Stage\n\nwhen I receive [play v]\nswitch backdrop to (cenário 1 v)\n\nwhen flag clicked\nswitch backdrop to (cenário 2 v)\n\n@o actor 1\n\ndefine Tick\nshow\nif <<<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)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [xv v] by (-1)\nend\nchange x by (Xv)\nset [xv v] to ((Xv) * (0.9))\nif <<touching color (#00d227)?> or <touching color (#946200)?>> then\n    change y by (1)\n    if <<touching color (#00d227)?> or <touching color (#946200)?>> then\n        change y by (1)\n        if <<touching color (#00d227)?> or <touching color (#946200)?>> then\n            change y by (1)\n            if <<touching color (#00d227)?> or <touching color (#946200)?>> then\n                change y by (1)\n                if <<touching color (#00d227)?> or <touching color (#946200)?>> then\n                    change y by (1)\n                    if <<touching color (#00d227)?> or <touching color (#946200)?>> 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 [-10]\n                            else\n                                set [xv v] to [10]\n                            end\n                            set [yv v] to [15]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (Yv)\nif <<touching color (#00d227)?> or <touching color (#946200)?>> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <<touching color (#00d227)?> or <touching color (#946200)?>> then\n        set [yv v] to [13]\n    end\nend\nchange y by (1)\nchange [scrollx v] by ((x position) * (-1))\nchange [scrolly v] by ((y position) * (-1))\ngo to x: (0) y: (0)\nif <<touching color (#ff0000)?> or <(ScrollY) > [700]>> then\n    set [scrollx v] to [0]\n    set [scrolly v] to [-25]\nend\nif <touching color (#fbff00)?> then\n    broadcast (Next Nevel v) and wait\nend\nif <touching color (#008fff)?> then\n    change [yv v] by (7)\nend\n\nwhen I receive [tick v]\nTick\n\nwhen I receive [play v]\nset size to (50) %\nshow\ngo to [front v] layer\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    broadcast (Tick v)\nend\n\nwhen flag clicked\ngo to x: (14) y: (20)\nset size to (75) %\nrepeat until <([backdrop # v] of [_stage_ v]) = [1]>\n\nstart sound [Pop! v]\n\nwhen flag clicked\nforever\n    if <(click times 1) = [1]> then\n        switch costume to (skin black v)\n    end\n    if <(click times 1) = [2]> then\n        switch costume to (skin red v)\n    end\n    if <(click times 1) = [3]> then\n        switch costume to (skin orange v)\n    end\n    if <(click times 1) = [4]> then\n        switch costume to (skin yellow v)\n    end\n    if <(click times 1) = [5]> then\n        switch costume to (skin greenclaro v)\n    end\n    if <(click times 1) = [6]> then\n        switch costume to (skin green escuro v)\n    end\n    if <(click times 1) = [7]> then\n        switch costume to (skin azul claro v)\n    end\n    if <(click times 1) = [8]> then\n        switch costume to (skin azul escuro v)\n    end\n    if <(click times 1) = [9]> then\n        switch costume to (skin rosa v)\n    end\n    if <(click times 1) = [10]> then\n        switch costume to (skin roxo v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Chill Out v] until done\nend\n\n@o actor 2\n\nwhen this sprite clicked\nbroadcast (Play v)\n\nwhen I receive [play v]\nhide\n\nwhen flag clicked\nshow\n\n@o actor 3\n\nwhen this sprite clicked\nchange [click times 1 v] by (1)\n\nwhen flag clicked\nshow\nset [click times 1 v] to [1]\n\nwhen I receive [play v]\nhide\n\n@o actor 4\n\nwhen this sprite clicked\nchange [click times 1 v] by (-1)\n\nwhen flag clicked\nshow\n\nwhen I receive [play v]\nhide\n\n@o actor 5\n\nwhen flag clicked\nshow\n\nwhen I receive [play v]\nhide\n\n@level\n\nwhen flag clicked\nhide\n\ndefine Position\nset [scrollx v] to [-5]\nset [scrolly v] to [-30]\n\nwhen I receive [play v]\nshow\nswitch costume to (blank v)\nset size to (300) %\nswitch costume to (level 1 v)\nPosition\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwhen I receive [next nevel v]\nPosition\nnext costume\nwait (0.1) seconds\n\n@thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n
2000views!!! Thanks!!\nNew game!!!!\nhttps://scratch.mit.edu/projects/494262454/\n\nWelcome to my NEW platform game !!!!!\nControls:\n- to change the skin you just have to click on the arrows and to play in play.\n- Use the arrow keys to move the player\n- Avoid red color\n- Tap the yellow color to pass the level\n- The color blue is a stepping stone.\nOnly has 10 LEVELS\n\nHave fun!!\nPlease love and fave.\n--Credits--\nThanks to @Coltroc for some drawings.\nThanks to @amazingQ for the player and platform codes\n\n\n\nAnd it all