Minecraft a Platformer #Trending#All#Games m
@Stage\n\n@TH\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (00011000)\n    show\n    go to [front v] layer\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\nwhen flag clicked\n\n@sun\n\nwhen flag clicked\nset [た v] to [0]\ngo to [back v] layer\nset size to (100) %\nshow\nforever\n    change [た v] by (10)\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (た) )\nend\n\n@Player\n\nwhen I receive [ded >:p v]\nrepeat (3)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <touching (water v)?> then\n        change [y v] by (0.7)\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n        end\n        if <key (down arrow v) pressed?> then\n            change [y v] by (-0.5)\n        end\n    end\nend\n\nwhen I receive [bounce right now v]\nset [y v] to [13]\n\nwhen flag clicked\nset drag mode [not draggable v]\nset [y spawn v] to [-50]\nset [x spawn v] to [-212]\ngo to x: (X Spawn) y: (Y Spawn)\nswitch backdrop to (backdrop1 v)\nshow\nset size to (101) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Run block\nend\n\nwhen flag clicked\nswitch costume to (front v)\nforever\n    if <not <<key (left arrow v) pressed?> and <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>>>> then\n        switch costume to (3a v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (6a v)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (2a v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (1a v)\n    end\n    if <<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        switch costume to (5a v)\n    end\n    if <<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        switch costume to (4a v)\n    end\nend\n\ndefine Run block\nRun Engine\n\ndefine Run Engine\nchange [y v] by (-0.5)\nif <key (left arrow v) pressed?> then\n    change [x v] by (-0.9)\nend\nif <key (right arrow v) pressed?> then\n    change [x v] by (0.9)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <<touching (level v)?> or <touching (moving ground v)?>> then\n    change y by (1)\n    if <<touching (level v)?> or <touching (moving ground v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (moving ground v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (moving ground v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (moving ground v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (moving ground v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (moving ground v)?>> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [y v] to [9]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <<touching (level v)?> or <touching (moving ground v)?>> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<<touching (level v)?> or <touching (moving ground v)?>> and <key (up arrow v) pressed?>> then\n    set [y v] to [9.5]\nend\nchange y by (0.5)\nif <touching (spikes v)?> then\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    go to x: (X Spawn) y: (Y Spawn)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    set [x v] to [0]\n    set [y v] to [0]\nend\nif <(x position) > [224]> then\n    go to x: (X Spawn) y: (Y Spawn)\n    broadcast (Next lvl v)\n    set [x v] to [0]\n    set [y v] to [0]\nend\n\nwhen flag clicked\nforever\n    if on edge, bounce\nend\n\nwhen flag clicked\nset size to (30) %\n\nwhen flag clicked\nset rotation style [left-right v]\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) = [-157]> then\n        go to x: (-203) y: (-71)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy v)?> then\n        go to x: (-196) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy2 v)?> then\n        go to x: (-196) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy3 v)?> then\n        go to x: (-196) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (enemy4 v)?> then\n        go to x: (-196) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (movespike v)?> then\n        go to x: (-196) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (d v) pressed?> then\n        point in direction (90)\n    end\n    if <key (a v) pressed?> then\n        point in direction (-90)\n    end\nend\n\nforever\n    \n        go to (random position v)\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to [front v] layer\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen I receive [begin v]\ngo to [front v] layer\nforever\n    costume check\nend\n\ndefine costume check\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (flouting land v) and wait\n    else\n        forever\n            broadcast (hide flouting land v) and wait\n        end\n    end\n    if <(costume [number v]) = [12]> then\n        broadcast (win v) and wait\n    end\nend\n\n@spikes\n\nwhen I receive [next lvl v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\n\n@Like fav follow\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (15) to (20)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (20) to (30)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    go [forward v] (1000000) layers\nend\n\n
arrow keys to move  \nDiffrent then ashgames difrent code btw\n\nPart 2Thttps://scratch.mit.edu/projects/821987339/\nPart 3 !!!! https://scratch.mit.edu/projects/823348417/\n\n\n#trending #all #games #animations #art #music #trending #all #games #animations #art #music #tutorials #trending #all #games #animations #art #music #tutorials #trending #all #games #animations #art #music #tutorials #trending 