||Forest - A platformer||Part 1||

Instructions: ======Arrow controls. like and star for part 2!======\n""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\nArt and levels by me\nCode 60% by @HumanO_o\n"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\nPlease follow to me! After all, you can help me collect 250 followers! :)\n"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\nPart 2! - https://scratch.mit.edu/projects/643679365

@Stage\n\nwhen flag clicked\nforever\n    play sound [Medieval2 v] until done\nend\n\nwhen flag clicked\nforever\n    play sound [Tropical Birds v] until done\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    play sound [Jungle Frogs v] until done\n    wait (1) seconds\nend\n\nwhen flag clicked\nset [sound v] to [100]\nforever\n    set volume to (Sound) %\nend\n\n@Спрайт 1\n\n@Игрок\n\ndefine Касание земли\nchange [высота v] by (1)\nrepeat until <not <touching (спрайт 2 v)?>>\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    switch costume to (право v)\n    point in direction (90)\n    move (8) steps\n    if <touching (спрайт 2 v)?> then\n        change x by (-9)\n    end\nend\nif <key (left arrow v) pressed?> then\n    point in direction (-90)\n    switch costume to (лево v)\n    move (8) steps\n    if <touching (спрайт 2 v)?> then\n        change x by (9)\n    end\nend\nif <key (up arrow v) pressed?> then\n    if <<(Высота) < [3]> and <(Первый прыжок?) = [0]>> then\n        set [скорость падения v] to [10]\n        set [первый прыжок? v] to [2]\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 (70) %\npoint in direction (90)\ngo to x: (-194) y: (-15)\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    go to x: (-194) y: (-15)\n    broadcast (сообщение1 v)\nend\nif <touching (/ v)?> then\n    go to x: (-194) y: (-15)\n    set [скорость падения v] to [0]\nend\nif <touching color (#baff66)?> then\n    set [скорость падения v] to [17]\nend\n\ndefine ВНИМАНИЕ\nВНИМАНИЕ\n\nwhen [r v] key pressed\ngo to x: (-194) y: (-15)\nset [скорость падения v] to [0]\n\n@Анимация\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    hide\n    forever\n        go to (игрок v)\n        create clone of (_myself_ v)\n    end\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 I receive [сообщение1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\n\n@/\n\nwhen I receive [сообщение1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\n\n@Спрайт 3\n\nwhen I receive [сообщение1 v]\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\n\n@Спрайт 4\n\nwhen I receive [сообщение1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\n\n@-\n\nwhen flag clicked\nhide variable [sound v]\nhide variable [tail v]\nset [v v] to [0]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (cake-b2 v)\n    else\n        switch costume to (cake-b v)\n    end\nend\n\nwhen this sprite clicked\nif <(v) = [0]> then\n    set [v v] to [1]\n    show variable [sound v]\n    show variable [tail v]\nelse\n    set [v v] to [0]\n    hide variable [sound v]\n    hide variable [tail v]\nend\n\n@Спрайт 5\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n