Black a scrolling platformer
@Stage\n\n@Blank\n\nwhen flag clicked\nhide variable [level v]\nhide variable [☁ best scores v]\nhide variable [timer v]\n\nwhen I receive [complete v]\nshow variable [level v]\nshow variable [timer v]\n\nwhen flag clicked\n\nwhen flag clicked\n\nforever\n\nif <(Level) = [9]> then\n    add (Timer) to [best scores v]\n    hide list [best scores v]\nend\n\nshow list [best scores v]\nset [☁ best scores v] to (Best Scores)\nset [☁ best scores v] to (Timer)\n\ninsert [thing] at (1) of [best scores v] \n\nrepeat (10)\n    \nend\n\n@Intro\n\ndefine Smooth Glide x: (x) y: (y) speed: (i)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (i))\n    change y by (((round (y)) - (round (y position))) / (i))\nend\ngo to x: (x) y: (y)\n\nwhen flag clicked\ngo to [front v] layer\nhide\nset [step v] to [0]\nset [# v] to [0]\nchange [# v] by (1)\ncreate clone of (_myself_ v)\nwait until <(Step) = [1]>\nchange [# v] by (1)\ncreate clone of (_myself_ v)\nwait until <(Step) = [3]>\nchange [# v] by (2)\ncreate clone of (_myself_ v)\nwait until <(Step) = [4]>\nchange [# v] by (1)\ncreate clone of (_myself_ v)\nwait until <(Step) = [7]>\nrepeat (5)\n    change volume by (-20)\nend\nbroadcast (Complete v)\n\nwhen I start as a clone\nif <(#) = [1]> then\n    switch costume to (circle v)\n    go to x: (0) y: (-240)\n    show\n    Smooth Glide x: (0) y: (0) speed: (6)\n    repeat (50)\n        switch costume to (blank v)\n        change [i v] by (12)\n        change size by (i)\n        switch costume to (circle v)\n    end\n    set [step v] to [1]\nelse\n    if <(#) = [2]> then\n        switch costume to (wowyok v)\n        go to x: (0) y: (-240)\n        show\n        Smooth Glide x: (0) y: (0) speed: (6)\n        repeat (100)\n            set [i v] to (((i) * (.8)) + (((75) - (size)) / (5)))\n            change size by (i)\n            point in direction ((([tan v] of (v) ) * (10)) + (90))\n            change [v v] by (4)\n        end\n        point in direction (90)\n        set [step v] to [2]\n        Particles\n        repeat until <touching (_edge_ v)?>\n            change [yp v] by (-1)\n            change y by (yp)\n        end\n        set [step v] to [3]\n        delete this clone\n    else\n        if <(#) = [3]> then\n            set [ghost v] effect to (pick random (0) to (50))\n            set [brightness v] effect to (pick random (-50) to (50))\n            switch costume to (pick random (2) to (3))\n            set [x v] to (pick random (-15) to (15))\n            set [y v] to (pick random (5) to (17))\n            go to [front v] layer\n            show\n            repeat until <touching (_edge_ v)?>\n                change [y v] by (-1)\n                change x by (x)\n                change y by (y)\n                if <[1] < (x)> then\n                    change [x v] by (-0.5)\n                end\n                if <(x) < [-1]> then\n                    change [x v] by (0.5)\n                end\n                turn right ((size) / (7)) degrees\n            end\n            delete this clone\n        else\n            if <(#) = [4]> then\n                switch costume to (1 v)\n                go to x: (0) y: (240)\n                show\n                Smooth Glide x: (0) y: (0) speed: (6)\n                Particles\n                set [step v] to [4]\n                wait until <(Step) = [5]>\n                repeat (20)\n                    change [ghost v] effect by (5)\n                end\n                set [step v] to [7]\n                delete this clone\n            else\n                if <(#) = [5]> then\n                    go to [front v] layer\n                    switch costume to (slice v)\n                    go to x: (-100) y: (100)\n                    show\n                    Smooth Glide x: (200) y: (-200) speed: (20)\n                    set [step v] to [5]\n                    delete this clone\n                end\n            end\n        end\n    end\nend\nforever\n    if <(Step) = [7]> then\n        switch costume to (alpha background v)\n        set size to (100) %\n    end\nend\n\ndefine Particles\nset [# v] to [3]\nrepeat (25)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [complete v]\nhide\n\n@Player\n\ndefine Tick\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    point in direction (90)\n    change [xv v] by (0.7)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    point in direction (-90)\n    change [xv v] by (-0.7)\nend\nplatform phisics\n\nwhen I receive [tick v]\nTick\n\nwhen flag clicked\nhide\n\nwait (10) seconds\n\nshow\n\ndefine platform phisics\nchange x by (Xv)\nset [xv v] to ((Xv) * (0.9))\nif <touching color (#000000)?> then\n    change y by (1)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                            if <(Xv) > [0]> then\n                                set [xv v] to [-4]\n                            else\n                                set [xv v] to [8]\n                            end\n                            set [yv v] to [14]\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 (#000000)?> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <touching color (#000000)?> then\n        start sound [Jump v]\n        set [yv v] to [15]\n    end\nend\nchange y by (1)\nscroll\n\ndefine scroll\nchange [scrollx v] by ((x position) * (-1))\nchange [scrolly v] by ((y position) * (-1))\ngo to x: (0) y: (0)\nif <<touching color (#ff0000)?> or <(ScrollY) > [1000]>> then\n    start sound [Oops v]\n    set [scrollx v] to [710]\n    set [scrolly v] to [528]\nend\nif <touching color (#e4ff3d)?> then\n    start sound [Boing v]\n    set [yv v] to [30]\nend\nif <touching color (#66a9ff)?> then\n    start sound [Teleport2 v]\n    broadcast (NextLevel v) and wait\nend\n\nwhen flag clicked\nswitch costume to (intro v)\nwait (5) seconds\nswitch costume to (player v)\n\nwhen I receive [game end v]\nhide\n\nwhen I receive [complete v]\npoint in direction (90)\nshow\ngo to x: (-132) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\nset [lastcostumechangedtime v] to [0]\nforever\n    broadcast (Tick v)\nend\n\n@Levels\n\nwhen flag clicked\nhide\nswitch costume to (blank v)\nset size to (370) %\nswitch costume to (level 1 v)\npostition\nforever\n    go to x: (ScrollX) y: (ScrollY)\nend\n\nwait (10) seconds\n\nshow\n\nwhen I receive [nextlevel v]\npostition\nnext costume\n\ndefine postition\nset [scrollx v] to [710]\nset [scrolly v] to [528]\n\nwhen I receive [complete v]\nshow\n\nwait (10) seconds\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [nextlevel v]\nchange [level v] by (1)\n\n@thumbnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\nend\n\n@Sprite1\n\nwhen I receive [complete v]\nset [timer v] to [0]\nrepeat until <(Level) = [9]>\n    wait (0.1) seconds\n    change [timer v] by (0.1)\nend\n\n
Did you get the easter egg?Arrow keys or WAD or Mobile controls to move.Lava And spikes will kill you.Get to the portal for next level.There are 9 levels\nComment ur time.\nMobile Friendly!\n362 Blocks!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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