Geometry☻Platformer 

Instructions: Utilise les flèches pour bouger.\nLa flèche du bas de l’écran pour Skip\n\nArrow keys to move. \nThe bottom arrow of the screen for Skip\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (arrière plan1 v)\n\n@geometry-01\n\nwhen flag clicked\npoint in direction (90)\nset size to (50) %\nswitch costume to (geometry-01 v)\nset [level v] to [1]\nshow\ngo to x: (-177) y: (-30)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    if <key (1 v) pressed?> then\n        switch costume to (geometry-01 v)\n    end\n    if <key (2 v) pressed?> then\n        switch costume to (player v)\n    end\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (1)\n    end\n    if <touching color (#ffffff)?> then\n        change y by (0)\n        change x by ((x) * (-1))\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            set [y v] to [10]\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    change y by (y)\n    if <touching color (#ffffff)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> and <touching color (#ffffff)?>> then\n        set [y v] to [12]\n        turn right (90) degrees\n    end\n    change y by (1)\n    if <<touching (sprite2 v)?> or <touching (sprite9 v)?>> then\n        go to x: (-200) y: (-60)\n    end\n    if <touching (sprite3 v)?> then\n        change [level v] by (1)\n        go to x: (-177) y: (-60)\n    end\n    if <touching (sprite5 v)?> then\n        go to (sprite6 v)\n    end\n    if <touching (sprite7 v)?> then\n        set [y v] to [20]\n    end\nend\n\nchange [y v] by (15)\n\nwhen I start as a clone\nswitch costume to (geometry-01 v)\nset size to (50) %\nset [ghost v] effect to (1)\nrepeat (10)\n    switch costume to (geometry-2 v)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nshow\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [message1 v]\ngo to x: (-177) y: (-30)\n\nwhen flag clicked\nforever\n    play sound [level1 v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        switch costume to (level 1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (level 2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (level 3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (level 4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (level 5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (level 6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (level 7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (level 8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (level 9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (level 10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (level 11 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (level 12 v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nshow\npoint in direction (90)\nforever\n    if <(level) = [1]> then\n        switch costume to (level 1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (level 2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (level 3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (level 4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (level 5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (level 6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (level 7 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (level 8 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (level 9 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (level 10 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (level 11 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (level 12 v)\n    end\nend\n\nbroadcast (a v)\n\n@Sprite7\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        hide\n    end\n    if <(level) = [3]> then\n        hide\n    end\n    if <(level) = [4]> then\n        hide\n    end\n    if <(level) = [5]> then\n        show\n    end\n    if <(level) = [6]> then\n        hide\n    end\n    if <(level) = [7]> then\n        hide\n    end\n    if <(level) = [8]> then\n        hide\n    end\n    if <(level) = [9]> then\n        show\n    end\n    if <(level) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        switch costume to (1 v)\n    else\n        switch costume to (geometry-51 v)\n        wait (0.04) seconds\n        switch costume to (geometry-52 v)\n        wait (0.04) seconds\n        switch costume to (geometry-53 v)\n        wait (0.04) seconds\n        switch costume to (geometry-54 v)\n        wait (0.04) seconds\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nshow\nforever\n    next costume\n    wait (0.04) seconds\nend\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        go to x: (152) y: (79)\n    end\n    if <(level) = [2]> then\n        go to x: (224) y: (132)\n    end\n    if <(level) = [3]> then\n        go to x: (200) y: (58)\n    end\n    if <(level) = [4]> then\n        go to x: (-223) y: (138)\n    end\n    if <(level) = [5]> then\n        go to x: (-223) y: (138)\n    end\n    if <(level) = [6]> then\n        go to x: (164) y: (-90)\n    end\n    if <(level) = [7]> then\n        go to x: (223) y: (160)\n    end\n    if <(level) = [8]> then\n        go to x: (-222) y: (156)\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (200) y: (155)\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        show\n    else\n        if <(level) = [5]> then\n            show\n        else\n            if <(level) = [8]> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\n@back-fade\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\n\n@blue2\n\nchange [ghost v] effect by (25)\n\n@Sprite5\n\nwhen flag clicked\nhide\nswitch costume to (geometry-26 v)\nforever\n    if <(level) = [3]> then\n        go to x: (213) y: (-62)\n        show\n    else\n        if <(level) = [5]> then\n            show\n            go to x: (38) y: (-69)\n        else\n            if <(level) = [8]> then\n                show\n                switch costume to (geometry-2 v)\n                go to x: (-219) y: (-36)\n            else\n                hide\n            end\n        end\n    end\nend\n\nhide\n\n@big floor\n\nwhen flag clicked\nset [ghost v] effect to (0)\nchange [ghost v] effect by (15)\nforever\n    change [color v] effect by (1)\n    wait (0.1) seconds\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to [back v] layer\ngo [backward v] (1000000000) layers\nforever\n    change [color v] effect by (1)\n    wait (0.1) seconds\nend\n\n@Arrow1\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (message1 v) and wait\n\nwhen flag clicked\nforever\n    wait (0.1) seconds\n    change [color v] effect by (1)\nend\n\n@Sprite8\n\nwhen flag clicked\nwait (4) seconds\nshow\ngo to [front v] layer\nswitch costume to (splash v)\nrepeat (8)\n    next costume\n    wait (0.04) seconds\nend\nrepeat (50)\n    change [pixelate v] effect by (4)\n    change [brightness v] effect by (2)\nend\nhide\n\n@Sprite9\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        go to x: (68) y: (-92)\n        forever\n            show\n            switch costume to (monster 1 v)\n            wait (0.1) seconds\n            switch costume to (monster 2 v)\n            wait (0.1) seconds\n            switch costume to (monster 3 v)\n            wait (0.1) seconds\n            switch costume to (monster 4 v)\n            wait (0.1) seconds\n            switch costume to (monster 5 v)\n            wait (0.1) seconds\n            switch costume to (monster 6 v)\n            wait (0.1) seconds\n        end\n    end\n    if <(level) = [11]> then\n        hide\n    end\n    if <(level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        create clone of (_myself_ v)\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-124) to (83)) y: (66)\nforever\n    switch costume to (regularsawblade01 v)\n    glide (2) secs to x: (-124) y: (66)\n    glide (2) secs to x: (83) y: (66)\n    go [backward v] (1) layers\n    if <(level) = [11]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (83) y: (66)\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        hide\n    end\n    if <(level) = [12]> then\n        hide\n    end\nend\n\n@ej\n\nwhen flag clicked\ngo to [front v] layer\nshow\npoint in direction (90)\nset size to (0) %\nrepeat (45)\n    change size by (3)\nend\nrepeat (48)\n    turn right (15) degrees\n    change [mosaic v] effect by (1)\nend\nforever\n    turn right (15) degrees\n    change [mosaic v] effect by (1)\n    change [ghost v] effect by (2)\n    change [pixelate v] effect by (2)\nend\n\nwhen [space v] key pressed\nhide\n\nwhen flag clicked\nwait (6) seconds\nstop [other scripts in sprite v]\nhide\n\nif <(x position) > [240]> then\n    next backdrop\n    go to x: (-230) y: (-142)\nend\nif <touching color (#00ffc0)?> then\n    set [f v] to [1]\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.5) seconds\nend\n\n@Sprite10\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nwait (4) seconds\nhide\n\n