foot ball platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Louie Zong & The Barking Dawgz - dawgz - 07 always curious.mp3 v] until done\nend\n\n@Ball-Soccer\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-196) y: (89)\nforever\n    platform\n    if <touching (sprite1 v)?> then\n        change [level v] by (1)\n        if <(level) = [2]> then\n            go to x: (-195) y: (-25)\n        end\n        if <(level) = [3]> then\n            go to x: (-203) y: (6)\n        end\n        if <(level) = [4]> then\n            go to x: (-201) y: (-40)\n        end\n        if <(level) = [5]> then\n            go to x: (-197) y: (11)\n        end\n        if <(level) = [6]> then\n            go to x: (-209) y: (-61)\n        end\n        if <(level) = [7]> then\n            go to x: (-239) y: (19)\n        end\n        if <(level) = [8]> then\n            go to x: (-220) y: (126)\n        end\n        if <(level) = [9]> then\n            go to x: (-202) y: (144)\n        end\n        if <(level) = [10]> then\n            go to x: (-208) y: (157)\n        end\n    end\nend\n\ndefine platform\nchange y by (y vel)\nif <touching (sprite2 v)?> then\n    repeat ([abs v] of (y vel) )\n        if <touching (sprite2 v)?> then\n            change y by ((-1) * (([abs v] of (y vel) ) / (y vel)))\n            if <<touching color (#cccccc)?> or <touching color (#ff0000)?>> then\n                if <(level) = [2]> then\n                    go to x: (-195) y: (-25)\n                end\n                if <(level) = [3]> then\n                    go to x: (-203) y: (6)\n                end\n                if <(level) = [4]> then\n                    go to x: (-201) y: (-40)\n                end\n                if <(level) = [5]> then\n                    go to x: (-197) y: (11)\n                end\n                if <(level) = [6]> then\n                    go to x: (-209) y: (-61)\n                end\n                if <(level) = [7]> then\n                    go to x: (-239) y: (19)\n                end\n                if <(level) = [8]> then\n                    go to x: (-220) y: (126)\n                end\n                if <(level) = [9]> then\n                    go to x: (-202) y: (144)\n                end\n                if <(level) = [10]> then\n                    go to x: (-208) y: (157)\n                end\n            end\n        end\n    end\n    if <<key (up arrow v) pressed?> and <not <(y vel) > [0]>>> then\n        set [y vel v] to [10]\n    else\n        set [y vel v] to [0]\n    end\nelse\n    change [y vel v] by (-1)\nend\nif <key (right arrow v) pressed?> then\n    change [x vel v] by (1)\n    turn right (10) degrees\nend\nif <key (left arrow v) pressed?> then\n    change [x vel v] by (-1)\n    turn left (10) degrees\nend\nchange x by (x vel)\nif <touching (sprite2 v)?> then\n    set [oldy v] to (y position)\n    repeat ([abs v] of ((x vel) + (1)) )\n        if <touching (sprite2 v)?> then\n            change y by (1)\n        end\n    end\n    if <touching (sprite2 v)?> then\n        set y to (oldy)\n        repeat ([ceiling v] of ([abs v] of (x vel) ) )\n            if <touching (sprite2 v)?> then\n                change x by ((-1) * (([abs v] of (x vel) ) / (x vel)))\n                if <<touching color (#cccccc)?> or <touching color (#ff0000)?>> then\n                    if <(level) = [2]> then\n                        go to x: (-195) y: (-25)\n                    end\n                    if <(level) = [3]> then\n                        go to x: (-203) y: (6)\n                    end\n                    if <(level) = [4]> then\n                        go to x: (-201) y: (-40)\n                    end\n                    if <(level) = [5]> then\n                        go to x: (-197) y: (11)\n                    end\n                    if <(level) = [6]> then\n                        go to x: (-209) y: (-61)\n                    end\n                    if <(level) = [7]> then\n                        go to x: (-239) y: (19)\n                    end\n                    if <(level) = [8]> then\n                        go to x: (-220) y: (126)\n                    end\n                    if <(level) = [9]> then\n                        go to x: (-202) y: (144)\n                    end\n                    if <(level) = [10]> then\n                        go to x: (-208) y: (157)\n                    end\n                end\n            end\n        end\n        if <key (up arrow v) pressed?> then\n            if <(x vel) < [0]> then\n                set [x vel v] to [0]\n                if <key (left arrow v) pressed?> then\n                    set [x vel v] to [8]\n                    set [y vel v] to [8]\n                end\n            else\n                set [x vel v] to [0]\n                if <key (right arrow v) pressed?> then\n                    set [x vel v] to [-8]\n                    set [y vel v] to [8]\n                end\n            end\n        end\n    end\nend\nset [x vel v] to ((x vel) * (0.9))\n\n@Sprite2\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    show\n    if <(level) = [1]> then\n        go to x: (161) y: (76)\n    end\n    if <(level) = [2]> then\n        go to x: (185) y: (134)\n    end\n    if <(level) = [3]> then\n        go to x: (215) y: (-51)\n    end\n    if <(level) = [4]> then\n        go to x: (202) y: (-82)\n    end\n    if <(level) = [5]> then\n        go to x: (172) y: (98)\n    end\n    if <(level) = [6]> then\n        go to x: (253) y: (122)\n    end\n    if <(level) = [7]> then\n        go to x: (209) y: (138)\n    end\n    if <(level) = [8]> then\n        go to x: (228) y: (112)\n    end\n    if <(level) = [9]> then\n        go to x: (219) y: (-42)\n    end\n    if <(level) = [10]> then\n        hide\n    end\nend\n\n
remix and add more levels\narrow keys to move\ngo to goal piont\nonly 10 levels