Stickman Platformer
@Stage\n\ndefine Next Backdrop\nnext backdrop\n\nwhen flag clicked\nstart sound [TheFatRat - Unity v]\n\nwhen flag clicked\nswitch backdrop to (blue sky3 v)\n\nwhen I receive [next backdrop v]\nNext Backdrop\n\n@Sprite1\n\nif <(y) < [-5]> then\nelse\n    switch costume to (costume12 v)\nend\n\nwhen flag clicked\nforever\n    if <<(y position) = [-180]> or <(y position) = [180]>> then\n        go to x: (-207) y: (103)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (Next v)\n    end\nend\n\nwhen I receive [next v]\nhide\nwait (0.4) seconds\nNext\n\ndefine Next\ngo to x: (-207) y: (107)\nshow\nbroadcast (Next Backdrop v)\n\nswitch costume to (costume15 v)\n\nwhen flag clicked\nswitch backdrop to (blue sky3 v)\nset rotation style [left-right v]\nswitch costume to (costume15 v)\ngo to x: (-207) y: (103)\nset [x v] to [0]\nset [y v] to [0]\nshow\nforever\n    if <(y position) < [-170]> then\n        go to x: (-207) y: (103)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        point in direction (-90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#dddede)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x) * (-1))\n                            set [x v] to [0]\n                            if <not <touching color (#000000)?>> then\n                                change y by (-5)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (down arrow v) pressed?>>> then\n        if <key (down arrow v) pressed?> then\n            switch costume to (costume14 v)\n            if <(y) > [1]> then\n                set [y v] to [-10]\n            end\n        else\n            if <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> then\n                if <(costume [number v]) > [9]> then\n                    switch costume to (costume15 v)\n                else\n                    next costume\n                end\n            else\n            end\n        end\n    else\n        switch costume to (costume15 v)\n    end\n    if <(y) > [0]> then\n        switch costume to (costume11 v)\n    else\n        if <(y) < [-2]> then\n            if <key (down arrow v) pressed?> then\n                switch costume to (costume13 v)\n            else\n                switch costume to (costume12 v)\n            end\n        else\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-207) y: (-4)\n    end\n    if <touching color (#ffff00)?> then\n        say [J'ai gagné:!] for (10) seconds\n    end\nend\n\ngo to [back v] layer\n\n@Lutin2\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nhide\n\ngo [forward v] (1) layers\n\n
 ▬▬Utiliser les flèches directive pour te déplacer▬▬\n=========================================\nSi sa bug presser les flèches du haut et du bas puis directe presser la flèche droite normalement ça devrait                                                                 marcher\n=========================================\n