Fish platformer
@Stage\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen flag clicked\nforever\n    play sound [Love Like You \(End Credits\) v] until done\nend\n\n@player\n\nwhen I receive [play v]\ngo to [front v] layer\nswitch costume to (fish-d v)\nshow\nset size to (70) %\ngo to x: (-189) y: (13)\nset [level v] to [1]\nset [pozycja x v] to [0]\nset [pozycja y v] to [0]\npoint in direction (90)\nforever\n    change [pozycja y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [pozycja x v] by (-0.8)\n        switch costume to (fish-d2 v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (fish-d v)\n        change [pozycja x v] by (0.8)\n    end\n    set [pozycja x v] to ((POZYCJA X) * (0.9))\n    change x by (POZYCJA X)\n    if <touching (stolik v)?> then\n        change y by (1)\n    end\n    if <touching (stolik v)?> then\n        change y by (1)\n    end\n    if <touching (stolik v)?> then\n        change y by (1)\n    end\n    if <touching (stolik v)?> then\n        change y by (1)\n    end\n    if <touching (kogut v)?> then\n        change y by (1)\n    end\n    if <touching (kogut v)?> then\n        change y by (1)\n    end\n    if <touching (kogut v)?> then\n        change y by (1)\n    end\n    if <touching (kogut v)?> then\n        change y by (1)\n    end\n    if <<touching (kogut v)?> or <touching (stolik v)?>> then\n        change y by (-4)\n        change x by ((POZYCJA X) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [pozycja y v] to [10]\n            if <([abs v] of (POZYCJA X) ) = (POZYCJA X)> then\n                set [pozycja x v] to [-5]\n            else\n                set [pozycja x v] to [5]\n            end\n        else\n            set [pozycja x v] to [0]\n        end\n    end\n    change y by (POZYCJA Y)\n    if <<touching (stolik v)?> or <touching (kogut v)?>> then\n        change y by ((0) - (POZYCJA Y))\n        set [pozycja y v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <<touching (stolik v)?> or <touching (kogut v)?>>> then\n        set [pozycja y v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [pozycja y v] to [0]\n    end\nend\n\nwhen flag clicked\nhide\n\nhide\n\nwhen I receive [play v]\nset [level v] to [1]\nforever\n    if <touching (przeszkody v)?> then\n        repeat (4)\n            change [ghost v] effect by (20)\n            go to x: (x position) y: (y position)\n        end\n        set [ghost v] effect to (0)\n        go to x: (-189) y: (13)\n        broadcast (dead v)\n    end\n    if <(x position) > [244]> then\n        go to x: (-189) y: (13)\n        broadcast (następny poziom v)\n        change [level v] by (1)\n    end\n    if <(Level) = [16]> then\n        broadcast (end v)\n        switch backdrop to (tło2 v)\n        stop [this script v]\n    end\n    if <touching (trampoline v)?> then\n        change [pozycja y v] by (23)\n    end\nend\n\n@stolik\n\nwhen flag clicked\nset [color v] effect to (0)\nhide variable [level v]\nhide\n\nwhen I receive [play v]\nshow variable [level v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (40)\nforever\n    switch costume to (Level)\n    if <(Level) = [16]> then\n        change [color v] effect by (5)\n        stop [this script v]\n    end\nend\n\n@przeszkody\n\nwhen I receive [play v]\nshow\ngo to x: (0) y: (40)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@M\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Duszek1\n\nplay sound [pop v] until done\n\n@Duszek2\n\nplay sound [pop v] until done\n\n@Duszek3\n\nplay sound [pop v] until done\n\n@Duszek4\n\nplay sound [pop v] until done\n\n@Duszek5\n\nplay sound [pop v] until done\n\n@Duszek6\n\nplay sound [pop v] until done\n\n
Witaj w mojej platformówce :) ruszaj cursorem by sterować rybką i dojdź do końca \nGra ma 7 poziomów