platformer
@Stage\n\n@Sprite1\n\nwhen flag clicked\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 (#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            end\n        end\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 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    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-150) y: (79)\n    end\n    if <(x position) > [220]> then\n        go to x: (-155) y: (134)\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (-132) y: (79)\n\n
Use arrow keys to move and avoid spikes and lava.\nThis game is not finished I just need to add more levels but the game works.people try to get this on trending and tell me when this is on trending