Platformer YouTube Tutorial
@Stage\n\n@Pico Walking\n\nwhen flag clicked\nset [yv v] to [0]\nforever\n    if <touching color (#515151)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n            set [going up v] to [1]\n            repeat (10)\n                change y by (yv)\n                change [yv v] by (-1)\n            end\n            set [going up v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-196) y: (-10)\npoint in direction (90)\nset size to (60) %\nforever\n    if <<not <touching color (#515151)?>> and <(going up) = [0]>> then\n        change y by (yv)\n        change [yv v] by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        move (10) steps\n        next costume\n    end\n    if <key (left arrow v) pressed?> then\n        move (10) steps\n        set rotation style [left-right v]\n        point in direction (-90)\n        next costume\n    end\nend\n\nwhen I receive [set start v]\ngo to x: (-196) y: (0)\npoint in direction (90)\n\nwhen flag clicked\nforever\n    if <touching (crystal v)?> then\n        broadcast (next level v)\n    end\nend\n\nwhen [a v] key pressed\nset [size change v] to [0]\nrepeat (10)\n    change size by (size change)\n    change [size change v] by (-1)\nend\nset [size change v] to [0]\nrepeat (10)\n    change size by (size change)\n    change [size change v] by (1)\nend\n\ndefine hgjhgj\nrepeat ([abs v] of (yv) )\n    change y by (([abs v] of (yv) ) / (yv))\n    if <<touching (ground v)?> or <touching (levels v)?>> then\n        change y by ((([abs v] of (yv) ) / (yv)) * (-1))\n        set [yv v] to [0]\n        stop [this script v]\n    end\nend\n\n@Ground\n\n@levels\n\nwhen flag clicked\nset [score v] to [100]\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nchange [score v] by (50)\nnext costume\nbroadcast (set start v)\nbroadcast (update score v)\n\n@Crystal\n\nwhen flag clicked\nswitch costume to (crystal-a v)\n\nwhen I receive [next level v]\nnext costume\n\n@numbers\n\nwhen I receive [update score v]\nset [count v] to [1]\nerase all\nshow\nrepeat (3)\n    switch costume to (letter (count) of (score))\n    stamp\n    move (20) steps\n    change [count v] by (1)\nend\nmove (-60) steps\nhide\n\nwhen flag clicked\nset [count v] to [1]\nerase all\nshow\nrepeat (3)\n    switch costume to (letter (count) of (score))\n    stamp\n    move (20) steps\n    change [count v] by (1)\nend\nmove (-60) steps\nhide\n\n
Hi all, \n\nI made this platformer ONLY TO MAKE TUTORIALS for it on YouTube. So it is NOT a perfect game, levels or other stuff associated with it. However, it is a good starting point for your own projects as you can remix and make awesome stuff. You can watch all the tutorials here:\n\nPart 1:\nhttps://youtu.be/7gkSbtpmpXI\n\nPart 2:\nhttps://youtu.be/TzIQCqrnWZ8\n\nPart 3:\nhttps://youtu.be/Qxo1rgP7IH4\n\nPart 4:\nhttps://youtu.be/p9WkgqGwmO4