Lila || A Platformer

Instructions: -UK-\nHi! I am @GizemliYazilimci. You know, I doi film. Now I started making a platform! \nİts name: Lila A Platformer\nMove your character with the arrow keys,with your mouse, or with WADS keys.\n\n-TR-\nSelam! Ben @GizemliYazilimci. Bilirsin, ben dizi yapıyorum. Şimdi bir platform yapmaya başladım!\nAdı: Lila A Platformer (Lila Platform)\nKarakterinizi yön tuşları ile, fareniz ile,  WADS tuşları ile hareket ettirin.

@Stage\n\nwhen flag clicked\nswitch backdrop to (dekor 1 v)\n\nwhen I receive [levelup v]\nnext backdrop\n\n@Lila Kişi\n\nwhen flag clicked\nset size to (65) %\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (-50)\nset [seviye v] to [1]\nset [x konumu v] to [0]\nset [y konumu v] to [0]\npoint in direction (90)\nforever\n    change [y konumu v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (costume2 v)\n        change [x konumu v] by (-0.7)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume1 v)\n        change [x konumu v] by (0.7)\n    end\n    set [x konumu v] to ((x Konumu) * (0.9))\n    change x by (x Konumu)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (-4)\n        change x by ((x Konumu) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y konumu v] to [10]\n            if <([abs v] of (x Konumu) ) = (x Konumu)> then\n                set [x konumu v] to [-5]\n            else\n                set [x konumu v] to [5]\n            end\n        else\n            set [x konumu v] to [0]\n        end\n    end\n    change y by (Y Konumu)\n    if <touching (platform v)?> then\n        change y by ((0) - (Y Konumu))\n        set [y konumu v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (platform v)?>> then\n        set [y konumu v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y konumu v] to [0]\n    end\nend\n\nwhen flag clicked\nset [seviye v] to [1]\nforever\n    if <touching (engeller v)?> then\n        go to x: (-180) y: (-50)\n        broadcast (dead v)\n    end\n    if <(x position) > [244]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [seviye v] by (1)\n    end\n    if <(Seviye) = [16]> then\n        broadcast (end v)\n        stop [all v]\n    end\nend\n\n@Platform\n\nwhen flag clicked\nswitch costume to (1 v)\nforever\n    if <(Seviye) = [4]> then\n        switch costume to (2 v)\n    end\n    if <(Seviye) = [5]> then\n        switch costume to (3 v)\n    end\n    if <(Seviye) = [6]> then\n        switch costume to (4 v)\n    end\n    if <(Seviye) = [7]> then\n        switch costume to (1 v)\n    end\n    if <(Seviye) = [9]> then\n        switch costume to (5 v)\n    end\n    if <(Seviye) = [10]> then\n        switch costume to (6 v)\n    end\n    if <(Seviye) = [11]> then\n        switch costume to (7 v)\n    end\n    if <(Seviye) = [12]> then\n        switch costume to (8 v)\n    end\n    if <(Seviye) = [13]> then\n        switch costume to (9 v)\n    end\n    if <(Seviye) = [14]> then\n        switch costume to (10 v)\n    end\n    if <(Seviye) = [15]> then\n        switch costume to (11 v)\n    end\nend\n\n@Engeller\n\nwhen I receive [levelup v]\nnext costume\n\nwhen flag clicked\nswitch costume to (engeller v)\n\n@Kapak Fotoğrafı\n\nwhen flag clicked\nswitch costume to (kostüm 1 v)\nforever\n    go to [front v] layer\n    change [ghost v] effect by (12)\nend\n\nwhen I receive [end v]\nswitch costume to (kostüm 2 v)\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\n@Kar Efekti :)\n\nwhen flag clicked\nshow\nforever\n    wait (pick random (0.2) to (0.7)) seconds\n    go to [back v] layer\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to ()\nshow\nset [yv v] to [-5]\npoint in direction (-165)\nset size to (100) %\ngo to x: (pick random (-200) to (275)) y: (200)\nset size to (100) %\nforever\n    turn right (.1) degrees\n    change [yv v] by (1)\n    set size to (100000) %\n    move (10) steps\n    set size to (100) %\n    if <(y position) < [-200]> then\n        delete this clone\n    end\n    if <touching (platform v)?> then\n        delete this clone\n    end\nend\n\n