Adsız - Platformer

Instructions: Bu kolay bir parkur oyunudur.\n-------------------------------------------------------------------\nHareket:\nWASD/Ok tuşları\nAdsız 2:\nhttps://scratch.mit.edu/projects/654714749/\n\n#Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur #Platformer #Parkur 

@Stage\n\nwhen flag clicked\nforever\n    play sound [The Fat Rat - Unity \(Without female voice\).mp3 v] until done\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (1 v)\nreset timer\nhide variable [oynadığın süre: v]\nset [oynadığın süre: v] to [0]\n\nwhen I receive [level v]\nnext costume\n\nwhen I receive [level v]\nif <(costume [number v]) = [7]> then\n    set [oynadığın süre: v] to (timer)\n    show variable [oynadığın süre: v]\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [1]> then\n        set [level v] to [1]\n    end\n    if <(costume [name v]) = [2]> then\n        set [level v] to [2]\n    end\n    if <(costume [name v]) = [3]> then\n        set [level v] to [3]\n    end\n    if <(costume [name v]) = [4]> then\n        set [level v] to [4]\n    end\n    if <(costume [name v]) = [5]> then\n        set [level v] to [5]\n    end\n    if <(costume [name v]) = [6]> then\n        set [level v] to [6]\n    end\n    if <(costume [name v]) = [7]> then\n        set [level v] to [7]\n    end\nend\n\n@Player\n\nwhen flag clicked\nswitch costume to (costume20 v)\nset rotation style [left-right v]\nshow\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\ngo to x: (-161) y: (-29)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change x by (4)\n        if <touching (level v)?> then\n            change x by (-4)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change x by (-4)\n        if <touching (level v)?> then\n            change x by (4)\n        end\n    end\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                set [yv v] to [10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [12]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (Level v)\n        go to x: (-161) y: (-29)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (dikenler v)?> then\n        go to x: (-161) y: (-29)\n    end\nend\n\n@Dikenler\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (7 v)\n    end\nend\n\n