Platformer
@Stage\n\nwhen I receive [3 v]\nswitch backdrop to (тло2 v)\n\nwhen flag clicked\nswitch backdrop to (тло1 v)\n\n@Спрайт1\n\nwhen flag clicked\nset [моя змінна v] to [0]\nshow\ngo to x: (-200) y: (-97)\n\nwhen [right arrow v] key pressed\nrepeat until <not <key (right arrow v) pressed?>>\n    change x by (8)\nend\n\nwhen [left arrow v] key pressed\nrepeat until <not <key (left arrow v) pressed?>>\n    change x by (-8)\nend\n\nwhen [up arrow v] key pressed\nrepeat until <not <key (up arrow v) pressed?>>\n    repeat (15)\n        change y by (8)\n    end\n    repeat (15)\n        change y by (-8)\n    end\nend\n\nwhen I receive [1 v]\ngo to x: (-200) y: (-97)\nstop [other scripts in sprite v]\n\nwhen I receive [2 v]\ngo to x: (-200) y: (-97)\nstop [other scripts in sprite v]\n\nwhen I receive [3 v]\nhide\n\nwhen [w v] key pressed\nrepeat until <not <key (w v) pressed?>>\n    repeat (15)\n        change y by (8)\n    end\n    repeat (15)\n        change y by (-8)\n    end\nend\n\nwhen [d v] key pressed\nrepeat until <not <key (d v) pressed?>>\n    change x by (8)\nend\n\nwhen [a v] key pressed\nrepeat until <not <key (a v) pressed?>>\n    change x by (-8)\nend\n\n@Спрайт2\n\nwhen flag clicked\nshow\n\nwhen I receive [3 v]\nhide\n\n@Спрайт3\n\nwhen flag clicked\nshow\nforever\n    if <touching (спрайт1 v)?> then\n        broadcast (1 v)\n    end\nend\n\nwhen I receive [3 v]\nhide\n\n@Спрайт4\n\nwhen flag clicked\nshow\nswitch costume to (образ1 v)\nforever\n    if <touching (спрайт1 v)?> then\n        broadcast (2 v)\n    end\n    if <(costume [number v]) = [9]> then\n        broadcast (3 v)\n    end\nend\n\nwhen I receive [1 v]\nnext costume\n\nwhen I receive [3 v]\nhide\n\n@Спрайт5\n\nwhen flag clicked\nhide\n\n@Спрайт6\n\nwhen flag clicked\ngo to x: (-200) y: (-97)\nforever\n    go to (спрайт1 v)\nend\n\nwhen flag clicked\nshow\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (0.5) seconds\ndelete this clone\n\nwhen I start as a clone\nset size to (100) %\nforever\n    change [ghost v] effect by (8)\n    change size by (-3)\nend\n\nwhen I receive [3 v]\nhide\n\n
Part 2 https://scratch.mit.edu/projects/808760423/