GROW- a platformer
@Stage\n\n@Penguin\n\nwhen flag clicked\nswitch backdrop to (blue sky v)\ngo to x: (-214) y: (115)\nswitch costume to (penguin-b v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nset size to (20) %\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (costume1 v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (penguin-b v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#663b00)?> then\n        change y by (1)\n    end\n    if <touching color (#663b00)?> then\n        change y by (1)\n    end\n    if <touching color (#663b00)?> then\n        change y by (1)\n    end\n    if <touching color (#663b00)?> then\n        change y by (1)\n    end\n    if <touching color (#663b00)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#663b00)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#663b00)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [225]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n        change size by (5)\n    end\n    if <touching color (#ccff00)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen backdrop switches to [blue sky10 v]\nwait until <(x position) > [-1]>\nbroadcast (message1 v)\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\ngo to x: (300) y: (0)\nshow\nglide (5) secs to x: (128) y: (0)\n\n
Part 2 is out!!!!!! https://scratch.mit.edu/projects/313088908/\nWelcome to GROW- a platformer.\nINSTRUCTIONS\nLeft arrow key- move left\nRight arrow key- move right\nUp arrow key- jump\nHold up and left/right to wall jump\nRed respawns you\nYellow bounces you