Earth Platformer
@Stage\n\n@Objeto1\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (play v)\n\nwhen I receive [play v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nforever\n    play sound [Would You Be So Kind Lyrics - dodie \(YOU EP Official Audio\).mp3 v] until done\nend\n\nwhen flag clicked\nshow\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo [backward v] (1) layers\n\nwhen I receive [play v]\nhide\n\n@balloon2\n\nwhen I start as a clone\nshow\nrepeat until <(y position) > [179]>\n    change y by (15)\n    wait (0.02) seconds\nend\ndelete this clone\n\nwhen flag clicked\nhide\ngo to x: (-108) y: (-193)\nhide\nforever\n    wait (0.1) seconds\n    next costume\n    set x to (pick random (-240) to (240))\n    create clone of (_myself_ v)\nend\n\n@Sprite4\n\nwhen I receive [next level v]\ngo to x: (-196) y: (-17)\n\nwhen I receive [play v]\ngo to [front v] layer\ngo to x: (-196) y: (-17)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> 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 (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (-4)\n        change x by ((x) * (1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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 (#56a33c)?> 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?> and <touching color (#56a33c)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff6060)?> then\n        go to x: (-196) y: (-17)\n    end\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (next level v)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-192) y: (-102)\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\n
Instructions\nArrow keys for moving\nPress R to restart the level if you are stuck