F4F (Platformer)
@Stage\n\n@Player\n\nwhen flag clicked\ngo to x: (-194) y: (-125)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.8))\n    change x by (Xv)\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#565656)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#565656)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [14]\n        end\n    end\n    change y by (1)\n    if <touching color (#565656)?> then\n        change y by (1)\n        if <touching color (#565656)?> then\n            change y by (1)\n            if <touching color (#565656)?> then\n                change y by (1)\n                if <touching color (#565656)?> then\n                    change y by (1)\n                    if <touching color (#565656)?> then\n                        change y by (1)\n                        if <touching color (#565656)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-194) y: (-125)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(x position) > [235]> then\n        go to x: (-194) y: (-125)\n        broadcast (Next Level v)\n    end\nend\n\nwhen [space v] key pressed\nnext costume\n\n@Levels\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next level v]\nnext backdrop\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n
Arrow Keys/ WAD to move\nSpace to switch between scratch cat and Gobo\nLEARN ABOUT F4F!!!