Bowling ~ A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Fun Day v] until done\nend\n\nwhen I receive [next v]\nnext backdrop\n\n@Sprite\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\n\n@bowling ball\n\nwhen flag clicked\nset size to (80) %\nshow\ngo to x: (-180) y: (2)\nset [speedx v] to [0]\nset [speedy v] to [0]\nforever\n    if <touching (next v)?> then\n        broadcast (Next v)\n        go to x: (-180) y: (2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        go to x: (-180) y: (2)\n        start sound [Lose v]\n    end\n    if <touching color (#ffbf66)?> then\n        set [speedy v] to [16]\n    end\n    if <touching color (#e466ff)?> then\n        set [speedx v] to [16]\n    end\n    if <touching color (#fff066)?> then\n        set [speedx v] to [-16]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change [speedx v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speedx v] by (-1)\n    end\n    change x by (SpeedX)\n    if <<touching (levels v)?> and <touching color (#b24e47)?>> then\n        change x by ((SpeedX) * (-1))\n        set [speedx v] to [0]\n    else\n        set [speedx v] to ((SpeedX) * (0.9))\n    end\n    change y by (SpeedY)\n    if <<touching (levels v)?> and <touching color (#b24e47)?>> then\n        change y by ((SpeedY) * (-1))\n        set [speedy v] to [0]\n        if <(lock) = [0]> then\n            if <key (up arrow v) pressed?> then\n                set [speedy v] to [15]\n                set [lock v] to [1]\n            end\n        end\n    else\n        change [speedy v] by (-1)\n        set [lock v] to [0]\n    end\nend\n\n@Levels\n\nwhen flag clicked\nswitch costume to (level1 v)\n\nwhen I receive [next v]\nnext costume\n\n@Next\n\nwhen flag clicked\ngo to x: (229) y: (13)\nshow\nset [ghost v] effect to (100)\n\n
Welcome to Bowling ~ A Platformer! You are a blue bowling ball that has to pass levels to win. More levels are coming soon, because it is still short!\nOrange = jumping\nblack = dangerous\npink = forward\nyellow = backward