~Turtle~ A platformer #SaveTheTurtles

Instructions: Welcome to Turtle a Platformer!\nArrow keys to move.\nNot Mobile friendly\nWE MADE IT TO 2,000 VIEWS! TYSM!\n2,000th viewer is @FarishIlmi\nI shared this special project 2 years ago!\nYou may remix but PLEASE Give credit to Me and @js_coder for the code.

@Stage\n\n@Blank\n\n@Player\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (10)\n    change [color v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nshow\nset [y velocity v] to [0]\nset [x velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\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 x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [Boing v]\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-214) y: (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (danger! v)?> then\n        go to x: (-214) y: (-90)\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch backdrop to (backdrop2 v)\n    else\n        if <(Level) = [13]> then\n            switch backdrop to (backdrop1 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Avicii - Levels epic v] until done\nend\n\n@Danger!\n\nwhen flag clicked\nrepeat (10)\n    hide\n    go to x: (0) y: (0)\nend\nforever\n    if <(Level) = [3]> then\n        switch costume to (costume1 v)\n        show\n    else\n        hide\n        if <(Level) = [4]> then\n            switch costume to (costume2 v)\n            show\n        else\n            hide\n            if <(Level) = [5]> then\n                switch costume to (costume3 v)\n                show\n            else\n                hide\n                if <(Level) = [6]> then\n                    switch costume to (costume4 v)\n                    show\n                else\n                    hide\n                    if <(Level) = [10]> then\n                        switch costume to (costume5 v)\n                        show\n                    else\n                        hide\n                        if <(Level) = [11]> then\n                            switch costume to (costume6 v)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [timer2 v] to ((timer) + (.1))\nend\n\nwhen [timer v] > (timer2)\nhide\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n