-Blue-Platformer-
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <(Level) = [21]> then\n        switch backdrop to (backdrop2 v)\n    end\n    if <(Level) = [24]> then\n        switch backdrop to (backdrop3 v)\n        broadcast (theend v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [pixelate v] effect to (0)\nswitch costume to (costume1 v)\nset [level v] to [1]\nswitch backdrop to (backdrop1 v)\ngo to x: (-215) y: (-105)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                end\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> 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    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    if <(y position) < [105]> then\n        change y by (1)\n    end\n    if <<<(x position) = [241]> and <(Level) = [6]>> or <<(x position) = [241]> and <(Level) = [21]>>> then\n        change [level v] by (1)\n        go to x: (-215) y: (75)\n        broadcast (next nevel v)\n    else\n        if <(x position) = [241]> then\n            change [level v] by (1)\n            go to x: (-215) y: (-104)\n            broadcast (next nevel v)\n        end\n    end\nend\n\nwhen I receive [u dead v]\nchange [pixelate v] effect by (10)\ngo to x: (-215) y: (-104)\nset [pixelate v] effect to (0)\n\nif <(x position) = [241]> then\n    change [level v] by (1)\n    go to x: (-215) y: (-104)\n    broadcast (next nevel v)\nend\n\nwhen I receive [theend v]\nhide\n\nwhen flag clicked\nforever\n    play sound [bensound-funkysuspense v] until done\nend\n\n@ground\n\nwhen flag clicked\nshow\ngo to x: (36) y: (28)\nswitch costume to (costume1 v)\n\nwhen I receive [next nevel v]\nnext costume\n\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (-7) y: (65)\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\nshow\nwait (1.22) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\n    change [brightness v] effect by (1)\n    wait (0.1) seconds\nend\n\nhide\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to x: (-5) y: (-88)\nforever\n    if <<<(Level) = [5]> or <(Level) = [7]>> or <<(Level) = [10]> or <<(Level) = [9]> or <<(Level) = [11]> or <<(Level) = [13]> or <<(Level) = [14]> or <<(Level) = [15]> or <<(Level) = [16]> or <(Level) = [19]>>>>>>>>> then\n        show\n    else\n        hide\n    end\n    if <touching (sprite1 v)?> then\n        broadcast (u dead v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        go to x: (-5) y: (-82)\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n        switch costume to (costume6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [14]> then\n        switch costume to (costume7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        switch costume to (costume8 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [16]> then\n        switch costume to (costume9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [19]> then\n        switch costume to (costume10 v)\n    end\nend\n\n
Hello, and welcome to my third platformer!\n\nInstructions: Arrow-keys or WASD\n                    Don´t touch dark blue \n\n\nAll levels are possible!\n\n