♤ Black and White ♤ A mobile friendly platformer v2 #games #All #trending

Instructions: Alt ac @_ClickerNator_\nPart 2\nhttps://scratch.mit.edu/projects/572829258/\nMy new game i spend alot time to make\nhttps://scratch.mit.edu/projects/574388229\n♤Instrution♤\nthis is a mobile friendly platformer or wasd and arrow keys.\n>Sometime the game bug so click the green flag multiple times\n♤ALL LEVELS ARE POSSIBLE♤\n4th in trending! Sep,16,2021\nI woke up with 500 messages\nif this project get 500 loves il make part 2\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (black v)\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\nend\n\n@Player\n\nwhen flag clicked\nplay sound [Zyzyx---Echolands v] until done\nswitch costume to (costume1 v)\ngo to [back v] layer\ngo to x: (-200) y: (0)\nset size to (90) %\n\nwhen flag clicked\nReset\nforever\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        create clone of (_myself_ v)\n        change [x velocity v] by (1)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        create clone of (_myself_ v)\n        change [x velocity v] by (-1)\n        point in direction (-90)\n    end\n    set [x velocity v] to ((X Velocity) * (0.9))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n            if <touching (ground v)?> then\n                change y by (2)\n                if <touching (ground v)?> then\n                    change x by ((0) - (X Velocity))\n                    change y by (-6)\n                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> then\n                        if <(X Velocity) > [0]> then\n                            set [x velocity v] to [-7]\n                        else\n                            set [x velocity v] to [7]\n                        end\n                        set [y velocity v] to [10]\n                    else\n                        set [x velocity v] to [0]\n                    end\n                end\n            end\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 ((0) - (Y Velocity))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> then\n            set [y velocity v] to [14.39]\n        end\n    end\n    change y by (1)\n    if <touching (danger2 v)?> then\n        Reset\n    end\n    if <touching (danger1 v)?> then\n        Reset\n    end\n    if <touching (sharp v)?> then\n        Reset\n    end\n    if <touching (danger3 v)?> then\n        Reset\n    end\n    if <touching (danger4 v)?> then\n        Reset\n    end\n    if <touching (danger5 v)?> then\n        Reset\n    end\n    if <touching (danger6 v)?> then\n        Reset\n    end\n    if <touching (danger1 v)?> then\n        Reset\n    end\n    if <touching (danger2 v)?> then\n        Reset\n    end\n    if <touching (moving saw v)?> then\n        Reset\n    end\n    if <touching (moving ground v)?> then\n        broadcast (Next Level v)\n        play sound [Collect v] until done\n    end\n    if <touching (flag v)?> then\n        play sound [Collect v] until done\n        broadcast (Next Level v)\n        Reset\n    end\n    if <(x position) < [-240]> then\n        Reset\n    end\n    if <(x position) > [240]> then\n        Reset\n    end\nend\n\nplay sound [Glass Breaking v] until done\n\ndefine Reset\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-200) y: (0)\npoint in direction (90)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I start as a clone\nrepeat (7)\n    change size by (-7)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [die v]\nReset\n\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <touching color (#d90505)?> then\n        Reset\n    end\nend\n\nwhen [space v] key pressed\n\nplay sound [Glass Breaking v] until done\n\nwhen I receive [mute v]\nset volume to (0) %\n\nwhen I receive [unmute v]\nset volume to (100) %\n\nReset\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Flag\n\nwhen flag clicked\ngo to x: (204) y: (-123)\nshow\n\ngo to x: (200) y: (-117)\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        go to x: (207) y: (-122)\n    end\nend\n\nhide\n\nshow\ngo to [front v] layer\n\ngo to x: (200) y: (-117)\n\nshow\nforever\n    next costume\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        go to x: (205) y: (-114)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        go to x: (195) y: (-79)\n    end\nend\n\ngo to x: (205) y: (-114)\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        go to x: (200) y: (-102)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        go to x: (200) y: (-102)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        go to x: (199) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Ground\n\nwhen flag clicked\nshow\nswitch costume to (level 1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nchange [level v] by (1)\nnext costume\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Danger1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nhide\nforever\n    if <(Level) = [7]> then\n        go to x: (113) y: (-21)\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\ngo to x: (80) y: (-116)\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n    broadcast (die v)\nend\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Danger2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nhide\nforever\n    if <(Level) = [7]> then\n        go to x: (25) y: (-116)\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n    broadcast (die v)\nend\n\n@danger3\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nhide\nforever\n    if <(Level) = [9]> then\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\ngo to x: (25) y: (-116)\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n    broadcast (die v)\nend\n\nshow\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@danger4\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nhide\nforever\n    if <(Level) = [5]> then\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\ngo to x: (25) y: (-116)\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n    broadcast (die v)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        show\n    end\nend\n\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\n\nhide\n\n@moving saw\n\nwhen flag clicked\ngo to x: (90) y: (-96)\nset size to (100) %\nhide\nforever\n    if <(Level) = [11]> then\n        show\n        glide (0.7) secs to x: (61) y: (-96)\n        glide (0.8) secs to x: (-60) y: (-96)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(my variable) = [4]>> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    turn left (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nwait (0.001) seconds\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nglide (1) secs to x: (61) y: (-96)\nglide (1) secs to x: (-60) y: (-96)\n\ngo to x: (61) y: (-96)\n\nwhen flag clicked\ngo to x: (90) y: (-96)\nset size to (100) %\nhide\nforever\n    if <(Level) = [10]> then\n        show\n        glide (1) secs to x: (61) y: (-96)\n        glide (1) secs to x: (-60) y: (-96)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@sharp\n\nwhen flag clicked\nshow\nswitch costume to (level 1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@mute\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset volume to (100) %\n\nstop all sounds\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        broadcast (mute v)\n    end\n    if <(costume [number v]) = [1]> then\n        broadcast (unmute v)\n    end\nend\n\nswitch costume to (costume2 v)\n\nset volume to (10) %\n\nchange volume by (-100)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [color v] effect to (270)\n    else\n        set [color v] effect to (0)\n    end\nend\n\n\n\nset size to (110) %\n\nset size to (100) %\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@danger5\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nhide\nforever\n    if <(Level) = [9]> then\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\ngo to x: (25) y: (-116)\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n    broadcast (die v)\nend\n\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\nend\n\nhide\n\nshow\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@moving ground\n\nwhen flag clicked\nhide\nforever\n    glide (0.8) secs to x: (200) y: (-19)\n    glide (0.8) secs to x: (-58) y: (-17)\nend\n\nswitch costume to (level 1 v)\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        show\n    end\nend\n\nglide (1) secs to x: (34) y: (-26)\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n        hide\n    end\nend\n\nshow\n\nwhen flag clicked\nforever\n    repeat (100)\n        change [brightness v] effect by (-1)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [brightness v] effect by (1)\n    end\nend\n\n@Text\n\n@Sprite1\n\nwhen I start as a clone\nrepeat (7)\n    change size by (-7)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Sprite2\n\nwhen I start as a clone\nrepeat (7)\n    change size by (-7)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Sprite3\n\n