MidNight - Platformer 3

Instructions: ADS(REKLAM): ⛔\nFirst Part: https://scratch.mit.edu/projects/472853711\n1. Bölüm: https://scratch.mit.edu/projects/472853711\n  SecondPart:https://scratch.mit.edu/projects/474366006\n2.Bölüm: https://scratch.mit.edu/projects/474366006\n\nEN: \n⭐A new game scroller platform game is coming\n✅Welcome to the MidNight Platformer 2 game\n✅Second series of the MidNight Platformer game   ✅This is the last series.\n✅Some places have hidden thorns. It is important \n     that you pass calmly and carefully :D\n\n\nTR:\n⭐Yeni bir oyun scrolling platform oyunu geliyor\n✅MidNight (GeceYarısı) Platformer 2 oyununa \n     hoşgeldiniz.\n✅MidNight (GeceYarısı) Platformer oyununun 3. \n     serisi.\n✅Bu son seridir.\n✅Dikkat edin bazı yerlerde gizli kazıklar var sakince \n     ve dikkatlice geçmenizi öneririm :D

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Yer\n\nwhen flag clicked\nshow\nrepeat until <(level) = [12]>\n    if <(level) = [1]> then\n        switch costume to (kostüm 1 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [2]> then\n        switch costume to (kostüm 2 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [3]> then\n        switch costume to (kostüm 3 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [4]> then\n        switch costume to (kostüm 4 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [5]> then\n        switch costume to (kostüm 7 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [6]> then\n        switch costume to (kostüm 6 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [7]> then\n        switch costume to (kostüm 5 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [8]> then\n        switch costume to (kostüm 8 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [9]> then\n        switch costume to (kostüm 9 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [10]> then\n        switch costume to (kostüm 10 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [11]> then\n        switch costume to (kostüm 11 v)\n        go to x: (36) y: (28)\n    end\n    if <(level) = [12]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        switch costume to (kostüm 11 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (kostüm 1 v)\n\n@Karakter\n\nwhen flag clicked\nhide\nwait (2) seconds\ngo to x: (-154) y: (9)\nwait (1) seconds\nshow\nset [level v] to [1]\nforever\n    Kukla. <(y) > [0]>\nend\n\ndefine Kukla. <yukarı>\nset [duvar v] to [0]\nset [yere çarpma v] to [0]\nchange [y v] by (-1)\nchange y by (y)\nrepeat until <not <touching (yer v)?>>\n    if <yukarı> then\n        change y by (-1)\n    else\n        set [yere çarpma v] to <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>\n        change y by (1)\n    end\n    set [y v] to [0]\n    if <(Yere çarpma) = [true]> then\n        set [y v] to [15]\n    end\nend\nchange [x v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\nchange [x v] by (<key (d v) pressed?> - <key (a v) pressed?>)\nchange [x v] by (<<mouse down?> and <(mouse x) > (x position)>> - <<mouse down?> and <(x position) > (mouse x)>>)\nset [x v] to ((x) * (0.9))\nchange x by (x)\nrepeat until <not <touching (yer v)?>>\n    change x by ((([abs v] of (x) ) / (x)) * (-1))\n    set [duvar v] to [1]\nend\nif <<(Duvar) = [1]> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(x) > [0]> then\n        set [x v] to [-10]\n    else\n        set [x v] to [10]\n    end\n    set [y v] to [15]\nend\nif <(x position) > [282]> then\n    broadcast (Yeni level v)\n    repeat (1)\n        change [level v] by (1)\n    end\nend\nif <<touching (kazıklar  v)?> or <touching (kazıklar  v)?>> then\n    broadcast (Baştan başla v)\nend\n\nwhen I receive [baştan başla v]\ngo to x: (-154) y: (9)\n\nwhen I receive [yeni level v]\nif <not <(level) = [12]>> then\n    go to x: (-154) y: (9)\nend\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Spectre \[NCS Release\].mp2 v] until done\nend\n\nwhen I receive [bitiş v]\nwait (5) seconds\nstop all sounds\nstop [all v]\n\n@Kazıklar \n\nwhen I receive [bitiş v]\nhide\n\nwhen flag clicked\nhide\nwait (2) seconds\nwait (1) seconds\nswitch costume to (kostüm 2 v)\nshow\nrepeat until <(level) = [12]>\n    if <(level) = [1]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 1 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [2]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 2 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [3]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 3 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [4]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 4 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [5]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 5 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [6]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 6 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [7]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 7 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [8]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 8 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [9]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 9 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [10]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 10 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [11]> then\n        show\n        go to [front v] layer\n        switch costume to (kostüm 11 v)\n        go to x: (36) y: (24)\n    end\n    if <(level) = [12]> then\n        hide\n        broadcast (Bitiş v)\n    end\nend\n\n@Kapak \n\nwhen flag clicked\nwait (2) seconds\nrepeat (4)\n    wait (0.01) seconds\n    change [ghost v] effect by (25)\nend\n\n