Beach Platformer
@Stage\n\nwhen flag clicked\nset volume to (40) %\nforever\n    play sound [76b232400d8b201 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Игрок\n\ndefine Касание земли\nchange [высота v] by (1)\nrepeat until <not <<touching color (#db7979)?> or <touching color (#fdff8c)?>>>\n    if <(Скорость падения) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [скорость падения v] to [0]\n    end\n    set [высота v] to [0]\nend\n\ndefine Управление\nif <key (right arrow v) pressed?> then\n    point in direction (90)\n    move (10) steps\n    if <<touching color (#fdff8c)?> or <touching color (#db7979)?>> then\n        change x by (-10)\n    end\nend\nif <key (left arrow v) pressed?> then\n    point in direction (-90)\n    move (10) steps\n    if <<touching color (#fdff8c)?> or <touching color (#db7979)?>> then\n        change x by (10)\n    end\nend\nif <key (up arrow v) pressed?> then\n    if <<(Высота) < [3]> and <(Первый прыжок?) = [0]>> then\n        set [скорость падения v] to [11]\n        set [первый прыжок? v] to [1]\n    end\nelse\n    set [первый прыжок? v] to [0]\nend\n\ndefine Гравитация\nchange [скорость падения v] by (-0.7)\nchange y by (Скорость падения)\n\nwhen flag clicked\nset size to (38) %\npoint in direction (90)\ngo to x: (-150) y: (10)\nset rotation style [left-right v]\nif on edge, bounce\nshow\nforever\n    Гравитация\n    Касание земли\n    Управление\n    Правила игры\nend\n\ndefine Правила игры\nif <<touching (_edge_ v)?> and <(x position) > [0]>> then\n    if <not <(backdrop [name v]) = [LVL9]>> then\n        next backdrop\n        go to x: (-230) y: (-70)\n    end\nend\nif <touching color (#feffc2)?> then\n    go to x: (-150) y: (10)\n    set [скорость падения v] to [0]\nend\nif <touching color (#eadbfc)?> then\n    set [скорость падения v] to [13]\nend\nif <touching color (#f7ff66)?> then\n    repeat (5)\n        move (50) steps\n    end\nend\nif <touching color (#feffb8)?> then\n    repeat until <not <touching color (#feffb8)?>>\n        wait (0.01) seconds\n        change y by (-1)\n    end\nend\nif <<(backdrop [name v]) = [11]> and <touching color (#feffc2)?>> then\n    go to x: (-197) y: (-80)\n    set [скорость падения v] to [0]\nend\nif <<(backdrop [name v]) = [6]> and <touching color (#feffc2)?>> then\n    go to x: (-191) y: (80)\n    set [скорость падения v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [--end--]> then\n        forever\n            if <key (s v) pressed?> then\n                switch costume to (cube2 v)\n                set [скорость падения v] to [20]\n                switch costume to (cube v)\n            end\n        end\n    else\n        switch costume to (cube v)\n    end\nend\n\nwhen backdrop switches to [6 v]\ngo to x: (-191) y: (80)\n\n@Анимация\n\nwhen flag clicked\nhide\nforever\n    go to (игрок v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\n@Спрайт 2\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n@Love and fave reminder\n\nwhen I receive [intro v]\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    wait (pick random (6) to (9)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (105)\n    show\n    go to [front v] layer\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n
Arrow control. When you get to the final level, press all the keys to go in secret level.\n-----------------------------------------------------------------------\nПосмотри этот проект! - https://scratch.mit.edu/projects/635077102\n-----------------------------------------------------------------------