Journey (a platformer)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Alan Walker - Darkside \(feat v] until done\nend\n\n@Sprite 1\n\nwhen I receive [level change v]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-223) y: (29)\n\nwhen flag clicked\ngo to x: (-223) y: (29)\nset rotation style [left-right v]\npoint in direction (90)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<(x position) > [238]> and <touching (_edge_ v)?>> then\n        broadcast (level v)\n        broadcast (level change v) and wait\n    end\n    if <<(y position) < [-173]> and <touching (_edge_ v)?>> then\n        broadcast (level change v) and wait\n    end\n    if <not <touching color (#00cccc)?>> then\n        change [yv v] by (-0.5)\n        if <key (right arrow v) pressed?> then\n            point in direction (90)\n            change [xv v] by (0.8)\n        end\n        if <key (left arrow v) pressed?> then\n            point in direction (-90)\n            change [xv v] by (-0.8)\n        end\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#548080)?> then\n        change y by (1)\n        if <touching color (#548080)?> then\n            change y by (1)\n            if <touching color (#548080)?> then\n                change y by (1)\n                if <touching color (#548080)?> then\n                    change y by (1)\n                    if <touching color (#548080)?> then\n                        change y by (1)\n                        if <touching color (#548080)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#548080)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#548080)?> then\n        if <key (up arrow v) pressed?> then\n            if <not <touching color (#69c5ff)?>> then\n                set [yv v] to [10]\n            end\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [level v]\nnext backdrop\n\nwhen flag clicked\nforever\n    if <touching (enemies v)?> then\n        broadcast (level change v)\n    end\nend\n\nwhen backdrop switches to [backdrop13 v]\nset y to (-42)\n\nwhen backdrop switches to [backdrop40 v]\nhide\n\nwhen flag clicked\nshow\n\n@Enemies\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costum1 v)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costum2 v)\nshow\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costum3 v)\nshow\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (costum4 v)\nshow\n\nwhen backdrop switches to [backdrop12 v]\nswitch costume to (costum5 v)\nshow\n\nwhen backdrop switches to [backdrop21 v]\nswitch costume to (costum6 v)\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (costum2 v)\nshow\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop22 v]\nhide\n\nwhen backdrop switches to [backdrop23 v]\nswitch costume to (costum7 v)\nshow\n\nwhen backdrop switches to [backdrop24 v]\nhide\n\nwhen backdrop switches to [backdrop26 v]\nswitch costume to (costum8 v)\nshow\n\nwhen backdrop switches to [backdrop27 v]\nhide\n\nwhen backdrop switches to [backdrop31 v]\nswitch costume to (costum9 v)\nshow\n\nwhen backdrop switches to [backdrop32 v]\nswitch costume to (costum10 v)\nshow\n\nwhen backdrop switches to [backdrop33 v]\nswitch costume to (costum11 v)\nshow\n\nwhen backdrop switches to [backdrop34 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    go [forward v] (99) layers\nend\n\n
------------------------------JOURNEY-----------------------\n Journey is now out !\n - Left/right and up arrow to move\n -Avoid the spikes , the lava and the water \n -Try to beat it\n -Have fun !\n 