Normal || Platformer TOTALLY NOTHING UNUSUAL. #Wierd #Platformer #Capt_Boanerges
@Stage\n\nwhen flag clicked\nswitch backdrop to (фон 1 v)\n\nwhen I receive [офф чек v]\nforever\n    if <(уровень -) < [6]> then\n        switch backdrop to (фон 3 v)\n    end\n    if <[5] < (уровень -)> then\n        switch backdrop to (фон 2 v)\n    end\n    if <[10] < (уровень -)> then\n        switch backdrop to (фон 4 v)\n    end\nend\n\nwhen flag clicked\nwait (5) seconds\nforever\n    play sound [Soundtrack v] until done\nend\n\n@чекинг\n\nwhen I receive [чекинг v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nbroadcast (офф чек v)\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nswitch costume to (   v)\nhide\nforever\n    reset timer\nend\n\nwhen I receive [провал v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen [timer v] > (0.000000000000000000000000000001)\ngo to [front v] layer\nshow\n\nwhen I receive [побда!1!!!!1 v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nbroadcast (олвловолдовлоалдфыводлафовджлы v)\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Персонаж\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [офф чек v]\nwait (2) seconds\nshow\ngo to x: (0) y: (69)\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (вправо v)\n    else\n        if <key (left arrow v) pressed?> then\n            switch costume to (влево v)\n        else\n            switch costume to (прямо v)\n        end\n    end\nend\n\nwhen I receive [побда!1!!!!1 v]\nstop [other scripts in sprite v]\nhide\n\n@Поверхность\n\ndefine констроль <контроль?> скорость (скорость) трение (трение) прыжок (высота) гравитация (гравитация)\nchange y by (-5)\nif <<контроль?> and <key (right arrow v) pressed?>> then\n    change [х v] by ((скорость) * (-1))\nend\nif <<контроль?> and <key (left arrow v) pressed?>> then\n    change [х v] by (скорость)\nend\nchange y by (у)\nif <touching (персонаж v)?> then\n    repeat ([abs v] of (у) )\n        if <touching (персонаж v)?> then\n            change y by ((-1) * (([abs v] of (у) ) / (у)))\n        end\n    end\n    if <<контроль?> and <<key (up arrow v) pressed?> and <not <[0] > (у)>>>> then\n        set [прыжок? v] to [1]\n        set [у v] to ((-1) * (высота))\n    else\n        set [у v] to [0]\n        set [прыжок? v] to [0]\n    end\nelse\n    change [у v] by (гравитация)\nend\nchange x by (х)\nif <touching (персонаж v)?> then\n    set [уу v] to (y position)\n    repeat (([abs v] of (х) ) + (1))\n        if <touching (персонаж v)?> then\n            change y by (-1)\n        end\n    end\n    if <touching (персонаж v)?> then\n        set y to (уу)\n        repeat ([ceiling v] of ([abs v] of (х) ) )\n            if <touching (персонаж v)?> then\n                change x by ((-1) * (([abs v] of (х) ) / (х)))\n            end\n        end\n    end\nend\nset [х v] to ((х) * (трение))\nchange y by (5)\n\nwhen flag clicked\nhide\nset [уровень - v] to [1]\nset [х v] to [0]\nset [у v] to [0]\nbroadcast (чекинг v)\nforever\n    set [ghost v] effect to (100)\n    if <<(уровень -) = [9]> and <(y position) > [1602]>> then\n        "бамп"\n        wait (3) seconds\n    end\nend\n\nwhen [space v] key pressed\n\nbroadcast (провал v)\n\ndefine "бамп"\ngo to x: (0) y: (0)\n\nwhen I receive [офф чек v]\nswitch costume to (уровень -)\n"бамп"\nshow\n\nwhen I receive [офф чек v]\nwait (2) seconds\nforever\n    if <(уровень -) < [6]> then\n        констроль <[1] = [1]> скорость [1.5] трение [0.8] прыжок [10] гравитация [0.9]\n    end\n    if <<[5] < (уровень -)> and <(уровень -) < [11]>> then\n        if <color (#9966ff) is touching (#422626)?> then\n            repeat until <color (#0056ff) is touching (#422626)?>\n                констроль <[1] = [1]> скорость [1.6] трение [0.8] прыжок [2] гравитация [0.025]\n            end\n        else\n            констроль <[1] = [1]> скорость [1.6] трение [0.8] прыжок [2] гравитация [0.07]\n        end\n    end\n    if <<[10] < (уровень -)> and <(уровень -) < [16]>> then\n        if <color (#c8a7cf) is touching (#422626)?> then\n            repeat until <color (#0056ff) is touching (#422626)?>\n                констроль <[1] = [1]> скорость [0.9] трение [0.8] прыжок [27] гравитация [1.5]\n            end\n        else\n            констроль <[1] = [1]> скорость [2] трение [0.8] прыжок [9] гравитация [1]\n        end\n    end\nend\n\nwhen I receive [провал v]\nwait (0.5) seconds\n"бамп"\n\nwhen I receive [побда!1!!!!1 v]\nstop [other scripts in sprite v]\n\n@Декорации\n\nwhen flag clicked\nhide\n\nwhen I receive [офф чек v]\nswitch costume to (уровень -)\ngo to [back v] layer\nshow\nforever\n    go to (поверхность v)\nend\n\nwhen I receive [побда!1!!!!1 v]\nstop [other scripts in sprite v]\n\n@Плохо\n\nwhen flag clicked\nhide\nforever\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [офф чек v]\nswitch costume to (уровень -)\nshow\nforever\n    go to (поверхность v)\nend\n\nwhen I receive [офф чек v]\nforever\n    if <touching (персонаж v)?> then\n        broadcast (провал v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [побда!1!!!!1 v]\nstop [other scripts in sprite v]\n\n@финиш\n\nwhen flag clicked\nhide\nforever\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [офф чек v]\nswitch costume to (уровень -)\nshow\nforever\n    go to (поверхность v)\nend\n\nwhen flag clicked\n\nwhen I receive [офф чек v]\nwait until <touching (персонаж v)?>\nbroadcast (чекинг v)\nstop [other scripts in sprite v]\nchange [уровень - v] by (1)\n\nwhen I receive [офф чек v]\nwait until <(уровень -) = [13]>\nstop [other scripts in sprite v]\nwait until <key (space v) pressed?>\nbroadcast (побда!1!!!!1 v)\n\n@ЧЕКАААААААННАЯ монета\n\nwhen flag clicked\nhide\n\nwhen I receive [офф чек v]\nclear graphic effects\nswitch costume to (уровень -)\nshow\nforever\n    go to (поверхность v)\nend\n\nwhen I receive [офф чек v]\nwait until <touching (персонаж v)?>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [побда!1!!!!1 v]\nstop [other scripts in sprite v]\n\n@ \n\nwhen flag clicked\nhide\n\nwhen I receive [олвловолдовлоалдфыводлафовджлы v]\nshow\n\n
Fixed 7/2/2020