Earth a platformer

Instructions: Earth a platformer\n \nUse the ◀ ▶ and ⬆⬇  keys to navigate.\nthank you for playing.\nPC or mobile

@Stage\n\nwhen flag clicked\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\nplay sound [we sing play back \(1\) v] until done\nwait (5) seconds\n\n@Love & Fav\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (15) to (25)) seconds\n    switch costume to (costume1 v)\n    go to x: (-245) y: (50)\n    show\n    go to [front v] layer\n    set volume to (70) %\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nif <(Costume) > [0]> then\n    hide\n    stop [this script v]\nend\n\n@Sprite1\n\nwhen flag clicked\npoint in direction (90)\nset size to (28) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (costume5 v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-59)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n        switch costume to (costume6 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (costume2 v)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n        change y by (1)\n        if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n            change y by (1)\n            if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n                change y by (1)\n                if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n                    change y by (1)\n                    if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n                        change y by (1)\n                        if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#0eda00)?> or <touching color (#8c0000)?>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            switch costume to (costume4 v)\n            set [yv v] to [16]\n        end\n    end\n    if <<<touching color (#ff0000)?> or <touching color (#cc0000)?>> or <touching (lightning v)?>> then\n        repeat (10)\n            repeat (1)\n            change [ghost v] effect by (10)\n            change y by (5)\n            turn right (5) degrees\n        end\n        set [ghost v] effect to (0)\n        point in direction (90)\n        go to x: (-197) y: (-63)\n    end\n    if <touching color (#fffe00)?> then\n        set [yv v] to [24]\n    end\n    if <<(x position) > [-250]> and <(y position) < [-175]>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <(x position) = [253]> then\n        next backdrop\n        go to x: (-197) y: (-63)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(x position) > [234]> and <(y position) < (pick random (-130) to (200))>> then\n        go to x: (-197) y: (-63)\n        broadcast (costume suivant v)\n    end\nend\n\nwhen flag clicked\nforever\n\n@Sprite2\n\nwhen I receive [costume suivant v]\nnext costume\n\nwhen flag clicked\ngo to x: (27) y: (-14)\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        broadcast (rouleau v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [13]> then\n        broadcast (rouleau 2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (rouleaux 3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [17]> then\n        broadcast (fin trampo v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        forever\n            start sound [Tropical Birds v]\n        end\n    end\n    if <not <(costume [number v]) = [6]>> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [15]> then\n        broadcast (trampo v)\n        broadcast (fin rouleau v)\n    end\nend\n\nwhen [x v] key pressed\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (x v)\n    end\nend\n\n@Sprite3\n\nwhen I receive [rouleau v]\nshow\ngo to x: (88) y: (-35)\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [rouleau 2 v]\nhide\n\n@Sprite4\n\nwhen I receive [rouleau v]\nswitch costume to (costume1 v)\nset size to (70) %\nshow\ngo to x: (-55) y: (-39)\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [rouleau 2 v]\nswitch costume to (costume2 v)\nset size to (100) %\n\nwhen I receive [rouleaux 3 v]\nswitch costume to (costume2 v)\nset size to (70) %\nshow\ngo to x: (-55) y: (-39)\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [fin rouleau v]\nforever\n    hide\nend\n\n@Sprite5\n\nwhen I receive [rouleau v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [rouleau 2 v]\nhide\n\nwhen I receive [rouleaux 3 v]\nswitch costume to (costume2 v)\nset size to (70) %\nshow\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [fin rouleau v]\nforever\n    hide\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (-128) y: (-109)\nhide\n\nwhen I receive [trampo v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [fin trampo v]\nhide\n\nwhen I receive [trampo v]\nforever\n    if <touching (sprite1 v)?> then\n        start sound [Door Closing v]\n        switch costume to (costume2 v)\n        wait (0.5) seconds\n        switch costume to (costume3 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n    end\nend\n\n@Sprite7\n\nwhen [timer v] > (chrono)\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (420)\ngo to [front v] layer\nset [y2 v] to [-27]\nrepeat (27)\n    change y by (y2)\n    change [y2 v] by (1)\nend\n\nwhen flag clicked\nhide\nforever\n    set [chrono v] to (timer)\nend\n\n@Sprite8\n\nwhen flag clicked\nforever\n    go to x: (195) y: (168)\n    show\nend\n\nwhen I receive [fin trampo v]\nforever\n    hide\nend\n\nwhen I receive [x v]\nforever\n    go to x: (195) y: (168)\n    show\nend\n\n