UpSiDeDoWn Platformer!
@Stage\n\nwhen backdrop switches to [world 1 complete!! v]\nwait (2) seconds\nnext backdrop\n\nwhen flag clicked\nforever\n    set [lvl v] to ([backdrop name v] of [_stage_ v])\nend\n\n@Script here\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#666666)?> then\n        change y by (1)\n        if <touching color (#666666)?> then\n            change y by (1)\n            if <touching color (#666666)?> then\n                change y by (1)\n                if <touching color (#666666)?> then\n                    change y by (1)\n                    if <touching color (#666666)?> then\n                        change y by (1)\n                        if <touching color (#666666)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> 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    end\n    change [yv v] by (1)\n    change y by (Yv)\n    if <touching color (#666666)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (1)\n    if <touching color (#666666)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [-15]\n        end\n    end\n    change y by (-1)\nend\n\nwhen flag clicked\ngo to x: (-148) y: (-162)\n\nwhen flag clicked\nswitch backdrop to (lvl 1 v)\nforever\n    if <touching color (#24ff00)?> then\n        next backdrop\n    end\nend\n\nwhen backdrop switches to [lvl 11 v]\ngo to x: (-139) y: (99)\nforever\n    if <touching color (#ff8000)?> then\n        point in direction (180)\n        change [xv v] by (50)\n    end\nend\n\nswitch backdrop to (lvl 11 v)\n\n
We've reached over 800 views! Thank you so much! Remember to check out the original project!\nhttps://scratch.mit.edu/projects/34429446\n\nUse arrow keys to move and jump!\n\nDisclaimer: slopes going in some directions do not work properely and idk why... If you are someone that knows how to fix it, could you pls tell me how... That would be greatly apreciated...