Platformer Tutorial
@Stage\n\nwhen flag clicked\nset [whirl v] effect to (0)\nswitch backdrop to (backdrop1 v)\n\nwhen [space v] key pressed\nrepeat (50)\n    change [pixelate v] effect by (2)\nend\nnext backdrop\nrepeat (50)\n    change [pixelate v] effect by (-2)\nend\nwait (0.1) seconds\n\nwhen [right arrow v] key pressed\nrepeat (50)\n    change [pixelate v] effect by (2)\nend\nnext backdrop\nrepeat (50)\n    change [pixelate v] effect by (-2)\nend\nwait (0.1) seconds\n\nwhen [left arrow v] key pressed\nrepeat (50)\n    change [pixelate v] effect by (2)\nend\nswitch backdrop to ((backdrop [number v]) - (1))\nrepeat (50)\n    change [pixelate v] effect by (-2)\nend\nwait (0.1) seconds\n\nwhen flag clicked\nforever\n    play sound [TIN - Ticking v] until done\nend\n\n@block\n\ndefine Run Game\nchange [speed y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [speed x v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (2)\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <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 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                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (ground v)?> then\n    change y by (-8)\n    repeat until <not <touching (ground v)?>>\n        change x by ((Speed X) * (-1))\n    end\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        set [speed y v] to [10]\n        if <(Speed X) < [0]> then\n            set [speed x v] to [16]\n        else\n            set [speed x v] to [-16]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (ground v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\n\nwhen flag clicked\nforever\n    if <(x position) = [241]> then\n        go to x: (-241) y: (0)\n        broadcast (next v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) = [-179]> then\n        go to x: (-241) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nchange [brightness v] effect by (50)\nwait (0.5) seconds\ndelete this clone\n\nwhen flag clicked\nshow\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (-200) y: (0)\nset rotation style [left-right v]\nforever\n    Run Game\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\n@Ground\n\nwhen I receive [next v]\nnext costume\nwait (0.2) seconds\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nforever\n    hide\nend\n\n@Jump block (1)2 (1)\n\nwhen flag clicked\nhide\n\n
TUTORIAL: PLATFORMER\n\nART - @RainFreeze_Tutorials\n\nCODE - @RainFreeze_Tutorials\n\nEXAMPLE -\nhttps://scratch.mit.edu/projects/614995856\n\nHOW TO USE - \nUse Right arrow or Space to go next slide\nUse Left arrow to go to previous slide\n\nOTHER NOTES - \nSee inside project to read it better\nStart making Platformers!\n\nIts only working for some people. If you know how to fix it, please help me! I will credit you majorly!\n\n9TH ON TRENDING TUTORIALS!?!?!?!? 12/13/21