Fish ~ A Platformer
@Stage\n\nwhen I receive [next v]\nnext backdrop\n\nwhen I receive [start v]\nwait (1) seconds\nforever\n    play sound [relaxing v] until done\n    wait (1) seconds\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nwait (1) seconds\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nhide\nbroadcast (Start v)\n\n@Fish\n\nwhen I receive [start v]\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 I receive [start v]\nforever\n    if <touching color (#b3b3b3)?> then\n        go to x: (-180) y: (2)\n        start sound [Lose v]\n    end\n    if <touching color (#ff4d4d)?> then\n        set [speedy v] to [16]\n    end\nend\n\nwhen I receive [start v]\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 (#ffd966)?>> 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 (#ffd966)?>> 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\nwhen flag clicked\nhide\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@Effects\n\nwhen I start as a clone\nset size to (pick random (50) to (100)) %\nshow\nrepeat (pick random (10) to (30))\n    change y by (2)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (1.5)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\nwhen I receive [start v]\nhide\nforever\n    go to x: (pick random (-200) to (200)) y: (pick random (20) to (40))\n    create clone of (_myself_ v)\n    wait (pick random (1) to (2)) seconds\nend\n\n
Welcome to Fish ~ A Platformer! Use the arrow keys to move forward. Help this fish to complete all levels, and don't touch any plastic! Plastic is bad for the environment. I want to ask everyone to use as little plastic as possible. And of course to enjoy my platformer which I have had a lot of work on! ;D\n\nOh, and all levels are possible, so keep it up!