Game platformer - winter 2
@Stage\n\nwhen flag clicked\nswitch backdrop to (tło1 v)\n\nwhen flag clicked\nforever\n    play sound [01-Eliza_Lumley-High_And_Dry v] until done\nend\n\n@Duszek1\n\nwhen flag clicked\ngo to x: (-203) y: (-109)\nset rotation style [don't rotate v]\nforever\n    if <touching color (#ffffff)?> then\n        set [w górę v] to [0]\n        if <key (up arrow v) pressed?> then\n            change [w górę v] by (8)\n        end\n    else\n        change [w górę v] by (-0.5)\n    end\n    change y by (w górę)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        move (5) steps\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        move (5) steps\n    end\n    if <touching color (#9efff1)?> then\n        move (-5) steps\n    end\n    if <touching (portal v)?> then\n        next backdrop\n        go to x: (-203) y: (-109)\n    end\n    if <touching color (#fb0000)?> then\n        go to x: (-203) y: (-109)\n        start sound [Squeaky Toy v]\n    end\n    if <touching (duszek2 v)?> then\n        go to x: (-203) y: (-109)\n        start sound [Squeaky Toy v]\n    end\nend\n\nwhen backdrop switches to [tło6 v]\nplay sound [Tada v] until done\nstop [all v]\n\n@portal\n\n@Duszek2\n\nwhen backdrop switches to [tło2 v]\nshow\nset rotation style [left-right v]\nforever\n    move (10) steps\n    if on edge, bounce\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [tło6 v]\nhide\n\n@Duszek3\n\nwhen flag clicked\nswitch costume to (kostium1 v)\n\nwhen this sprite clicked\nnext costume\nforever\n    stop all sounds\nend\n\n
STEROWANIE:\nstrzałki \n\nuważaj na czerwony.