Trolled Platformer!!
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nwait (1.5) seconds\nnext backdrop\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-215) y: (-16)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00d8ff)?> then\n        go to x: (-215) y: (-16)\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#c000ff)?> then\n        change [yv v] by (17)\n    end\nend\n\nwhen flag clicked\nhide\nwait (2) seconds\nshow\nswitch costume to (costume1 v)\nset size to (25) %\ngo to x: (-215) y: (-16)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    set [xv v] to ((xv) * (0.85))\n    change x by (xv)\n    if <touching color (#000000)?> then\n        change y by (-2)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (1)\n                            if <touching color (#000000)?> then\n                                change y by (-5)\n                                change x by ((-1) * (xv))\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <(xv) = [0]>>> then\n                                    set [mode v] to [walljump]\n                                    set [yv v] to [8]\n                                    set [xv v] to (((xv) / ([abs v] of (xv) )) * (-10))\n                                else\n                                    set [mode v] to [wallslide]\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\n    change y by (-3)\n    if <touching color (#000000)?> then\n        if <(yv) = [-3]> then\n            if <<key (a v) pressed?> or <<key (d v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n                set [mode v] to [run]\n            else\n                if <([abs v] of (xv) ) > [.1]> then\n                    set [mode v] to [skid]\n                else\n                    set [mode v] to [stand]\n                end\n            end\n        end\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [mode v] to [jump]\n            set [yv v] to [9]\n        end\n    end\n    if <<<<(mode) = [jump]> or <(mode) = [walljump]>> and <(yv) < [0]>> or <<<(mode) = [run]> or <(mode) = [skid]>> and <(yv) < [-3]>>> then\n        set [mode v] to [fall]\n    end\n    change y by (3)\n    if <(yv) > [-15]> then\n        change [yv v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching color (#000000)?>> then\n        change y by (-1)\n        if <not <touching color (#000000)?>> then\n            change y by (-1)\n            if <not <touching color (#000000)?>> then\n                change y by (-1)\n                if <not <touching color (#000000)?>> then\n                    change y by (-1)\n                    if <not <touching color (#000000)?>> then\n                        change y by (-1)\n                        if <not <touching color (#000000)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (yv)\n    if <touching color (#000000)?> then\n        change y by (-2)\n        if <touching color (#000000)?> then\n            change y by ((-1) * (yv))\n            set [yv v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\n
This is my first Trolled Platformer!!!\nUse the Arrow keys or wasd keys to move, blue is your destiny, Red is Lava, Purple is Bouncy.\nPart2 - https://scratch.mit.edu/projects/360640936/