Platformer Template
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Mus_muscle v] until done\nend\n\nwhen I receive [next lvl v]\nnext backdrop\n\n@Platformer\n\nwhen flag clicked\nset [yv v] to [0]\nforever\n    if <touching color (#00ffff)?> then\n        if <(yv) > [-1]> then\n            change [yv v] by (-1)\n        end\n        if <(yv) < [-1]> then\n            change [yv v] by (1)\n        end\n    else\n        if <(yv) > [-8]> then\n            change [yv v] by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nset [xv v] to [0]\nforever\n    if <(xv) > [0]> then\n        change [xv v] by (-1)\n    end\n    if <(xv) < [0]> then\n        change [xv v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <touching color (#000000)?>\n        change x by (xv)\n        if <touching color (#000000)?> then\n            change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n            if <touching color (#000000)?> then\n                change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                if <touching color (#000000)?> then\n                    change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                    if <touching color (#000000)?> then\n                        change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                        if <touching color (#000000)?> then\n                            change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                            if <touching color (#000000)?> then\n                                change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                                if <touching color (#000000)?> then\n                                    change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                                    if <touching color (#000000)?> then\n                                        change x by (([abs v] of (xv) ) / ((xv) * (-1)))\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        set [xv v] to [8]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change y by (-1)\n        if <touching color (#000000)?> then\n            set [yv v] to [16]\n        else\n            if <touching color (#00ffff)?> then\n                set [yv v] to [5]\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        if <touching color (#00ffff)?> then\n            change y by (-3)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        set [xv v] to [-8]\n    end\nend\n\nwhen flag clicked\ngo to x: (-200) y: (-135)\nforever\n    if <<key (r v) pressed?> or <touching color (#ff0000)?>> then\n        go to x: (-200) y: (-135)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <touching color (#000000)?>\n        change y by (yv)\n        if <touching color (#000000)?> then\n            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n            if <touching color (#000000)?> then\n                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                if <touching color (#000000)?> then\n                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                    if <touching color (#000000)?> then\n                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                        if <touching color (#000000)?> then\n                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                            if <touching color (#000000)?> then\n                                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                if <touching color (#000000)?> then\n                                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                    if <touching color (#000000)?> then\n                                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                        if <touching color (#000000)?> then\n                                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                            if <touching color (#000000)?> then\n                                                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                if <touching color (#000000)?> then\n                                                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                    if <touching color (#000000)?> then\n                                                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                        if <touching color (#000000)?> then\n                                                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                            if <touching color (#000000)?> then\n                                                                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                if <touching color (#000000)?> then\n                                                                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                    if <touching color (#000000)?> then\n                                                                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                        if <touching color (#000000)?> then\n                                                                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                            if <touching color (#000000)?> then\n                                                                                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                if <touching color (#000000)?> then\n                                                                                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                    if <touching color (#000000)?> then\n                                                                                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                        if <touching color (#000000)?> then\n                                                                                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                            if <touching color (#000000)?> then\n                                                                                                change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                                if <touching color (#000000)?> then\n                                                                                                    change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                                    if <touching color (#000000)?> then\n                                                                                                        change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                                        if <touching color (#000000)?> then\n                                                                                                            change y by (([abs v] of (yv) ) / ((yv) * (-1)))\n                                                                                                        end\n                                                                                                    end\n                                                                                                end\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [225]> then\n        go to x: (-200) y: (-135)\n        broadcast (next lvl v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-200) y: (-135)\nforever\n    if <touching color (#003fff)?> then\n        set [yv v] to [25]\n    end\nend\n\n
This is just a template for a platformer. All the key colors are included. You can modify a certain script to choose a color for "next level" instead of the right edge.\nThe "backdrop" backdrop can be duplicated as a base for a level, as I assume that the ground will always be either black or red.