minecraft platformer part 6         #games #all #trending #art #music

Instructions: part 6 already:O\nGuys im so close to 1K PLS help me get there!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Minecraft - Piano 3 v] until done\nend\n\nrepeat (10)\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [left-right v]\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n    else\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (spikes v)?> then\n        end\n    end\nend\n\nbroadcast (Reset v)\ncreate clone of (_myself_ v)\n\nbroadcast (Reset v)\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        set [sword grabbed? v] to [1]\n    end\nend\n\n@Ground\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nhide variable [dead v]\nforever\n    if <not <<<<(costume [number v]) = [4]> or <<(costume [number v]) = [5]> or <(costume [number v]) = [8]>>> or <(costume [number v]) = [10]>> or <(costume [number v]) = [11]>>> then\n        set [magma v] to [0]\n        repeat (10)\n            change [magma v] by (1)\n        end\n        repeat (20)\n            change [magma v] by (-1)\n        end\n        repeat (10)\n            change [magma v] by (1)\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\n    go to x: (0) y: (0)\nend\n\n