Pixel 2 | A Mobile Friendly Platformer #games #all
@Stage\n\nwhen flag clicked\nswitch backdrop to (bühnenbild1 v)\nset volume to (100) %\nforever\n    play sound [Music v] until done\nend\n\nwhen flag clicked\nrepeat until <(level) = (Levels)>\n    set [time v] to (timer)\nend\nswitch backdrop to (bühnenbild6 v)\nwait (5) seconds\nrepeat (20)\n    change volume by (-5)\nend\nstop [other scripts in sprite v]\nstop all sounds\nbroadcast (outro v)\n\nwhen I receive [nachricht1 v]\nif <(backdrop [number v]) < [4]> then\n    next backdrop\nend\n\nwhen I receive [outro v]\nset [ghost v] effect to (80)\nswitch backdrop to (bühnenbild5 v)\n\n@Figur2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch costume to (kostüm1 v)\nset [pixel v] to [50]\n\nwhen I receive [nachricht1 v]\nnext costume\nrepeat (5)\n    change [pixel v] by (-0.75)\nend\n\nwhen flag clicked\nforever\n    set [pixelate v] effect to ((pixel) / (2))\nend\n\nwhen I receive [outro v]\nhide\n\n@Player\n\nwhen flag clicked\nset [y v v] to [0]\nset [x v v] to [0]\ngo to x: (-200) y: (27)\nforever\n    check\nend\n\ndefine check\nset rotation style [left-right v]\nset [level: v] to (join (join (level) [/]) (Levels))\nif <touching (figur1 v)?> then\n    start sound [roblox death sound v]\n    hide\n    broadcast (effect v)\n    wait (1) seconds\n    go to x: (-200) y: (27)\n    set [y v v] to [0]\n    set [x v v] to [0]\n    show\nend\nchange [y v v] by (-1)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    point in direction (90)\n    change [x v v] by (1)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    point in direction (-90)\n    change [x v v] by (-1)\nend\nset [x v v] to ((x v) * (0.9))\nchange x by (x v)\nif <touching (figur2 v)?> then\n    change y by (1)\nend\nif <touching (figur2 v)?> then\n    change y by (1)\nend\nif <touching (figur2 v)?> then\n    change y by (1)\nend\nif <touching (figur2 v)?> then\n    change y by (1)\nend\nif <touching (figur2 v)?> then\n    change y by (-4)\n    change x by ((x v) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [y v v] to [15]\n        if <(x v) > [0]> then\n            set [x v v] to [-9]\n        else\n            set [x v v] to [9]\n        end\n    else\n        set [x v v] to [0]\n    end\nend\nchange y by (y v)\nif <touching (figur2 v)?> then\n    change y by ((y v) - ((y v) * (2)))\n    set [y v v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (figur2 v)?>> then\n    set [y v v] to [15]\nend\nchange y by (1)\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nset [level v] to [1]\nset [levels v] to [16]\nset size to (66) %\nforever\n    if <(x position) > [220]> then\n        broadcast (Nachricht1 v)\n    end\nend\n\nwhen I receive [nachricht1 v]\nstart sound [checkpoint v]\ngo to x: (-200) y: (27)\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    set [pixelate v] effect to ((pixel) / (2))\nend\n\nwhen I receive [outro v]\nhide\n\n@Figur1\n\nwhen I receive [nachricht1 v]\nnext costume\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (kostüm1 v)\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    set [pixelate v] effect to (pixel)\nend\n\nwhen I receive [outro v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nrepeat (10)\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Figur3\n\ndefine Particle\nrepeat (27)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [pixelate v] effect to (pixel)\nswitch costume to (pick random (1) to (3))\nset [brightness v] effect to (pick random (-18) to (-100))\npoint in direction (pick random (-180) to (180))\nset [v v] to (pick random (3.0) to (9.0))\nset [effekt: y v] to [3]\nset size to (pick random (27) to (127)) %\ngo to [front v] layer\nrepeat (5)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\nend\nrepeat (20)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [effect v]\ngo to (player v)\nParticle\n\nwhen flag clicked\nhide\n\n@O2009H\n\nwhen flag clicked\nhide\n\nwhen I receive [outro v]\nforever\n    start sound [Vexento - Syndrome v]\n    wait (15) seconds\n    change size by (20)\n    repeat (30)\n        wait (0.45) seconds\n        change size by (20)\n    end\n    repeat (50)\n        wait (0.2) seconds\n        change size by (25)\n    end\n    repeat (14)\n        wait (0.1) seconds\n        change size by (30)\n    end\n    repeat (98)\n        wait (0.4) seconds\n        change size by (25)\n    end\n    repeat (173)\n        wait (0.2) seconds\n        change size by (10)\n    end\n    repeat (50)\n        wait (0.2) seconds\n        change size by (25)\n    end\n    repeat (15)\n        wait (0.1) seconds\n        change size by (30)\n    end\n    repeat (132)\n        wait (0.4) seconds\n        change size by (25)\n    end\n    wait (2) seconds\nend\n\nwhen I receive [outro v]\nshow\ngo to x: (0) y: (-250)\nforever\n    change y by (((25) - (y position)) / (5))\n    point in direction ((([sin v] of ((timer) * (175)) ) * (6)) + (90))\n    change size by (((100) - (size)) / (5))\nend\n\n@Particel\n\nwhen I start as a clone\nswitch costume to (pick random (2) to (4))\nset [ghost v] effect to (50)\ngo to [back v] layer\nset size to (50) %\nset [direction v] to (pick random (-1) to (1))\nset [speed v] to (pick random (1) to (2))\ngo to x: (-250) y: (pick random (-180) to (180))\nforever\n    change x by (Speed)\n    turn right (Direction) degrees\n    if <(x position) > [235]> then\n        delete this clone\n    end\nend\n\nwhen I receive [outro v]\nswitch costume to (blank v)\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\n@LIKE FAVE FOLLOW\n\nwhen I start as a clone\nchange [~clone# v] by (1)\nif <(~clone#) = [1]> then\n    switch costume to (not liked v)\n    go to x: (-100) y: (-200)\n    repeat (26)\n        change y by (((-110) - (y position)) / (5))\n    end\n    forever\n        set y to ((([sin v] of ((timer) * (200)) ) * (20)) - (110))\n        Change size\n        if <(costume [number v]) = [2]> then\n            Like/Fave/Follow\n        end\n    end\nelse\n    if <(~clone#) = [2]> then\n        switch costume to (not faved v)\n        go to x: (0) y: (-200)\n        repeat (26)\n            change y by (((-110) - (y position)) / (5))\n        end\n        forever\n            set y to ((([sin v] of ((timer) * (200)) ) * (20)) - (110))\n            Change size\n            if <(costume [number v]) = [4]> then\n                Like/Fave/Follow\n            end\n        end\n    else\n        if <(~clone#) = [3]> then\n            switch costume to (not followed v)\n            go to x: (100) y: (-200)\n            repeat (26)\n                change y by (((-110) - (y position)) / (5))\n            end\n            forever\n                set y to ((([sin v] of ((timer) * (200)) ) * (20)) - (110))\n                Change size\n                if <(costume [number v]) = [6]> then\n                    Like/Fave/Follow\n                end\n            end\n        end\n    end\nend\nset [~clone# v] to [0]\n\ndefine Like/Fave/Follow\nif <<touching (mouse-pointer v)?> and <mouse down?>> then\n    next costume\n    change size by (20)\n    wait until <not <mouse down?>>\nend\n\ndefine Change size\nif <touching (mouse-pointer v)?> then\n    change size by (((120) - (size)) / (4))\nelse\n    change size by (((100) - (size)) / (4))\nend\n\nwhen I receive [outro v]\nswitch costume to (blank v)\nset [~clone# v] to [0]\nrepeat (3)\n    create clone of (_myself_ v)\nend\n\n
Welcome to the second part of my new game: Pixel!\n\nPart 1: https://scratch.mit.edu/projects/611489381/\n\nPlease Like, Fave and Follow for more cool games :)\n\n-Instructions-\nMove with arrow keys, WASD or you finger (mobile)\nand don't touch spikes or lava!\nHave fun!\n\n-Credits-\n@TeamRamby for the amazing outro!\n\n-Tags-\n#pixel #platformer #mobile #friendly #O2009H #cool #games #all #music #art #animations