Blue Platformer 3
@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@Player\n\nwhen flag clicked\nset [gravity v] to [-1.5]\nset [acceleration v] to [1.5]\nset [resistence v] to [0.9]\nset [jump force v] to [14]\nset [speed y v] to [0]\ngo to x: (-200) y: (80)\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(falling) < [3]> then\n            set [speed y v] to (jump force)\n        end\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [speed x v] by (acceleration)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [speed x v] by ((0) - (acceleration))\n    end\n    set [speed x v] to ((speed x) * (resistence))\n    change [speed y v] by (gravity)\n    Move-in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\nend\n\ndefine Move-in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <[240] < (x position)> then\n        broadcast (next level v)\n        set [speed y v] to [0]\n        set [speed x v] to [0]\n        go to x: (-200) y: (80)\n    end\n    if <touching (lava v)?> then\n        set [speed y v] to [0]\n        set [speed x v] to [0]\n        go to x: (-200) y: (80)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Super World v] until done\nend\n\n@Lava\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n
ㅡㅡㅡㅡㅡㅡㅡㅡBlue Platformer 3ㅡㅡㅡㅡㅡㅡㅡㅡ\n\nHello.\nWelcome to Blue Platformer 3.\n\n==========Control==========\n- WASD or arrow keys to control.\n- Avoid lava and spikes.\n\n==========Differences==========\n- Better level quality\n- Move creative levels\n- Longer levels.\n\n==========Blue Platformer Series==========\nPart 1: https://scratch.mit.edu/projects/567950772/\nPart 2: https://scratch.mit.edu/projects/574931445/\n\n\n0.5k+ views!!!\n30+ loves!!!\n\n\nIf you like this project, please lov, fav and follow me!!!