create a platformer v2.0
@Stage\n\nwhen I receive [koniec włączania v]\nforever\n    if <(costume [number v]) = [1]> then\n        switch backdrop to (tło2 v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (tło1 v)\n\nwhen I receive [koniec włączania v]\nswitch backdrop to (tło2 v)\n\n@kostka\n\nwhen flag clicked\nforever\n    if <(edit) = [0]> then\n        pen up\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nwhen I receive [edytuj v]\nhide\n\nwhen I receive [play v]\nset [ghost v] effect to (0)\ngo to x: (-213) y: (23)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1.5)\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <touching color (#00ff72)?> then\n        change y by (1)\n        if <touching color (#00ff72)?> then\n            change y by (1)\n            if <touching color (#00ff72)?> then\n                change y by (1)\n                if <touching color (#00ff72)?> then\n                    change y by (1)\n                    if <touching color (#00ff72)?> then\n                        change y by (1)\n                        if <touching color (#00ff72)?> then\n                            change y by (-5)\n                            change x by ((x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-8]\n                                else\n                                    set [x v] to [8]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#00ff72)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <key (up arrow v) pressed?> then\n        if <touching color (#00ff72)?> then\n            set [y v] to [14]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [play v]\nforever\n    hide variable [x v]\n    hide variable [y v]\n    if <(x position) > [235]> then\n        go to x: (-213) y: (23)\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <<touching color (#ff0000)?> or <touching color (#bbbbbb)?>> then\n        go to x: (-213) y: (23)\n    end\nend\n\nwhen flag clicked\nhide variable [costume v]\n\nwhen I receive [koniec włączania v]\nshow variable [costume v]\n\nwhen I receive [koniec włączania v]\nforever\n    switch costume to (costume)\nend\n\nwhen I receive [play v]\nhide variable [costume v]\n\nwhen I receive [edytuj v]\nshow variable [costume v]\n\nwhen flag clicked\nhide variable [☁ 1 v]\nset [☁ 1 v] to [0]\n\n@Duszek2\n\nwhen flag clicked\ngo to x: (2) y: (-11)\nshow\n\nwhen I receive [koniec włączania v]\nhide\n\n@Duszek12\n\nwhen flag clicked\nerase all\nset pen color to (#00ff72)\nset pen size to (22)\ngo to x: (-86) y: (-137)\n\nhide\n\nwhen I receive [koniec włączania v]\nhide\nerase all\n\nwhen flag clicked\nhide\nwait (0.6) seconds\nshow\nbroadcast (koniec efektu v)\n\nwhen I receive [koniec efektu v]\nwait (0.6) seconds\npen down\nglide (0.4) secs to x: (-50) y: (-137)\nglide (0.5) secs to x: (-20) y: (-137)\nglide (1) secs to x: (0) y: (-137)\nglide (0.8) secs to x: (40) y: (-137)\nglide (1.6) secs to x: (60) y: (-137)\nglide (0.3) secs to x: (90) y: (-137)\nglide (0.6) secs to x: (100) y: (-137)\nglide (0.2) secs to x: (130) y: (-137)\nbroadcast (koniec włączania v)\nerase all\ngo to x: (-86) y: (-137)\n\nif <not <(edit) = [0]>> then\nend\n\n@kostium1 (5)\n\nwhen flag clicked\nset [pen size v] to [30]\nswitch costume to (kostium1 \(5\) v)\nhide\nhide variable [pen size v]\n\nwhen I receive [koniec włączania v]\nset size to (100) %\nset pen color to (#00ff72)\nshow variable [pen size v]\nshow\nforever\n    go to (mouse-pointer v)\nend\n\nwhen I receive [trawa v]\nswitch costume to (kostium1 \(5\) v)\nset pen color to (#00ff72)\n\nwhen I receive [lawa v]\nswitch costume to (kostium1 \(5\)2 v)\nset pen color to (#ff0000)\n\nwhen I receive [kolce v]\nswitch costume to (kostium1 \(5\)3 v)\nset pen color to (#bbbbbb)\n\nwhen I receive [koniec włączania v]\ngo to [back v] layer\nforever\n    if <(edit) = [1]> then\n        if <<mouse down?> and <not <<touching (kostium1 \(5\)4 v)?> or <<touching (kostium1 \(5\)2 v)?> or <<touching (kostium1 \(5\)3 v)?> or <<touching (kostium1 \(5\)5 v)?> or <touching (kostium1 \(5\)6 v)?>>>>>>> then\n            pen down\n        else\n            pen up\n        end\n    end\nend\n\nwhen I receive [gumka v]\nswitch costume to (kostium1 \(5\) \(1\) v)\nset pen color to (#ffffff)\n\nset size to (100) %\n\nwhen I receive [koniec włączania v]\nforever\n    set pen size to (pen size)\nend\n\nwhen I receive [play v]\nhide\n\nwhen I receive [play v]\nforever\n    if <(edit) = [1]> then\n        pen up\n    end\nend\n\npen down\n\nwhen I receive [edytuj v]\nshow\n\nwhen I receive [koniec włączania v]\nforever\n\nif <<<mouse down?> and <not <touching (kostka2 v)?>>> and <(edit) = [1]>> then\n    show\n    pen down\nelse\n    hide\n    pen up\nend\n\nwhen flag clicked\nforever\n    if <(edit) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide variable [pen size v]\n\nwhen I receive [play v]\nhide variable [pen size v]\n\nwhen I receive [edytuj v]\nshow variable [pen size v]\n\n@kostium1 (5)4\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\nwhen this sprite clicked\nbroadcast (trawa v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [edytuj v]\nshow\n\n@kostium1 (5)2\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\nwhen this sprite clicked\nbroadcast (lawa v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [edytuj v]\nshow\n\n@kostium1 (5)3\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\nwhen this sprite clicked\nbroadcast (kolce v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [edytuj v]\nshow\n\n@kostium1 (5)5\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\nwhen this sprite clicked\nset [edit v] to [0]\nbroadcast (play v)\nforever\n    if <(edit) = [0]> then\n        pen up\n        set pen color to (#ffffff)\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen I receive [edytuj v]\nshow\n\nwhen flag clicked\nset [edit v] to [1]\n\n@kostium1 (5)6\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\nwhen this sprite clicked\nbroadcast (gumka v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [edytuj v]\nshow\n\n@kostium1 (5)7\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\ngo to x: (-217) y: (152)\nshow\n\nwhen this sprite clicked\nbroadcast (edytuj v)\n\nwhen I receive [edytuj v]\nset [edit v] to [1]\nhide\nshow variable [pen size v]\n\n@Duszek3\n\nwhen flag clicked\ngo to [back v] layer\n\n@kostka2\n\nwhen flag clicked\nhide\n\nwhen I receive [edytuj v]\nshow\n\nwhen I receive [koniec włączania v]\ngo to x: (-213) y: (-144)\nshow\n\nwhen I receive [play v]\nhide\n\nwhen I receive [koniec włączania v]\nset [costume v] to [1]\nforever\n    switch costume to (costume)\nend\n\n@Duszek4\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\n\n@Duszek5\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nshow\n\n@Duszek1\n\nwhen flag clicked\nhide\n\nwhen I receive [koniec włączania v]\nshow\ngo to [back v] layer\n\n
Poland\nkliknij sprzęt i narysuj swoja platformówkę a potem kliknij play i graj\nEnglish\nclick on gear and draw your platformer then save play and play\n\n\ndołącz do tego studia jeśli jesteś polakiem↓↓↓↓\n https://scratch.mit.edu/studios/30280804\n