lukastaniak scroling platformer część 3
@Stage\n\n@pytka\n\nwhen flag clicked\nhide\nforever\n    go to (ciapek v)\n    point in direction ([x position v] of [ciapek v])\nend\n\nwhen I receive [game start v]\nwait (1) seconds\nshow\n\nwhen I receive [animacja v]\nstop [other scripts in sprite v]\n\n@ciapek\n\nwhen I receive [animacja v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\nforever\n    go to (player2 v)\n    point in direction ([x position v] of [player2 v])\nend\n\nwhen I receive [game start v]\nwait (1) seconds\nshow\n\n@Duszek2\n\nwhen flag clicked\nswitch costume to (kostium1 v)\nforever\n    switch costume to (kostium1 v)\n    repeat (32)\n        wait (0.20) seconds\n        next costume\n    end\n    change [stracone drożdże v] by (1)\nend\n\nwhen I receive [animacja v]\nstop [other scripts in sprite v]\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nshow\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\n    wait (0.20) seconds\nend\nhide\n\n@coś tam\n\nwhen I receive [transition in v]\n\nswitch costume to (costume1 v)\nhide\nshow\nrepeat (16)\n    next costume\nend\n\nwhen I receive [transition out v]\n\nswitch costume to (costume17 v)\nstart sound [Connect v]\nrepeat (16)\n    switch costume to ((costume [number v]) - (1))\nend\nhide\n\nstart sound [Disconnect v]\n\n@platforma\n\ndefine Create\nwait (1) seconds\nrepeat ((Level Costumes) - (1))\n    create clone of (_myself_ v)\n    change [level_x v] by (480)\n    next costume\nend\n\nwhen I receive [level loop v]\nforever\n    set x to ((Level_X) - (ScrollX))\n    if <([abs v] of ((Level_X) - (ScrollX)) ) > [480]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [delete all clones v]\n\nwhen I receive [setup v]\nshow\nclear graphic effects\ngo to x: (0) y: (0)\nset [level_x v] to [0]\nswitch costume to (costume1 v)\nCreate\nhide\n\ndefine Find Costume Number\nset [level costumes v] to [1]\nswitch costume to ((1) / (1))\nnext costume\nrepeat until <(costume [number v]) = [1]>\n    change [level costumes v] by (1)\n    next costume\nend\n\nset [level_x v] to [0]\n\n@ozduby\n\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\n\nwhen flag clicked\nwait (1) seconds\n\ndefine Create\nFind Costume Number\nrepeat ((Level Costumes) - (1))\n    create clone of (_myself_ v)\n    change [level_x v] by (480)\n    next costume\nend\n\nwhen I receive [level loop v]\nforever\n    set x to ((Level_X) - (ScrollX))\n    if <([abs v] of ((Level_X) - (ScrollX)) ) > [480]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [delete all clones v]\n\nwhen I receive [setup v]\nshow\nclear graphic effects\ngo to x: (0) y: (0)\nset [level_x v] to [0]\nswitch costume to (costume1 v)\nCreate\nhide\n\ndefine Find Costume Number\nset [level costumes v] to [1]\nswitch costume to ((1) / (1))\nnext costume\nrepeat until <(costume [number v]) = [1]>\n    change [level costumes v] by (1)\n    next costume\nend\n\nset [level_x v] to [0]\n\n@Player2\n\ndefine Set Costume\nif <(falling?) < [6]> then\n    if <(frame) = [0]> then\n        switch costume to (stojanisko2 v)\n    else\n        switch costume to ([floor v] of ((4) + ((frame) mod (6))) )\n    end\nelse\n    if <(speed y) > [0]> then\n        switch costume to (skakańsko v)\n    else\n        switch costume to (spadańsko 2 v)\n    end\nend\n\nwhen I receive [play v]\nshow\nforever\n    Griffpatch Platforming Engine [5]\nend\n\ndefine Touch Ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (platforma v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (platforma v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\nend\nchange [frame v] by (0.5)\n\ndefine Griffpatch Platforming Engine (speed)\nswitch costume to (hitbox v)\nif <<(speed y) < [4]> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n    change [speed y v] by (-1)\nelse\n    change [speed y v] by (-2)\nend\nchange y by (speed y)\nTouch Ground <(speed y) > [0]>\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    Walk (-90) ((speed) * (-1))\n    start sound [Running Footsteps Sound Effects All Sounds5 v]\nelse\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        Walk (90) (speed)\n        start sound [Running Footsteps Sound Effects All Sounds5 v]\n    else\n        set [frame v] to [0]\n    end\nend\nif <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n    if <<(jump key) = [0]> and <(falling?) < [3]>> then\n        start sound [recording1 v]\n        set [speed y v] to [14]\n        set [falling? v] to [6]\n        set [jump key v] to [1]\n    end\nelse\n    set [jump key v] to [0]\nend\nif <(y position) < [-180]> then\n    start sound [fall v]\n    go to x: (0) y: (0)\n    point in direction (90)\n    set [scrollx v] to [0]\n    set [speed y v] to [0]\nend\nSet Costume\nScrolling Blocks\n\ndefine Reset Player\nshow\nset size to (40) %\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (100)\nset [speed y v] to [0]\nset [falling? v] to [10]\nset [scrollx v] to [0]\nhide\n\ndefine Scrolling Blocks\nchange [scrollx v] by (x position)\nset x to (0)\n\nwhen flag clicked\nset [stracone drożdże v] to [0]\ngo to [front v] layer\nbroadcast (Game Start v)\nbroadcast (Transition In v) and wait\nbroadcast (Delete All Clones v) and wait\nbroadcast (SetUp v) and wait\nbroadcast (Level Loop v)\nbroadcast (Play v)\nbroadcast (Transition Out v) and wait\nbroadcast (Play BG Music v)\nsay [10 dni temu ciapek został orwany] for (2) seconds\nsay [odnalazłem go i ruszyłem śladem hejtera który go porwał ] for (4) seconds\nthink [tymczasem musze uratować mojego przyjaciela drożdża] for (4) seconds\nsay [ta fabryka do nieo też należy] for (2) seconds\nbroadcast (zxxxxxxxxx v)\n\nwhen I receive [setup v]\nReset Player\n\ndefine Quick Scroll\nif <key (right arrow v) pressed?> then\n    change [scrollx v] by (100)\nend\nif <key (left arrow v) pressed?> then\n    change [scrollx v] by (-100)\nend\n\nQuick Scroll\n\nplay sound [Running Footsteps Sound Effects All Sounds5 v] until done\n\nplay sound [recording1 v] until done\n\nplay sound [recording1 v] until done\n\nstart sound [Running Footsteps Sound Effects All Sounds5 v]\n\nplay sound [Running Footsteps Sound Effects All Sounds5 v] until done\n\nplay sound [Running Footsteps Sound Effects All Sounds5 v] until done\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        start sound [fall v]\n        go to x: (0) y: (0)\n        point in direction (90)\n        set [scrollx v] to [0]\n        set [speed y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffda8a)?> then\n        say [ty : wreszcie] for (2) seconds\n        say [adwikenobi:dzieki za uratowanie] for (2) seconds\n        say [teraz musimy uciekać] for (2) seconds\n        say [dlaczego] for (2) seconds\n        say [za nami są strzażnicy] for (2) seconds\n        say [ciąg dalszy nastąpi] for (2) seconds\n        say [wysadzmy tą fabryke] for (2) seconds\n    end\nend\n\nstop [all v]\n\n@muzyka\n\nwhen I receive [play bg music v]\nforever\n    play sound [Just life v] until done\nend\n\nwhen I receive [animacja v]\nstop [other scripts in sprite v]\n\n
strzałki lub wasd nie dotykaj czerwonego\n30 gwiazd i serc 4 część\n1 część  https://scratch.mit.edu/projects/495150298\n2 część https://scratch.mit.edu/projects/496302398\npodpowiedź pytka i ciapek mogą dotykać czerwonego\nta  część mi się podoba najbardziej\nprices or wasd don't touch the red\n30 stars and hearts 4th part\n1 part https://scratch.mit.edu/projects/495150298\nPart 2 https://scratch.mit.edu/projects/496302398\nthe hint of the question and the dot can touch the red ones\nI like this part the most