☢ Robot - A platformer ☢         #Games #All
@Stage\n\nwhen I receive [message1 v]\nset [brightness v] effect to (0)\nswitch backdrop to (arrière-plan1 v)\n\nwhen flag clicked\nswitch backdrop to (arrière-plan2 v)\nrepeat (25)\n    change [brightness v] effect by (4)\nend\n\nwhen flag clicked\nswitch backdrop to (arrière-plan2 v)\n\nwhen I receive [bl v]\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Marshmello - Alone \(Official Music Video\) v] until done\nend\n\n@Player\n\nwhen I receive [respawn v]\ngo to x: (-207) y: (-39)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [bl v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [bl v]\nshow\ngo to x: (-207) y: (-30)\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset rotation style [left-right v]\nset size to (30) %\nswitch costume to (normal v)\npoint in direction (90)\nset [yy v] to [15]\nset [xx -90 v] to [-1]\nset [xx 90 v] to [1]\ngo to [front v] layer\nforever\n    go to [front v] layer\n    set [x v] to [0.0001]\n    set [y v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((x) * (0.8))\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            switch costume to (normal3 v)\n            change [x v] by (Xx 90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            switch costume to (normal3 v)\n            change [x v] by (Xx -90)\n        end\n        change x by (x)\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by (1)\n        end\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by (1)\n        end\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by (1)\n        end\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by (1)\n        end\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [y v] to [10]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        if <key (down arrow v) pressed?> then\n            change [y v] by (-2)\n        end\n        change y by (y)\n        if <<touching (terrain v)?> or <touching (terrain qui bougeeeee v)?>> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> and <<touching (terrain qui bougeeeee v)?> or <touching (terrain v)?>>> then\n            change [y v] by (Yy)\n        end\n        change y by (1)\n        if <<<touching (pics v)?> or <touching (roue v)?>> or <touching (lave v)?>> then\n            repeat (10)\n                change [ghost v] effect by (8)\n            end\n            go to x: (-207) y: (-39)\n            set [y v] to [0]\n            broadcast (Recommence v)\n            repeat (10)\n                change [ghost v] effect by (-8)\n            end\n        end\n        if <[220] < (x position)> then\n            change [niveau v] by (1)\n            set [x v] to [0.00000000001]\n            set [y v] to [0]\n            go to x: (-207) y: (-39)\n            broadcast (next v)\n            wait (0.7) seconds\n        end\n        if <<not <key (right arrow v) pressed?>> and <not <key (left arrow v) pressed?>>> then\n            switch costume to (normal v)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(turn) > [0]> then\n    change y by (44)\n    change x by (-6)\nend\nif <(turn) < [0]> then\n    change y by (44)\n    change x by (6)\nend\nswitch costume to (midlle v)\nrepeat (30)\n    wait (0.01) seconds\n    change y by (2)\n    change size by (-6)\n    switch costume to (midlle v)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nrepeat (27)\n    go to x: (-207) y: (-39)\n    go to x: (-207) y: (-39)\n    go to x: (-207) y: (-39)\nend\n\n@terrain\n\nwhen flag clicked\ngo to x: (23) y: (-164)\nset [niveau v] to [1]\nswitch costume to (1 v)\nhide\n\nwhen I receive [bl v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to [front v] layer\n\nwhen I receive [next v]\nrepeat (10)\n    change size by (-20)\nend\nrepeat (20)\n    change size by (20)\nend\n\ndefine truc pour aider\npoint in direction (90)\nrepeat (24)\n    turn right (15) degrees\nend\n\nwhen I receive [next v]\nnext costume\ntruc pour aider\n\n@engrenage\n\nwhen flag clicked\nforever\n    turn right ((turn) * (3)) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [bl v]\nswitch costume to (costume1 v)\nrepeat (10)\n    create clone of (_myself_ v)\n    next costume\nend\nset size to (6) %\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to [back v] layer\nforever\n    if <(x) > [0]> then\n        set [turn v] to ((x) + (1))\n    end\n    if <(x) < [0]> then\n        set [turn v] to ((x) + (-1))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    switch costume to (costume2 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (5)\n        change x by (7)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [2]> then\n    switch costume to (costume3 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (5)\n        change x by (-7)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [3]> then\n    switch costume to (costume4 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (12)\n        change x by (0)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [4]> then\n    switch costume to (costume5 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-7)\n        change x by (0)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [5]> then\n    switch costume to (costume6 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-3)\n        change x by (7)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [6]> then\n    switch costume to (costume7 v)\n    set size to (4) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-15)\n        change x by (10)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [7]> then\n    switch costume to (costume8 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-3)\n        change x by (-7)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [8]> then\n    switch costume to (costume9 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-15)\n        change x by (0)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [9]> then\n    switch costume to (costume10 v)\n    set size to (4) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (-15)\n        change x by (-10)\n        turn right ((turn) * (3)) degrees\n    end\nend\nif <(costume [number v]) = [10]> then\n    switch costume to (costume1 v)\n    set size to (6) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    go to [back v] layer\n    forever\n        go to (player v)\n        change y by (2)\n        change x by (0)\n        turn right ((turn) * (3)) degrees\n    end\nend\n\nwhen I receive [next v]\nwait (0.7) seconds\n\n@antenne\n\nwhen flag clicked\nset [color v] effect to (0)\nforever\n    repeat (10)\n        change [color v] effect by (2)\n    end\n    repeat (10)\n        change [color v] effect by (-2)\n    end\nend\n\nwhen I receive [bl v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset rotation style [left-right v]\nforever\n    go to (player v)\n    change y by (42)\n    if <(x) > [0]> then\n        point in direction (90)\n    end\n    if <(x) < [0]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nhide\n\n@nuages\n\nwhen I receive [bl v]\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (5) to (10)) seconds\nend\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (pick random (1) to (4))\ngo to x: (-200) y: (pick random (100) to (200))\nset size to (pick random (30) to (50)) %\nshow\nrepeat (200)\n    move (2) steps\nend\ndelete this clone\n\n@texts\n\nwhen flag clicked\nhide\n\nwhen I receive [bl v]\nset size to (120) %\ngo to x: (5) y: (130)\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [bl v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to [back v] layer\n\nwhen I receive [next v]\nrepeat (10)\n    change size by (-10)\nend\nrepeat (10)\n    change size by (10)\nend\nset size to (120) %\n\ndefine truc pour aider\npoint in direction (90)\nrepeat (24)\n    turn right (15) degrees\nend\n\nwhen I receive [next v]\ngo to [back v] layer\nnext costume\ntruc pour aider\n\n@pics\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nif <(niveau) = [3]> then\n    go to x: (91) y: (-73)\n    switch costume to (level 3 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [4]> then\n    hide\n    switch costume to (level 4 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [5]> then\n    hide\n    go to x: (92) y: (-79)\n    switch costume to (level 5 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [6]> then\n    hide\n    go to x: (92) y: (-73)\n    switch costume to (level 6 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [7]> then\n    hide\n    go to x: (92) y: (-73)\n    switch costume to (level 7 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [8]> then\n    hide\n    go to x: (92) y: (-73)\n    switch costume to (level 8 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [11]> then\n    hide\n    go to x: (92) y: (-73)\n    switch costume to (level 11 v)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [13]> then\n    hide\n    go to x: (92) y: (-73)\n    switch costume to (level 13 v)\n    wait (0.7) seconds\n    show\nend\n\nwhen I receive [next v]\nhide\n\n@roue\n\nwhen flag clicked\nhide\n\nwhen I receive [bl v]\nforever\n    turn right (-8) degrees\n    go to [back v] layer\nend\n\nwhen I receive [next v]\nif <(niveau) = [5]> then\n    go to x: (0) y: (-75)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [6]> then\n    hide\nend\nif <(niveau) = [9]> then\n    go to x: (0) y: (28)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [10]> then\n    hide\nend\nif <(niveau) = [12]> then\n    go to x: (-70) y: (-110)\n    wait (0.7) seconds\n    show\nend\nif <(niveau) = [13]> then\n    hide\nend\n\n@lave\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nwait (0.7) seconds\nif <(niveau) = [7]> then\n    repeat until <not <(niveau) = [7]>>\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n    end\nend\nif <(niveau) = [10]> then\n    show\n    switch costume to (costume2 v)\n    go to [back v] layer\n    go to x: (18) y: (-32)\n    repeat until <not <(niveau) = [10]>>\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\nif <(niveau) = [12]> then\n    go to x: (48) y: (76)\n    go to [back v] layer\n    set size to (50) %\n    show\n    switch costume to (costume1 v)\n    go to [back v] layer\n    repeat until <not <(niveau) = [12]>>\n        create clone of (_myself_ v)\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\nif <(niveau) = [7]> then\n    switch costume to (costume1 v)\n    go to x: (104) y: (-5)\n    go to [back v] layer\n    show\n    clear graphic effects\n    repeat until <(y position) < [-95]>\n        change [brightness v] effect by (-0.3)\n        change y by (-1)\n    end\n    delete this clone\nelse\n    stop [this script v]\nend\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I start as a clone\nif <(niveau) = [10]> then\n    set [ghost v] effect to (0)\n    switch costume to (costume3 v)\n    go to x: (21) y: (-33)\n    change x by (pick random (-20) to (40))\n    repeat (150)\n        change y by (1)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    stop [this script v]\nend\n\nwhen I receive [next v]\nif <(niveau) = [8]> then\n    hide\nend\nif <(niveau) = [11]> then\n    hide\nend\nif <(niveau) = [13]> then\n    hide\nend\n\nwhen I start as a clone\nif <(niveau) = [12]> then\n    switch costume to (costume1 v)\n    go to x: (48) y: (90)\n    go to [back v] layer\n    show\n    clear graphic effects\n    repeat until <(y position) < [23]>\n        change [brightness v] effect by (-0.3)\n        change y by (-2)\n    end\n    delete this clone\nelse\n    stop [this script v]\nend\n\n@terrain qui bougeeeee\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nwait (0.7) seconds\nif <(niveau) = [8]> then\n    show\n    go to x: (0) y: (28)\n    repeat until <not <(niveau) = [8]>>\n        repeat (50)\n            change x by (1)\n        end\n        repeat (50)\n            change x by (-1)\n        end\n    end\nend\n\nwhen I receive [next v]\nforever\n    if <(niveau) = [9]> then\n        hide\n    end\nend\n\n@particle\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (50)\nset size to (pick random (60) to (0)) %\ngo to x: (600) y: (pick random (-30.1) to (167))\nglide (pick random (7) to (10)) secs to x: (-300) y: (pick random (-167.01) to (150))\nrepeat (20)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [bl v]\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    point in direction (77.5)\n    repeat (50)\n        turn right (0.5) degrees\n    end\n    repeat (50)\n        turn left (0.5) degrees\n    end\nend\n\nwhen I receive [bl v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (60) %\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set size to (50) %\n    end\nend\n\nwhen this sprite clicked\nchange [ech v] by (1)\nset [☁ echec v] to [0]\nbroadcast (next v)\n\nwhen I receive [next v]\nif <(niveau) = [14]> then\n    hide\nend\n\n@intro\n\nwhen I start as a clone\npoint in direction (91)\nset size to (1) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (cooltext399370504066205 v)\nrepeat (14)\n    repeat (2)\n        change size by (20)\n    end\n    repeat (2)\n        change size by (-20)\n    end\n    wait (0.3) seconds\nend\nwait (1) seconds\nhide\n\nwhen I start as a clone\nrepeat (280)\n    point in direction ((90) + ([tan v] of ((timer) * (100)) ))\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\npoint in direction (90)\nset volume to (100) %\nstart sound [Martin Garrix - Animals \(Official Video\)2 v]\nset [ghost v] effect to (0)\nswitch costume to (costume3 v)\nset size to (100) %\nrepeat (8)\n    wait (0.05) seconds\n    next costume\n    go to [back v] layer\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (1) seconds\nbroadcast (message1 v)\ncreate clone of (_myself_ v)\nrepeat (14)\n    broadcast (message1 v)\n    set [ghost v] effect to (0)\n    switch costume to (costume3 v)\n    repeat (8)\n        next costume\n    end\n    wait (0.22) seconds\nend\nbroadcast (black v)\nrepeat (20)\n    change volume by (-5)\nend\nwait (5.5) seconds\nbroadcast (bl v)\n\n@rubans INTRO\n\nwhen I start as a clone\nshow\ngo to x: (0) y: (-10)\nrepeat (2)\n    turn right (0.5) degrees\nend\nrepeat (2)\n    turn right (-0.5) degrees\nend\nwait (0.5) seconds\ndelete this clone\n\nwhen I start as a clone\nglide (1.5) secs to x: (341) y: (2)\n\nwhen I receive [message1 v]\ncreate clone of (_myself_ v)\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@black\n\nwhen I start as a clone\nset [brightness v] effect to (0)\nshow\ngo to x: (36) y: (-300)\nswitch costume to (costume2 v)\nglide (2) secs to x: (36) y: (200)\nwait (1) seconds\nrepeat (100)\n    change [brightness v] effect by (1)\nend\nhide\n\nwhen I receive [black v]\nset [brightness v] effect to (0)\nshow\nswitch costume to (costume1 v)\ncreate clone of (_myself_ v)\ngo to x: (36) y: (300)\nglide (2) secs to x: (36) y: (-200)\nwait (1) seconds\nrepeat (100)\n    change [brightness v] effect by (1)\nend\nhide\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen flag clicked\ncreate clone of (_myself_ v)\ngo to x: (140) y: (0)\nhide\n\nwhen I receive [message1 v]\nrepeat (2)\n    change size by (3)\nend\nrepeat (2)\n    change size by (-3)\nend\nshow\nnext costume\nrepeat (280)\n    point in direction ((90) + ([tan v] of ((timer) * (100)) ))\nend\n\nwhen I start as a clone\ngo to x: (-140) y: (-5)\nwait (2.5) seconds\nshow\nswitch costume to (costume1 v)\nrepeat (280)\n    point in direction ((90) + ([tan v] of ((timer) * (100)) ))\nend\n\nwhen I receive [black v]\nhide\n\n@tb\n\nwhen flag clicked\nshow\nforever\n    change [ghost v] effect by (100)\n    go to [front v] layer\nend\n\n@Sprite3\n\nwhen flag clicked\nset [ech v] to [0]\nforever\n    if <(ech) = [1]> then\n        change [☁ echec v] by (niveau)\n    end\nend\n\n
\n                Welcome to ŘØBØŤ- A platformer\n______________________________________________________________________________________\n      \n                                       Fr:\n                                                                                                          \nInstructions : Utilise les flèches directionnelles pour te déplacer ( flèche du bat pour atterrir plus vite ).\n\nCe projet a mis 20h a être conçu donc svp likez ;) et si j'ai 200 likes sur ce projet je ferais la suite.\n\n                                      EN : \nInstructions: Use the directional arrows to move around ( bat arrow to land faster ).\n\nThis project took 20 hours to make so please like it ;) and if I get 200 likes on this project I will make the next one.\n\n\nGo see this project : \nhttps://scratch.mit.edu/projects/612988338