Christmas! A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\n\nwhen I receive [trick! v]\nswitch backdrop to (backdrop1 v)\nstop [all v]\n\n@You\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.02) seconds\nend\n\nwhen I start as a clone\nrepeat (16)\n    change size by (-5)\n    change [ghost v] effect by (6.25)\nend\ndelete this clone\n\nwhen I receive [game start v]\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-168) y: (-124)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-194) y: (-124)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-175) y: (-125)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-171) y: (-125)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-185) y: (1)\n\nwhen backdrop switches to [level 13 v]\ngo to x: (0) y: (-125)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-187) y: (-124)\n\nwhen backdrop switches to [level 13 v]\ngo to x: (-144) y: (82)\n\nwhen backdrop switches to [level 15 v]\ngo to x: (-207) y: (133)\n\nwhen I receive [game start! v]\ngo to x: (-194) y: (-87)\nset [level v] to [1]\nset [deaths v] to [0]\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow 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 color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change y by (1)\n                        if <touching color (#ffffff)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow 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    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#ffffff)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ffffff)?> then\n        if <key (up arrow v) pressed?> then\n            set volume to (40) %\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <(x position) > [235]> then\n        switch backdrop to (next backdrop v)\n    end\n    if <<<touching color (#009933)?> or <touching (sprite25 v)?>> or <touching (sprite26 v)?>> then\n        change [deaths v] by (1)\n        go to x: (-194) y: (-125)\n    end\n    if <(y position) < [-171]> then\n        hide\n        change [deaths v] by (1)\n        go to x: (-187) y: (-125)\n        wait (0.09) seconds\n        show\n    end\n    if <touching color (#6600cc)?> then\n        change [yv v] by (32)\n        change y by (Yv)\n    end\nend\n\nwhen backdrop switches to [level 17 v]\ngo to x: (-189) y: (-113)\n\nwhen flag clicked\nset [deaths v] to [0]\nhide\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-187) y: (-125)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-169) y: (-124)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-187) y: (-124)\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-189) y: (42)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-192) y: (-125)\n\nwhen backdrop switches to [level 14 v]\ngo to x: (-180) y: (-90)\n\nwhen I receive [game start v]\nforever\n    if <key (s v) pressed?> then\n        wait (0.5) seconds\n        switch backdrop to (next backdrop v)\n    end\n    if <(backdrop [number v]) = [17]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (10) seconds\nplay sound [Glee - Jingle Bell Rock \(Lyrics\) \(1\).mp3 v] until done\n\nwhen backdrop switches to [level 16 v]\ngo to x: (-194) y: (-125)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [17]> then\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                wait (1) seconds\n                broadcast (Trick! v)\n            end\n        end\n    end\nend\n\nwhen I receive [trick! v]\nhide\n\n@Ground\n\nwhen flag clicked\nhide\nswitch costume to (ground9 v)\n\nwhen I receive [game start! v]\nswitch costume to (ground v)\nshow\ngo to x: (0) y: (-4)\n\nwhen backdrop switches to [level 2 v]\nswitch costume to (ground2 v)\n\nwhen backdrop switches to [level 3 v]\nswitch costume to (ground3 v)\n\nwhen backdrop switches to [level 4 v]\nswitch costume to (ground4 v)\n\nwhen backdrop switches to [level 5 v]\nswitch costume to (ground5 v)\n\nwhen backdrop switches to [level 6 v]\nswitch costume to (ground6 v)\n\nwhen backdrop switches to [level 1 v]\nswitch costume to (ground v)\n\nwhen backdrop switches to [level 7 v]\nswitch costume to (ground7 v)\n\nwhen backdrop switches to [level 8 v]\nswitch costume to (ground8 v)\n\nwhen backdrop switches to [level 9 v]\nswitch costume to (ground9 v)\n\nwhen backdrop switches to [level 11 v]\nswitch costume to (ground11 v)\n\nwhen backdrop switches to [level 13 v]\ngo to x: (1) y: (0)\nswitch costume to (ground13 v)\ngo [backward v] (1) layers\n\nwhen backdrop switches to [level 14 v]\nswitch costume to (ground14 v)\n\nwhen backdrop switches to [level 15 v]\nswitch costume to (ground15 v)\n\nwhen backdrop switches to [level 12 v]\nswitch costume to (ground12 v)\ngo to x: (-1) y: (-5)\n\nwhen backdrop switches to [level 10 v]\nswitch costume to (ground10 v)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-2) y: (-5)\n\nwhen backdrop switches to [level 17 v]\nswitch costume to (ground16 v)\n\nwhen backdrop switches to [level 16 v]\nswitch costume to (ground16 v)\n\nwhen I receive [trick! v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [intro 2 v]\nwait () seconds\ngo to x: (66) y: (-40)\nshow\nwait (2.5) seconds\nbroadcast (game start! v)\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 3 v]\nshow\ngo to x: (117) y: (-45)\n\nwhen backdrop switches to [level 4 v]\nshow\ngo to x: (118) y: (-55)\n\nwhen backdrop switches to [level 5 v]\nhide\n\nwhen backdrop switches to [level 6 v]\nshow\ngo to x: (69) y: (-46)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (69) y: (-46)\n\nwhen backdrop switches to [level 8 v]\nhide\n\nwhen backdrop switches to [level 15 v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 5 v]\nswitch costume to (costume1 v)\nshow\ngo to x: (166) y: (-83)\n\nwhen backdrop switches to [level 6 v]\nhide\n\nwhen backdrop switches to [level 7 v]\nswitch costume to (costume2 v)\nshow\ngo to x: (245) y: (-80)\n\nwhen backdrop switches to [level 8 v]\nhide\n\nwhen backdrop switches to [level 12 v]\nhide\n\nwhen I receive [trick! v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 6 v]\nshow\ngo to x: (193) y: (-45)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (65) y: (96)\n\nwhen backdrop switches to [level 8 v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 6 v]\nshow\ngo to x: (309) y: (-45)\n\nwhen backdrop switches to [level 7 v]\nhide\n\nwhen backdrop switches to [level 8 v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 7 v]\nshow\ngo to x: (191) y: (90)\n\nwhen backdrop switches to [level 8 v]\nhide\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 8 v]\nshow\ngo to x: (-28) y: (21)\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (-169) y: (22)\n\nwhen backdrop switches to [level 10 v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 8 v]\nshow\ngo to x: (24) y: (-141)\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 15 v]\nshow\ngo to x: (2) y: (-130)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (47) y: (-139)\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite11\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (-9) y: (21)\n\nwhen backdrop switches to [level 10 v]\nhide\n\n@Sprite12\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (115) y: (21)\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 15 v]\nshow\ngo to x: (-55) y: (32)\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (-41) y: (-20)\ncreate clone of (_myself_ v)\ngo to x: (-5) y: (36)\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 11 v]\nshow\ngo to x: (190) y: (-39)\ncreate clone of (_myself_ v)\ngo to x: (280) y: (-86)\n\nwhen backdrop switches to [level 12 v]\nhide\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (191) y: (-141)\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen backdrop switches to [level 15 v]\nshow\ngo to x: (290) y: (-133)\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite15\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 10 v]\nshow\ngo to x: (118) y: (14)\nwait (2.5) seconds\nhide\n\n@Sprite16\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 11 v]\nshow\ngo to x: (15) y: (-54)\n\nwhen backdrop switches to [level 12 v]\nhide\n\n@Sprite20\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 12 v]\nshow\ngo to x: (46) y: (104)\n\nwhen backdrop switches to [level 13 v]\nhide\n\n@Sprite18\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 14 v]\nshow\ngo to x: (44) y: (-2)\n\nwhen backdrop switches to [level 15 v]\nhide\n\n@Sprite19\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 15 v]\ngo to x: (101) y: (-6)\nset size to (70) %\nshow\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite17\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 15 v]\nshow\ngo to x: (266) y: (70)\n\nwhen backdrop switches to [level 16 v]\nhide\n\n@Sprite21\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 17 v]\nshow\ngo to x: (100) y: (-102)\n\nwhen I receive [trick! v]\nhide\n\n@Sprite22\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 17 v]\nshow\ngo to x: (-1) y: (0)\n\nwhen I receive [trick! v]\nhide\n\n@Sprite23\n\nwhen flag clicked\ngo to x: (-240) y: (180)\nhide\nrepeat (60)\n    create clone of (_myself_ v)\n    change x by (8)\nend\n\nwhen I start as a clone\nforever\n    hide\n    go [backward v] (1000) layers\n    go to x: (x position) y: (180)\n    wait (pick random (0) to (7.5)) seconds\n    show\n    glide (pick random (4) to (10)) secs to x: (x position) y: (-180)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nwait (2) seconds\nshow\nstart sound [recording2 v]\nwait (8) seconds\nbroadcast (game start v)\n\nwhen flag clicked\nwait (2) seconds\nforever\n    change [color v] effect by (25)\n    turn right (8) degrees\nend\n\nwhen I receive [game start v]\nbroadcast (intro 2 v)\nhide\nwait (0.1) seconds\nstop [other scripts in sprite v]\n\n@Sprite7\n\n@Sprite24\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nwait (2) seconds\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nhide\n\n@Sprite25\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 10 v]\nshow\ngo to x: (19) y: (-112)\n\nwhen backdrop switches to [level 11 v]\nhide\n\n@Sprite26\n\nwhen backdrop switches to [level 10 v]\nshow\ngo to x: (84) y: (-46)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 11 v]\nhide\n\n@Sprite27\n\ndefine Start\nrepeat (100)\n    go to (random position v)\n    set size to (pick random (20) to (50)) %\n    set [ghost v] effect to (pick random (90) to (95))\n    point in direction (pick random (-70) to (-100))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\ngo to [back v] layer\nrepeat until <(x position) < [-220]>\n    move (5) steps\nend\ndelete this clone\n\nwhen I receive [game start! v]\nshow\nStart\nforever\n    if <(backdrop [number v]) < [10]> then\n        hide\n        point in direction (pick random (-70) to (-100))\n        go to x: (300) y: (pick random (-180) to (180))\n        set size to (pick random (20) to (50)) %\n        set [ghost v] effect to (pick random (55) to (75))\n        create clone of (_myself_ v)\n    else\n        hide\n        point in direction (pick random (-70) to (-100))\n        go to x: (300) y: (pick random (-180) to (180))\n        set size to (pick random (20) to (50)) %\n        set [ghost v] effect to (pick random (0) to (15))\n        create clone of (_myself_ v)\n    end\n    if <(backdrop [number v]) = [17]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@Sprite28\n\nwhen flag clicked\nhide\n\nwhen I receive [trick! v]\nshow\ngo to x: (36) y: (28)\n\n
Arrow keys to move and jump\nGreen kills you\nPurple is bouncy\nGet to the end of the screen to advance! \nS to skip\nAll Levels Are Possible!\n    