Scratch Cat Platformer 2
@Stage\n\n@Scratch Cat\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (1)\n        switch costume to (1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-1)\n        switch costume to (2 v)\n    end\n    change x by (Speed X)\n    if <touching (platform v)?> then\n        change x by ((Speed X) * (-1))\n        set [speed x v] to [0]\n    else\n        set [speed x v] to ((Speed X) * (0.8))\n    end\n    change y by (Speed Y)\n    if <touching (platform v)?> then\n        change y by ((Speed Y) * (-1))\n        set [speed y v] to [0]\n        if <(Lock) = [0]> then\n            if <key (up arrow v) pressed?> then\n                play sound [Jump v] until done\n                set [speed y v] to [10]\n                set [lock v] to [1]\n            end\n        end\n    else\n        change [speed y v] by (-1)\n        set [lock v] to [0]\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (-176) y: (-134)\nshow variable [timer v]\nset [speed x v] to [0]\nset [speed y v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        start sound [Teleport v]\n        broadcast (Next Level v)\n        go to x: (-176) y: (-134)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (red v)?> then\n        start sound [Death v]\n        go to x: (-176) y: (-134)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (0)\nforever\n    if <key (right arrow v) pressed?> then\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n    end\n    if <key (left arrow v) pressed?> then\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (50)\nwait (0.6) seconds\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (enemy v)?> then\n        start sound [Death v]\n        go to x: (-176) y: (-134)\n    end\nend\n\nwhen flag clicked\nset [can timer run? v] to [yes]\nset [timer v] to [0]\nforever\n    if <(Can Timer Run?) = [yes]> then\n        change [timer v] by (0.1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        set [can timer run? v] to [no]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\n@Platform\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen I receive [next level v]\ngo to [back v] layer\ngo [backward v] (1) layers\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        set [can timer run? v] to [no]\n    end\nend\n\n@Portal\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\n@Red\n\nwhen flag clicked\ngo [forward v] (1) layers\ngo to [front v] layer\nshow\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Enemy\n\nwhen flag clicked\nshow\nswitch costume to (blank v)\ngo to [front v] layer\ngo [forward v] (1) layers\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        show\n        go to x: (20) y: (-129)\n        repeat until <(costume [number v]) = [7]>\n            repeat (50)\n                change x by (2)\n            end\n            repeat (50)\n                change x by (-2)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        show\n        go to x: (218) y: (-133)\n        repeat until <(costume [number v]) = [10]>\n            repeat (20)\n                change x by (3)\n            end\n            repeat (20)\n                change x by (-3)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        show\n        go to x: (218) y: (-133)\n        repeat until <(costume [number v]) = [11]>\n            repeat (20)\n                change x by (3)\n            end\n            repeat (20)\n                change x by (-3)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        hide\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\n
Use arrow keys to move. 20 Views and another level.\nLets get this top remixed or featured!\nMy record is exactly 71.5 seconds!\nWorld record: 71 seconds by @AWCMONKIDS\nCan we get this to 1,000 views by 2022? And 100 loves and faves? Please send this project to everyone you know and lets reach my goal! Thank you all so much you guys and gals are amazing!