Mr. Circle Platformer 3
@Stage\n\nwhen [space v] key pressed\nif <(backdrop [name v]) = [Options]> then\n    switch backdrop to (main menu v)\nend\n\nwhen [1 v] key pressed\nchange volume by (-10)\n\nwhen [2 v] key pressed\nchange volume by (10)\n\nwhen I receive [next level v]\nnext backdrop\nset [smalllevel? v] to [0]\nset [jetpacklevel? v] to [0]\nset [yvel v] to [0]\nset [xvel v] to [0]\nchange [level v] by (1)\nset [small? v] to [0]\n\nwhen flag clicked\nhide variable [level v]\nhide variable [☁ global high score v]\nforever\n    if <(backdrop [number v]) < [7]> then\n        reset timer\n    end\nend\n\nwhen flag clicked\nwait (4.3) seconds\nstart sound [Call to Adventure v]\n\nwhen backdrop switches to [level1 v]\nshow variable [level v]\nset [level v] to [1]\n\nwhen backdrop switches to [done! v]\nif <(Time) < (☁ GLOBAL HIGH SCORE)> then\n    set [☁ global high score v] to (Time)\nend\nshow variable [☁ global high score v]\n\n@Mr. Circle title\n\nwhen backdrop switches to [options v]\nhide\n\nwhen flag clicked\nswitch backdrop to (main menu v)\nshow\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [pixelate v] effect by (-4)\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@Platformer title\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [pixelate v] effect by (-4)\nend\n\nwhen backdrop switches to [options v]\nhide\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@2 title\n\nwhen flag clicked\nset [intro done? v] to [0]\nhide\nwait (2) seconds\nshow\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [pixelate v] effect by (-4)\nend\nset [intro done? v] to [1]\n\nwhen backdrop switches to [options v]\nhide\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@Play button\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nwait (3.2) seconds\nshow\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [pixelate v] effect by (-4)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [options v]\nhide\n\nwhen backdrop switches to [options v]\nhide\n\nwhen backdrop switches to [options v]\nhide\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen this sprite clicked\nswitch backdrop to (intro1 v)\nhide\n\n@Options button\n\nwhen flag clicked\nhide\nwait (3.2) seconds\nshow\nswitch costume to (costume1 v)\nset [pixelate v] effect to (200)\nrepeat (50)\n    change [pixelate v] effect by (-4)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [main menu v]\nif <(Intro done?) = [1]> then\n    show\nend\n\nwhen this sprite clicked\nswitch backdrop to (options v)\nhide\n\nwhen backdrop switches to [intro1 v]\nhide\n\nwhen backdrop switches to [intro1 v]\nhide\n\nwhen backdrop switches to [intro1 v]\nhide\n\n@Mr. Circle\n\nwhen I receive [go small v]\nset [small? v] to [1]\nrepeat (10)\n    wait (0.05) seconds\n    change size by (-5)\nend\nwait (6) seconds\nrepeat (10)\n    wait (0.05) seconds\n    change size by (5)\nend\nset [small? v] to [0]\n\nwhen flag clicked\nhide\nhide variable [time v]\nset [jetpack? v] to [0]\nhide variable [fuel v]\nset size to (100) %\nforever\n    if <(Small?) = [0]> then\n        set size to (100) %\n    end\n    if <touching (fish v)?> then\n        hide\n    end\n    if <(backdrop [name v]) = [In the fish . . .]> then\n        hide\n    end\nend\n\nwhen backdrop switches to [intro1 v]\nset [ghost v] effect to (0)\nshow\ngo to x: (-218) y: (-110)\nset [yvel v] to [0]\nset [xvel v] to [0]\nforever\n    if <touching (jetpack v)?> then\n        set [xvel v] to [0]\n        set [yvel v] to [0]\n        set [jetpack? v] to [1]\n        switch costume to (jetpack v)\n        broadcast (hide jet\[ack v)\n        show variable [fuel v]\n        set [fuel v] to [230]\n    end\n    if <(jetpack?) = [0]> then\n        change [yvel v] by (-1)\n        if <<key (space v) pressed?> or <<(y position) < [-168]> or <touching color (#ff0000)?>>> then\n            hide\n            set [yvel v] to [0]\n            set [xvel v] to [0]\n            wait (0.5) seconds\n            go to x: (-218) y: (-110)\n            show\n            set size to (100) %\n            if <(SmallLevel?) = [1]> then\n                broadcast (show small v)\n            end\n            if <(JetpackLevel?) = [1]> then\n                broadcast (show jetpack v)\n            end\n            set [small? v] to [0]\n        end\n        if <<not <key (right arrow v) pressed?>> and <not <key (left arrow v) pressed?>>> then\n            switch costume to (straight v)\n        end\n        if <key (right arrow v) pressed?> then\n            change [xvel v] by (0.7)\n            switch costume to (right v)\n        end\n        if <key (left arrow v) pressed?> then\n            change [xvel v] by (-0.7)\n            switch costume to (left v)\n        end\n        change x by (Xvel)\n        if <touching color (#000000)?> then\n            change y by (2)\n            if <touching color (#000000)?> then\n                change y by (2)\n                if <touching color (#000000)?> then\n                    change y by (2)\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 ((Xvel) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> and <not <color (#003fff) is touching (#000000)?>>> then\n                                    if <(Xvel) > [0]> then\n                                        set [xvel v] to [-8]\n                                    else\n                                        set [xvel v] to [8]\n                                    end\n                                    set [yvel v] to [14]\n                                else\n                                    set [xvel v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        if <color (#003fff) is touching (#000000)?> then\n            change y by (-7)\n        end\n        change y by (Yvel)\n        if <touching color (#000000)?> then\n            change y by ((Yvel) * (-1))\n            set [yvel v] to [0]\n        end\n        change y by (-1)\n        if <touching color (#000000)?> then\n            if <key (up arrow v) pressed?> then\n                set [yvel v] to [14]\n            end\n        end\n        if <touching color (#7f00ff)?> then\n            set [yvel v] to [20]\n        end\n        if <touching color (#00ff55)?> then\n            set [xvel v] to [30]\n            set [yvel v] to [2]\n        end\n        change y by (1)\n        set [xvel v] to ((Xvel) * (0.9))\n        if <(x position) > [231]> then\n            broadcast (next level v)\n            go to x: (-218) y: (-110)\n        end\n    end\n    if <(jetpack?) = [1]> then\n        switch costume to (jetpacks v)\n        set [jxvel v] to [0]\n        repeat until <(Fuel) = [0]>\n            change [fuel v] by (-1)\n            if <<key (space v) pressed?> or <<touching color (#ff0000)?> or <(y position) < [-189]>>> then\n                set [fuel v] to [0]\n                set [jetpack? v] to [0]\n                set [yvel v] to [14]\n            end\n            if <not <<color (#ff9400) is touching (#000000)?> and <not <<color (#ff9400) is touching (#00ff55)?> and <not <color (#ff9400) is touching (#7f00ff)?>>>>>> then\n                if <key (up arrow v) pressed?> then\n                    change y by (10)\n                    if <(Small?) = [1]> then\n                        change y by (-5)\n                    end\n                end\n            else\n                change y by (-10)\n                if <(Small?) = [1]> then\n                    change y by (5)\n                end\n            end\n            if <not <<color (#ff0000) is touching (#000000)?> and <not <<color (#ff0000) is touching (#00ff55)?> and <not <color (#ff0000) is touching (#7f00ff)?>>>>>> then\n                if <key (down arrow v) pressed?> then\n                    change y by (-10)\n                end\n            else\n                change y by (10)\n            end\n            if <not <<touching color (#000000)?> and <not <<touching color (#7f00ff)?> and <not <touching color (#00ff55)?>>>>>> then\n                if <key (right arrow v) pressed?> then\n                    change [jxvel v] by (0.7)\n                    switch costume to (jetpackr v)\n                end\n                if <key (left arrow v) pressed?> then\n                    change [jxvel v] by (-0.7)\n                    switch costume to (jetpackl v)\n                end\n            else\n                change x by ((JXvel) * (-1))\n                if <<(JXvel) < [0]> and <not <<(JXvel) < [0.5]> and <not <(JXvel) > [-0.5]>>>>> then\n                    if <<not <key (down arrow v) pressed?>> and <not <key (up arrow v) pressed?>>> then\n                        change x by (10)\n                    end\n                else\n                    if <<not <key (down arrow v) pressed?>> and <not <key (up arrow v) pressed?>>> then\n                        change x by (-10)\n                    end\n                end\n            end\n            if <<not <key (right arrow v) pressed?>> and <not <key (left arrow v) pressed?>>> then\n                switch costume to (jetpacks v)\n                set [jxvel v] to [0]\n            end\n            if <(x position) > [229]> then\n                set [jetpack? v] to [0]\n                set [fuel v] to [0]\n                hide variable [fuel v]\n                switch costume to (straight v)\n                go to x: (-218) y: (-110)\n                broadcast (next level v)\n            end\n            change x by (JXvel)\n            set [jxvel v] to ((JXvel) * (0.9))\n        end\n        set [jetpack? v] to [0]\n        hide variable [fuel v]\n    end\nend\n\nwhen backdrop switches to [level10 v]\nset [ghost v] effect to (0)\ngo to x: (-223) y: (-144)\n\nwhen I receive [fish v]\nhide\nset [ghost v] effect to (100)\n\nwhen backdrop switches to [done! v]\nhide variable [level v]\nshow variable [time v]\nset [ghost v] effect to (100)\nset [time v] to (timer)\nforever\n    reset timer\nend\n\n@Roof\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [intro1 v]\nshow\n\nwhen backdrop switches to [level13 v]\nhide\n\nwhen backdrop switches to [level16 v]\nshow\n\n@Jetpack\n\nwhen flag clicked\nhide\nset [jetpacklevel? v] to [0]\n\nwhen I receive [hide jet\[ack v]\nhide\n\nwhen backdrop switches to [intro3 v]\ngo to x: (-96) y: (-101)\nshow\nset [jetpacklevel? v] to [1]\n\nwhen I receive [show jetpack v]\nshow\n\nwhen backdrop switches to [intro4 v]\ngo to x: (-172) y: (-106)\nshow\nset [jetpacklevel? v] to [1]\n\nwhen backdrop switches to [level4 v]\ngo to x: (-178) y: (-110)\nshow\nset [jetpacklevel? v] to [1]\n\nwhen backdrop switches to [level6 v]\ngo to x: (-178) y: (-110)\nshow\nset [jetpacklevel? v] to [1]\n\nwhen backdrop switches to [level18 v]\ngo to x: (-200) y: (-70)\nshow\nset [jetpacklevel? v] to [1]\n\n@Ferris wheel 1\n\nwhen flag clicked\nhide\nforever\n    turn right (2) degrees\nend\n\nwhen backdrop switches to [level4 v]\nshow\ngo to x: (-62) y: (36)\n\nwhen backdrop switches to [dead v]\nhide\n\nwhen backdrop switches to [level5 v]\nhide\n\n@Ferris wheel 2\n\nwhen flag clicked\nhide\nforever\n    turn left (2) degrees\nend\n\nwhen backdrop switches to [level4 v]\nshow\ngo to x: (24) y: (-72)\n\nwhen backdrop switches to [level5 v]\nhide\n\n@Small Power\n\nwhen flag clicked\nset [smalllevel? v] to [0]\nhide\nforever\n    if <touching (mr. circle v)?> then\n        hide\n        broadcast (go small v)\n    end\nend\n\nwhen backdrop switches to [level5 v]\nshow\ngo to x: (-80) y: (-98)\nset [smalllevel? v] to [1]\n\nwhen I receive [show small v]\nshow\n\nwhen backdrop switches to [level6 v]\nshow\ngo to x: (-109) y: (-38)\nset [smalllevel? v] to [1]\n\nwhen backdrop switches to [level7 v]\nshow\ngo to x: (22) y: (172)\nset [smalllevel? v] to [1]\n\nwhen backdrop switches to [level8 v]\nshow\ngo to x: (140) y: (-36)\nset [smalllevel? v] to [1]\n\nwhen backdrop switches to [level18 v]\ngo to x: (-31) y: (-66)\nshow\nset [smalllevel? v] to [1]\n\n@Red Block\n\nwhen flag clicked\nhide\nforever\n    wait (1) seconds\n    next costume\nend\n\nwhen I receive [next level v]\nhide\ngo to x: (-4) y: (108)\n\nwhen backdrop switches to [level6 v]\nshow\n\n@Moving Zoomer\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [name v]) = [Level6]> then\n        repeat (15)\n            wait (0.03) seconds\n            change x by (5)\n        end\n        repeat (15)\n            wait (0.03) seconds\n            change x by (-5)\n        end\n    end\nend\n\nwhen I receive [next level v]\nhide\n\nwhen backdrop switches to [level6 v]\nshow\ngo to x: (155) y: (92)\n\n@Up/Down Red\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level7 v]\ngo to x: (-14) y: (-15)\nshow\nforever\n    repeat (40)\n        change y by (3)\n    end\n    repeat (40)\n        change y by (-3)\n    end\nend\n\nwhen I receive [next level v]\nhide\n\n@Red Circle\n\nwhen flag clicked\nhide\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [next level v]\nhide\n\nwhen backdrop switches to [level8 v]\ngo to x: (-71) y: (52)\nshow\n\n@Activation Seagull\n\nwhen flag clicked\nhide\nset [fish activated? v] to [0]\n\nwhen backdrop switches to [level9 v]\nshow\nforever\n    if <<(FISH activated?) = [0]> and <<touching (mr. circle v)?> and <(backdrop [name v]) = [Level9]>>> then\n        broadcast (FISH v)\n        set [fish activated? v] to [1]\n    end\nend\n\nwhen backdrop switches to [in the fish . . . v]\nhide\n\n@FISH\n\nwhen flag clicked\nhide\n\nwhen I receive [fish v]\nshow\ngo to x: (368) y: (-207)\nrepeat (70)\n    change x by (-10)\n    change y by (6.5)\nend\nhide\nswitch backdrop to (in the fish . . . v)\nwait (2) seconds\nswitch backdrop to (level10 v)\nchange [level v] by (1)\n\n@Evil Fish\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level13 v]\nshow\ngo to x: (-51) y: (34)\nswitch costume to (costume1 v)\nforever\n    if <(backdrop [name v]) = [Level13]> then\n        repeat (60)\n            change x by (-5)\n        end\n        switch costume to (costume2 v)\n        repeat (60)\n            change x by (5)\n        end\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [next level v]\nhide\n\n@Red Rain\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level17 v]\nshow\ngo to x: (-23) y: (174)\nforever\n    repeat (54)\n        change y by (-6)\n    end\n    go to x: (-23) y: (174)\nend\n\nwhen I receive [next level v]\nhide\n\n@Other Ferris Wheel\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level19 v]\nshow\ngo to x: (-5) y: (-5)\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [next level v]\nhide\n\n
Use those arrow keys to move around. Press space to restart the level. Use the arrow keys to maneuver the jetpack.\n\nHave fun!!! 