Sky-platformer 2
@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\n    if <(Level) > [6]> then\n        set [level v] to [6]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Around v] until done\nend\n\n@player\n\nwhen flag clicked\ngo to x: (-210) y: (0)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    broadcast (Tick v)\n    if <<(y position) < [-200]> or <<touching color (#b3b3b3)?> or <touching color (#7f7f7f)?>>> then\n        go to x: (-210) y: (0)\n    end\n    if <(x position) > [229]> then\n        go to x: (-210) y: (0)\n        change [level v] by (1)\n    end\nend\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [xv v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [xv v] by (1)\nend\nchange x by (xv)\nset [xv v] to ((xv) * (0.9))\nif <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n    change y by (1)\n    if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n        change y by (1)\n        if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n            change y by (1)\n            if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n                change y by (1)\n                if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n                    change y by (1)\n                    if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n                        change x by ((xv) * (-1))\n                        change y by (-5)\n                        if <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                            if <(xv) > [0]> then\n                                set [xv v] to [-10]\n                            else\n                                set [xv v] to [10]\n                            end\n                            set [yv v] to [15]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (yv)\nif <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <<touching color (#29ff00)?> or <touching color (#690000)?>> then\n        set [yv v] to [13]\n    end\nend\nchange y by (1)\n\nwhen I receive [tick v]\nTick\n\nwhen flag clicked\nwait (1) seconds\n\nif <[] = [1]> then\nif <[] = [2]> then\n\nwhen [1 v] key pressed\nforever\n\ngo to x: (-191) y: (-185)\n\n@Template\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nshow\nstop [all v]\n\n
Hi! You are on Sky-platformer 2! To control, use the arrows or W-A-D