Cat || A Platformer
@Stage\n\n@Cat\n\nwhen I receive [select v]\nset [level v] to [1]\nforever\n    if <<key (b v) pressed?> or <touching (engeller v)?>> then\n        go to x: (-180) y: (-50)\n        broadcast (dead v)\n    end\n    if <(x position) > [246]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [level v] by (1)\n    end\n    if <(Level) = [21]> then\n        broadcast (end v)\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [select v]\nset size to (65) %\ngo to [front v] layer\nswitch costume to (1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (50)\nset [level v] to [1]\nset [x v] to [0]\nset [y2 v] to [0]\npoint in direction (90)\nforever\n    change [y2 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        change [x 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        change [x v] by (0.7)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\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) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y2 v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y2)\n    if <touching (platform v)?> then\n        change y by ((0) - (y2))\n        set [y2 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 [y2 v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y2 v] to [0]\n    end\nend\n\nwhen flag clicked\nhide variable [level v]\nhide\n\nwhen I receive [select v]\nshow variable [level v]\nset size to (30) %\nswitch costume to (Costume)\nshow\n\n@Platform\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (kostüm 8 v)\nwait until <(Level) = [7]>\nswitch costume to (kostüm 2 v)\nwait until <(Level) = [8]>\nswitch costume to (kostüm 3 v)\nwait until <(Level) = [9]>\nswitch costume to (kostüm 4 v)\nwait until <(Level) = [10]>\nswitch costume to (kostüm 6 v)\nwait until <(Level) = [11]>\nswitch costume to (kostüm 5 v)\nwait until <(Level) = [12]>\nswitch costume to (kostüm 7 v)\nwait until <(Level) = [13]>\nswitch costume to (kostüm 1 v)\nwait until <(Level) = [14]>\nswitch costume to (kostüm 9 v)\nwait until <(Level) = [15]>\nswitch costume to (kostüm 10 v)\nwait until <(Level) = [16]>\nswitch costume to (kostüm 11 v)\n\n@Seçim\n\nwhen flag clicked\nshow\n\nwhen I receive [select v]\nhide\n\n@Cat Select\n\nwhen flag clicked\nset [costume v] to []\nswitch costume to (1 v)\nshow\n\nwhen I receive [c1 v]\nnext costume\n\nwhen I receive [c2 v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [select v]\nset [costume v] to (costume [number v])\n\nwhen I receive [select v]\nhide\n\nwhen flag clicked\nforever\n    set [costume v] to (costume [number v])\nend\n\n@Sağ Ok\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (c1 v)\n\nwhen I receive [select v]\nhide\n\n@Sol Ok\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (c2 v)\n\nwhen I receive [select v]\nhide\n\n@Seçim2\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (select v)\nhide\n\n@Engeller\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [select v]\nshow\nshow\n\nwhen I receive [levelup v]\nnext costume\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Kapak Foosu\n\nwhen flag clicked\nswitch costume to (kostüm 1 v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    play sound [Muzik v] until done\nend\n\nwhen flag clicked\nswitch costume to (vector1 v)\ngo to [front v] layer\nclear graphic effects\nhide\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (Timer)\nshow\ngo to x: (1000) y: (0)\nSmooth Glide x: [0] y: [0] speed: [6]\nhide variable [level v]\n\ndefine Smooth Glide x: (x) y: (y) speed: (speed)\nrepeat until <<(round (x)) = (round (x position))> and <(round (y)) = (round (y position))>>\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\nend\ngo to x: (x) y: (y)\n\nwhen [timer v] > (Timer)\nswitch costume to (kostüm 2 v)\nforever\n    go to [front v] layer\nend\n\n@Güneş\n\nwhen flag clicked\ngo to [back v] layer\nshow\ngo to x: (218) y: (160)\nset size to (100) %\nforever\n    repeat (40)\n        change size by (0.4)\n    end\n    repeat (40)\n        change size by (-0.4)\n    end\nend\n\n
-- EN ---\n Hello! This is a platform game!\n Cat a platformer!\n You can select your cat. \n Use arrow keys, WASD or your mouse.\n Have fun!\n\n-- TR --\n Merhaba! Bu bir platform oyunu!\n Cat a platformer! \n İstediğin kediyi seçebilirsin.\n Ok tuşlarını, WASD tuşlarını veya fareni kullan.\n İyi eğlencelerr!