Pixel 1 | A Mobile Friendly Platformer #games #all
@Stage\n\nwhen flag clicked\nswitch backdrop to (bühnenbild1 v)\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)\n\nwhen I receive [nachricht1 v]\nif <(backdrop [number v]) < [5]> then\n    next backdrop\nend\n\n@Figur2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (kostüm1 v)\nset [pixel v] to [100]\n\nwhen I receive [nachricht1 v]\nnext costume\nrepeat (5)\n    change [pixel v] by (-0.75)\nend\n\nwhen flag clicked\nforever\n    if <(level) < [15]> then\n        set [pixelate v] effect to ((pixel) / (2))\n    end\nend\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 [20]\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    if <(level) < [15]> then\n        set [pixelate v] effect to ((pixel) / (2))\n    end\nend\n\n@Figur1\n\nwhen I receive [nachricht1 v]\nnext costume\n\nwhen flag clicked\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\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
Welcome to the first part of my new game: Pixel!\n\nPart 2: https://scratch.mit.edu/projects/614872245/\n\nPlease Like, Fave and Follow for more cool games :)\n100 Likes = Part 2! (out)\n\n-Instructions-\nMove with arrow keys, WASD or you finger (mobile)\nand don't touch spikes or lava!\nHave fun!\n\n-Tags-\n#pixel #platformer #mobile #friendly #O2009H #cool #games #all #music #art #animations