The Lost Kit || A Mobile Warriors Platformer
@Stage\n\nwhen I receive [next stage v]\nnext backdrop\n\n@Spiky thingies\n\nwhen flag clicked\nswitch costume to (costume25 v)\n\nwhen I receive [next stage v]\nnext costume\n\nwhen flag clicked\nforever\n    \nend\n\nwhen I receive [end animate 2 v]\nswitch costume to (costume18 v)\n\n@ground\n\nwhen flag clicked\nswitch costume to (costume24 v)\n\nwhen I receive [next stage v]\nnext costume\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <(costume [number v]) = [18]> then\n        broadcast (animate 2 v) and wait\n    end\nend\n\nwhen I receive [end animate 2 v]\nswitch costume to (costume18 v)\n\ngo to x: (0) y: (0)\n\ngo to (sprite1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [26]> then\n        broadcast (animate 3 v) and wait\n    end\nend\n\nwhen I receive [end animate 3 v]\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo [backward v] (4) layers\n\nwhen I receive [next stage v]\nnext costume\n\nbroadcast (animate 2 v)\n\nwhen I receive [end animate 2 v]\nswitch costume to (costume18 v)\n\n@Sprite3\n\nwhen I receive [animate 2 v]\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nwait (2) seconds\nswitch costume to (costume2 v)\nwait (5) seconds\nswitch costume to (costume3 v)\nwait (5) seconds\nswitch costume to (costume4 v)\nwait (5) seconds\nswitch costume to (costume5 v)\nwait (5) seconds\nbroadcast (end animate 2 v)\nhide\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [animate 3 v]\nswitch costume to (backdrop4 v)\ngo to [front v] layer\nshow\nwait (2) seconds\nswitch costume to (backdrop2 v)\nwait (3) seconds\nswitch costume to (backdrop3 v)\nwait (3) seconds\nswitch costume to (backdrop5 v)\nwait (3) seconds\nswitch costume to (backdrop7 v)\nwait (3) seconds\nswitch costume to (backdrop8 v)\nwait (3) seconds\nswitch costume to (backdrop9 v)\nwait (3) seconds\nswitch costume to (backdrop6 v)\nwait (3) seconds\nswitch costume to (backdrop11 v)\nwait (3) seconds\nrepeat (50)\n    change [brightness v] effect by (-2)\nend\nbroadcast (end animate 3 v)\nstop [all v]\n\nhide\n\n@Sprite1\n\nwhen I receive [next stage v]\nrepeat (1)\n    set [sprite1: yv v] to [0]\n    set [sprite1: xv v] to [0]\n    go to (boring variables. v)\nend\ngo to x: (-202) y: (-90)\n\nwhen I receive [next stage v]\nset [sprite1: yv v] to [0]\n\nwhen flag clicked\nset size to (70) %\ngo to [front v] layer\nforever\n    if <touching (spiky thingies v)?> then\n        start sound [Smash! v]\n        go to x: (-202) y: (-90)\n        change [times you died v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-202) y: (-130)\n        start sound [Respawn v]\n        repeat (5)\n            change [ghost v] effect by (-20)\n        end\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nset [ghost_toggle v] to [0]\nset [sprite1: yv v] to [0]\nset [sprite1: xv v] to [0]\ngo to x: (-202) y: (-100)\nforever\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n        change [sprite1: xv v] by (1)\n    end\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n        change [sprite1: xv v] by (-1)\n    end\n    set [sprite1: xv v] to ((Sprite1: Xv) * (0.9))\n    change x by (Sprite1: Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((Sprite1: Xv) * (-1))\n                            change y by (-5)\n                            if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                                if <(Sprite1: Xv) > [0]> then\n                                    set [sprite1: xv v] to [-5]\n                                else\n                                    set [sprite1: xv v] to [5]\n                                end\n                                set [sprite1: yv v] to [10]\n                            else\n                                set [sprite1: xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [sprite1: yv v] by (-1)\n    change y by (Sprite1: Yv)\n    if <touching (ground v)?> then\n        change y by ((Sprite1: Yv) * (-1))\n        set [sprite1: yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            set [sprite1: yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [234]> then\n        go to x: (-202) y: (-90)\n        broadcast (next stage v)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n    end\n    if <<<<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>>> and <not <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>>> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n    end\n    if <not <<<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>>>> then\n        switch costume to (costume2 v)\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        switch costume to (costume10 v)\n    end\nend\n\nwait (0.01) seconds\n\nwhen I receive [end animate 2 v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\n\nforever\n    set x to (([x position v] of [sprite1 v]) - (50))\nend\n\ngo to (sprite1 v)\n\nwhen I start as a clone\nset rotation style [left-right v]\nset [ghost_toggle v] to [0]\nset [sprite1: yv v] to [0]\nset [sprite1: xv v] to [0]\ngo to x: (-202) y: (-100)\nforever\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n        change [sprite1: xv v] by (1)\n    end\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n        change [sprite1: xv v] by (-1)\n    end\n    set [sprite1: xv v] to ((Sprite1: Xv) * (0.9))\n    change x by (Sprite1: Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((Sprite1: Xv) * (-1))\n                            change y by (-5)\n                            if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                                if <(Sprite1: Xv) > [0]> then\n                                    set [sprite1: xv v] to [-5]\n                                else\n                                    set [sprite1: xv v] to [5]\n                                end\n                                set [sprite1: yv v] to [10]\n                            else\n                                set [sprite1: xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [sprite1: yv v] by (-1)\n    change y by (Sprite1: Yv)\n    if <touching (ground v)?> then\n        change y by ((Sprite1: Yv) * (-1))\n        set [sprite1: yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            set [sprite1: yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I start as a clone\nset rotation style [left-right v]\nforever\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n    end\n    if <<<<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>>> and <not <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>>> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n    end\n    if <not <<<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>>>> then\n        switch costume to (costume2 v)\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        switch costume to (costume10 v)\n    end\nend\n\nwhen I start as a clone\nchange size by (30)\nset [color v] effect to (90)\nset [brightness v] effect to (-30)\n\nwhen I start as a clone\nforever\n    if <touching color (#80ff66)?> then\n        change y by (20)\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nforever\n    if <key (r v) pressed?> then\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-202) y: (-130)\n        start sound [Respawn v]\n        repeat (5)\n            change [ghost v] effect by (-20)\n        end\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nrepeat (100)\n    change [ghost v] effect by (1)\nend\n\nwhen flag clicked\nrepeat (100)\n    change [whirl v] effect by (30)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [end animate 3 v]\ngo to [front v] layer\n\n
               The Lost Kit || A Warriors Platformer\n===========================================\nYou are a lost kit! You need to get back to Stormclan! Luckily, Storm, the first leader of Stormclan will guide you!\n                              INSTRUCTIONS:\n-Arrow keys, WASD, or touchscreen to move\n-Avoid Twoleg things like fences, wire, etc.\n-Avoid water, you don't want to drown\n-Avoid holes\n-R to restart the level\n\n2nd one: https://scratch.mit.edu/projects/441211356/\n3rd one: https://scratch.mit.edu/projects/470770225/