The Platformer

Instructions: sa \nBu Hesabın İlk Oyunu :)\n\nKalp yıldız atarmısın

@Stage\n\n@bulut\n\nwhen flag clicked\nwait (pick random (2) to (8)) seconds\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    go to (random position v)\n    set [side v] to (pick random (1) to (2))\n    show\n    set [ghost v] effect to (pick random (20) to (25))\n    go to [back v] layer\n    switch costume to (pick random (1) to (2))\n    if <(side) = [1]> then\n        go to x: (300) y: (pick random (150) to (100))\n        repeat until <(x position) < [-290]>\n            change x by (-0.5)\n        end\n    end\n    if <(side) = [2]> then\n        go to x: (-300) y: (pick random (150) to (100))\n        repeat until <(x position) > [270]>\n            change x by (0.5)\n        end\n        create clone of (_myself_ v)\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    set [side v] to (pick random (1) to (2))\n    show\n    set [ghost v] effect to (pick random (20) to (25))\n    go to [back v] layer\n    switch costume to (pick random (1) to (2))\n    if <(side) = [1]> then\n        go to x: (300) y: (pick random (150) to (100))\n        repeat until <(x position) < [-290]>\n            change x by (-0.5)\n        end\n        delete this clone\n    end\n    if <(side) = [2]> then\n        go to x: (-300) y: (pick random (150) to (100))\n        repeat until <(x position) > [270]>\n            change x by (0.5)\n        end\n    end\nend\n\n@lav\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (0) y: (30)\n    glide (1) secs to x: (0) y: (-5)\nend\n\n@ağaç fln\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [yeah!! v]\nnext costume\n\n@Level\n\nwhen flag clicked\nset [level v] to [0]\nswitch costume to (costume1 v)\n\nwhen I receive [yeah!! v]\nnext costume\n\n@oynucu\n\nwhen flag clicked\ngo to x: (-188) y: (120)\nset [x - vel 2 v] to [0]\nforever\n    change y by (y - vel 2)\n    change [y - vel 2 v] by (-1)\n    change y by (-1)\n    if <touching (level v)?> then\n        set [y - vel 2 v] to ((y - vel 2) - ((y - vel 2) * (2)))\n        set [y - vel 2 v] to [0]\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            change [y - vel 2 v] by (10)\n        end\n    end\n    change y by (1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x - vel 2 v] by (0.9)\n        switch costume to (sağ v)\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [x - vel 2 v] by (-0.9)\n            switch costume to (sol v)\n        end\n    end\n    set [x - vel 2 v] to ((0.9) * (x - vel 2))\n    change x by (x - vel 2)\n    if <touching (level v)?> then\n        change x by ((0) - (x - vel 2))\n    end\nend\n\nwhen flag clicked\nset [x 1 v] to (x position)\nset [y 1 v] to (y position)\nforever\n    if <touching (level v)?> then\n        go to x: (X 1) y: (Y 1)\n    else\n        set [x 1 v] to (x position)\n        set [y 1 v] to (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (dikjen v)?> then\n        go to x: (-188) y: (120)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (yeah!! v)\n    end\nend\n\nwhen I receive [yeah!! v]\ngo to x: (-188) y: (-61)\n\nwhen flag clicked\nforever\n    if <touching (lav v)?> then\n        go to x: (-188) y: (120)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\n\n@dikjen\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [yeah!! v]\nnext costume\n\n@kapak\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n