Colorless, a platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (level1 v)\n\nwhen I receive [message1 v]\nswitch backdrop to (level9 v)\n\nwhen I receive [message2 v]\nswitch backdrop to (level11 v)\n\nwhen I receive [message3 v]\nswitch backdrop to (level13 v)\n\nwhen flag clicked\nforever\n    play sound [TheFatRat-Xenogenesis v] until done\nend\n\n@Character\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to x: (-167) y: (-95)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        set [xval v] to [7]\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            set [xval v] to [-7]\n        else\n            set [xval v] to ((Xval) * (0.8))\n        end\n    end\n    change x by (Xval)\nend\n\nwhen flag clicked\nforever\n    if <touching (ground v)?> then\n        set [jump velocity v] to [0]\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [jump velocity v] to [9]\n        end\n    else\n        change [jump velocity v] by (-0.5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(x position) > [250]> and <(y position) < [10]>> then\n        switch backdrop to (next backdrop v)\n        go to x: (-167) y: (-95)\n    end\n    if <(backdrop [name v]) = [Level8]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#000000)?> or <touching (lava v)?>> then\n        repeat (10)\n            change [fisheye v] effect by (-25)\n            change [pixelate v] effect by (25)\n        end\n        set [fisheye v] effect to (0)\n        set [pixelate v] effect to (0)\n        go to x: (-167) y: (-95)\n    end\nend\n\nwhen backdrop switches to [level13 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [end v]\nhide\nstop [all v]\n\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [jump velocity v] to [0]\n        repeat until <(Jump Velocity) = [0]>\n            change y by (Jump Velocity)\n            change [jump velocity v] by (-1)\n        end\n        repeat until <(Jump Velocity) = (() - ())>\n            change [jump velocity v] by (-1)\n            change y by (Jump Velocity)\n        end\n    end\n    if <touching (ground v)?> then\nend\n\nset [jump velocity v] to [15]\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (ground v)?>> then\n        change y by (Jump Velocity)\n        repeat until <touching (ground v)?>\n            change y by (Jump Velocity)\n            change [jump velocity v] by (-1)\n        end\n        set [jump velocity v] to ((Jump Velocity) * (-1))\n        change y by (Jump Velocity)\n    end\nend\n\nwhen flag clicked\nset [jump velocity v] to [0]\nforever\n    change y by (Jump Velocity)\nend\n\nwhen backdrop switches to [level8 v]\nforever\n    if <<(backdrop [number v]) = [8]> and <<(x position) > [250]> and <(y position) < [10]>>> then\n        switch backdrop to (fail v)\n        stop [other scripts in sprite v]\n    end\n    if <(backdrop [name v]) = [Level9]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level9 v]\nforever\n    if <<(x position) > [250]> and <(y position) < [10]>> then\n        switch backdrop to (next backdrop v)\n        go to x: (-167) y: (-95)\n    end\n    if <(backdrop [name v]) = [Level12]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level10 v]\nforever\n    if <<(backdrop [number v]) = [10]> and <<(x position) > [250]> and <(y position) < [10]>>> then\n        switch backdrop to (fail v)\n        stop [other scripts in sprite v]\n    end\n    if <(backdrop [name v]) = [Level11]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level13 v]\nforever\n    if <<(x position) > [250]> and <(y position) < [10]>> then\n        switch backdrop to (next backdrop v)\n        go to x: (-167) y: (-95)\n    end\nend\n\nif <(backdrop [name v]) = [Level10]> then\n    stop [this script v]\nend\n\nwhen backdrop switches to [level12 v]\nforever\n    if <<(backdrop [number v]) = [12]> and <<(x position) > [250]> and <(y position) < [10]>>> then\n        switch backdrop to (fail v)\n        stop [other scripts in sprite v]\n    end\n    if <(backdrop [name v]) = [Level13]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-95]> then\n        go to x: (x position) y: (-95)\n    end\nend\n\nwhen I receive [message1 v]\ngo to x: (-167) y: (-95)\n\nwhen I receive [message2 v]\ngo to x: (-167) y: (-95)\n\nwhen I receive [message3 v]\ngo to x: (-167) y: (-95)\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level6 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [level7 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level9 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [end v]\nhide\n\nwhen flag clicked\nshow\n\n@lava\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level6 v]\nshow\nforever\n    glide (1) secs to x: (36) y: (0)\n    glide (1) secs to x: (36) y: (40)\nend\n\nwhen backdrop switches to [level7 v]\nhide\n\n@Grass\n\nwhen backdrop switches to [level8 v]\nshow\n\nwhen flag clicked\nhide\nforever\n    if <touching (character v)?> then\n        hide\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level9 v]\nhide\n\nwhen backdrop switches to [fail v]\nhide\n\n@Sky\n\nwhen flag clicked\nhide\nforever\n    if <touching (character v)?> then\n        hide\n        broadcast (message2 v)\n    end\nend\n\nwhen backdrop switches to [level10 v]\nshow\n\nwhen backdrop switches to [fail v]\nhide\n\n@People\n\nwhen flag clicked\nhide\nforever\n    if <touching (character v)?> then\n        hide\n        broadcast (message3 v)\n    end\nend\n\nwhen backdrop switches to [level12 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [fail v]\nhide\n\n@Sprite1\n\nwhen backdrop switches to [level14 v]\ngo to x: (36) y: (28)\nshow\nrepeat until <(backdrop [name v]) = [End]>\n    glide (1) secs to x: (36) y: (24)\n    glide (1) secs to x: (36) y: (50)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [end v]\nhide\n\n@Sprite2\n\nwhen backdrop switches to [level14 v]\ngo to x: (36) y: (28)\nshow\nrepeat until <(backdrop [name v]) = [End]>\n    glide (1) secs to x: (36) y: (24)\n    glide (1) secs to x: (36) y: (50)\nend\n\nwhen backdrop switches to [end v]\nhide\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen backdrop switches to [level14 v]\ngo to x: (36) y: (28)\nshow\nrepeat until <(backdrop [name v]) = [End]>\n    glide (1) secs to x: (36) y: (7)\n    glide (1) secs to x: (36) y: (33)\nend\n\nwhen backdrop switches to [end v]\nhide\n\nwhen flag clicked\nhide\n\n@Heart\n\nwhen backdrop switches to [end v]\nshow\n\nwhen flag clicked\nhide\n\n@Star\n\nwhen backdrop switches to [end v]\nshow\n\nwhen flag clicked\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [end v]\nshow\n\n@Tb\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\n\n
This is my entry for @goatgirl84 platformer contest. \n=========================================\nThanks for top loved, and top viewed\n=========================================\nSee if you can find the Henry Stickmin reference.\n