Tiny Circle [A platformer]
@Stage\n\nwhen flag clicked\nforever\n    if <<[11] > (Level)> and <[0] < (Level)>> then\n        switch backdrop to (Level)\n    end\n    if <[11] = (Level)> then\n        switch backdrop to (backdrop11 v)\n    end\n    if <[12] = (Level)> then\n        switch backdrop to (backdrop10 v)\n    end\n    if <[13] = (Level)> then\n        switch backdrop to (backdrop9 v)\n    end\n    if <[14] = (Level)> then\n        switch backdrop to (backdrop8 v)\n    end\n    if <[15] = (Level)> then\n        switch backdrop to (backdrop7 v)\n    end\n    if <[16] = (Level)> then\n        switch backdrop to (backdrop5 v)\n    end\nend\n\nwhen I receive [end game v]\nforever\n\nset [level v] to [10]\n\n@Sprite1\n\nwhen I receive [message1 v]\nset [brightness v] effect to (0)\ngo to x: (-225) y: (-76)\npoint in direction (90)\nset [velocity x v] to [0]\nset [velocity y v] to [0]\nset [rotation? v] to [0]\nif <(Level) = [2]> then\n    go to x: (-219) y: (-94)\n    say [Dont touch that red stuff!] for (2) seconds\nend\nif <(Level) = [3]> then\n    go to x: (-222) y: (-4)\n    point in direction (90)\nend\nif <(Level) = [4]> then\n    go to x: (-219) y: (155)\n    point in direction (90)\nend\nif <(Level) = [5]> then\n    go to x: (-225) y: (-154)\n    point in direction (90)\nend\nif <(Level) = [6]> then\n    go to x: (-227) y: (-147)\n    point in direction (90)\nend\nif <(Level) = [7]> then\n    go to x: (-226) y: (-58)\n    point in direction (90)\nend\nif <(Level) = [8]> then\n    go to x: (-218) y: (-48)\n    point in direction (90)\nend\nif <(Level) = [9]> then\n    point in direction (90)\n    go to x: (-223) y: (-159)\nend\nif <(Level) = [10]> then\n    point in direction (90)\n    go to x: (-223) y: (-159)\nend\nif <(Level) = [11]> then\n    point in direction (90)\n    go to x: (227) y: (-162)\nend\nif <(Level) = [12]> then\n    point in direction (90)\n    go to x: (175) y: (-128)\nend\nif <(Level) = [13]> then\n    point in direction (90)\n    go to x: (222) y: (-2)\nend\nif <(Level) = [14]> then\n    point in direction (90)\n    go to x: (223) y: (-32)\nend\nif <(Level) = [15]> then\n    point in direction (90)\n    go to x: (222) y: (-152)\nend\n\ndefine Jump\nrepeat (10)\n    if <not <touching color (#666666)?>> then\n        change y by (5)\n    else\n        change y by (-5)\n    end\nend\nrepeat (5)\n    if <not <touching color (#666666)?>> then\n        change y by (3)\n    else\n        change y by (-3)\n    end\nend\nrepeat (3)\n    if <not <touching color (#666666)?>> then\n        change y by (1)\n    else\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Jump?) = [True]> then\n        set [velocity y v] to [0]\n    end\nend\n\nwhen I receive [powers v]\nrepeat (20)\n    change [brightness v] effect by (5)\nend\nset [powers? v] to [Red]\nswitch costume to (costume2 v)\nrepeat (20)\n    change [brightness v] effect by (-5)\nend\nsay [OMG, Check me out, im red now!] for (2) seconds\nsay [I think I can now Double jump] for (2) seconds\n\nif <not <touching color (#666666)?>> then\nend\n\nwhen flag clicked\nset [powers? v] to [Blue]\nset [jumppower v] to [0]\nswitch costume to (costume1 v)\nforever\n    if <(Jump?) = [False]> then\n        change [velocity y v] by (-0.5)\n        change y by (Velocity Y)\n    end\n    if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n        change y by (1)\n        set [velocity y v] to [0]\n        set [on ground? v] to [Yes]\n        set [jumppower v] to [0]\n        if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n            change y by (1)\n            set [velocity y v] to [0]\n            set [on ground? v] to [Yes]\n            set [jumppower v] to [0]\n            if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                change y by (1)\n                set [velocity y v] to [0]\n                set [on ground? v] to [Yes]\n                set [jumppower v] to [0]\n                if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                    change y by (1)\n                    set [velocity y v] to [0]\n                    set [on ground? v] to [Yes]\n                    set [jumppower v] to [0]\n                    if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                        change y by (1)\n                        set [velocity y v] to [0]\n                        set [on ground? v] to [Yes]\n                        set [jumppower v] to [0]\n                        if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                            change y by (1)\n                            set [velocity y v] to [0]\n                            set [on ground? v] to [Yes]\n                            set [jumppower v] to [0]\n                            if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                                change y by (1)\n                                set [velocity y v] to [0]\n                                set [on ground? v] to [Yes]\n                                set [jumppower v] to [0]\n                                if <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>> then\n                                    change y by (1)\n                                    set [velocity y v] to [0]\n                                    set [on ground? v] to [Yes]\n                                    set [jumppower v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <(On Ground?) = [Yes]> then\n        if <key (up arrow v) pressed?> then\n            set [jump? v] to [True]\n            if <not <(Powers?) = [Blue]>> then\n                if <(JumpPower) = [1]> then\n                    set [jump? v] to [True]\n                    set [on ground? v] to [No]\n                    set [jumppower v] to [2]\n                    Jump\n                    set [jump? v] to [False]\n                end\n                if <(JumpPower) = [0]> then\n                    change [jumppower v] by (1)\n                    Jump\n                    set [jump? v] to [False]\n                end\n            else\n                set [on ground? v] to [No]\n                Jump\n                set [jump? v] to [False]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Powers?) = [Blue]> then\n        if <not <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>>> then\n            wait (0.02) seconds\n            if <not <<touching color (#00cc44)?> or <touching color (#7f7f7f)?>>> then\n                set [on ground? v] to [No]\n            else\n                set [on ground? v] to [Yes]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#666666)?> then\n        wait (1) seconds\n        if <touching color (#666666)?> then\n            if <not <(x position) > [210]>> then\n                if <touching color (#666666)?> then\n                    change y by (-40)\n                end\n            else\n                if <(x position) > [210]> then\n                    change x by (-10)\n                else\n                    if <(x position) < [-210]> then\n                        change x by (10)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (message1 v)\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nsay [Hello!] for (2) seconds\nsay [I am tiny circle!] for (2) seconds\nsay [Use the arrow keys to move and jump!] for (2) seconds\nsay [Touch the goal to go to the next level!] for (2) seconds\n\ndefine Ultra Jump\nif <not <touching color (#666666)?>> then\n    repeat (15)\n        change y by (8)\n    end\nend\nif <not <touching color (#666666)?>> then\n    repeat (5)\n        change y by (4)\n    end\nend\nif <not <touching color (#666666)?>> then\n    repeat (2)\n        change y by (2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#003fff)?> then\n        set [jump? v] to [True]\n        set [on ground? v] to [No]\n        Ultra Jump\n        set [jump? v] to [False]\n    end\nend\n\nwhen flag clicked\nset [decelerate x v] to [True]\nset [velocity x v] to [0]\nset [jump? v] to [False]\npoint in direction (90)\nset [velocity y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        if <(Velocity X) < [6]> then\n            if <not <touching color (#666666)?>> then\n                change [velocity x v] by (0.3)\n                change [rotation? v] by (0.6)\n            else\n                set [velocity x v] to [0]\n                set [rotation? v] to [0]\n            end\n        end\n        if <not <touching color (#666666)?>> then\n            change x by (Velocity X)\n        end\n        turn right (Rotation?) degrees\n        if <touching color (#666666)?> then\n            change x by ((Velocity X) * (-1))\n            set [velocity x v] to [0]\n        end\n    else\n        if <key (left arrow v) pressed?> then\n            if <[-6] < (Velocity X)> then\n                if <touching color (#666666)?> then\n                    set [velocity x v] to [0]\n                    set [rotation? v] to [0]\n                else\n                    change [velocity x v] by (-0.3)\n                    change [rotation? v] by (-0.6)\n                end\n            end\n            if <not <touching color (#666666)?>> then\n                change x by (Velocity X)\n            end\n            if <touching color (#666666)?> then\n                change x by ((Velocity X) * (-1))\n                set [velocity x v] to [0]\n            end\n            turn right (Rotation?) degrees\n        else\n            if <(Decelerate X) = [True]> then\n                set [velocity x v] to ((Velocity X) * (0.9))\n                set [rotation? v] to ((Rotation?) * (0.9))\n                change x by (Velocity X)\n                turn right (Rotation?) degrees\n            else\n                set [velocity x v] to [0]\n            end\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [end game v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        wait until <touching (sprite1 v)?>\n        change [level v] by (1)\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [message1 v]\ngo to x: (110) y: (158)\nif <(Level) = [2]> then\n    go to x: (217) y: (-95)\nend\nif <(Level) = [3]> then\n    go to x: (-219) y: (128)\nend\nif <(Level) = [4]> then\n    go to x: (213) y: (-172)\nend\nif <(Level) = [5]> then\n    go to x: (218) y: (-159)\nend\nif <(Level) = [6]> then\n    go to x: (217) y: (-6)\nend\nif <(Level) = [7]> then\n    go to x: (217) y: (-131)\nend\nif <(Level) = [8]> then\n    go to x: (214) y: (-120)\nend\nif <(Level) = [9]> then\n    go to x: (202) y: (-129)\nend\nif <(Level) = [10]> then\n    go to x: (-223) y: (-53)\nend\nif <(Level) = [11]> then\n    go to x: (-218) y: (-124)\nend\nif <(Level) = [12]> then\n    go to x: (-223) y: (-37)\nend\nif <(Level) = [13]> then\n    go to x: (-219) y: (-1)\nend\nif <(Level) = [14]> then\n    go to x: (-207) y: (-154)\nend\nif <(Level) = [15]> then\n    go to x: (218) y: (116)\nend\n\n@Sprite3\n\nwhen I receive [message1 v]\nif <(Level) = [10]> then\n    switch costume to (costume1 v)\n    go to x: (198) y: (-51)\n    show\n    forever\n        if <touching (sprite1 v)?> then\n            broadcast (Powers v)\n            hide\n            stop [this script v]\n        end\n    end\nend\nif <(Level) = [25]> then\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nif <not <<(Level) = [10]> or <(Level) = [25]>>> then\n    hide\nend\n\ngo to x: (221) y: (-43)\n\n@Sprite4\n\ndefine Make words_\ngo to x: (-230) y: (-150)\nbroadcast (show v)\nrepeat (length of (item (Which lines?) of [dialogue v]))\n    switch costume to (letter (Next number) of (item (Which lines?) of [dialogue v]))\n    create clone of (_myself_ v)\n    change [next number v] by (1)\n    if <(x position) > [220]> then\n        go to x: (-230) y: (-165)\n    else\n        move (10) steps\n    end\nend\nbroadcast (stop showing v)\nset [next number v] to [1]\n\nwhen flag clicked\nset [next number v] to [1]\nset [which lines? v] to [1]\nhide\n\nwhen I start as a clone\nshow\nwait (10) seconds\ndelete this clone\n\nreplace item (1) of [dialogue v] with [anything!]\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nshow\n\n@Sprite6\n\nwhen I receive [level 25 v]\n\n
Press that green circle on a stick thing\n\nI will make more level once I hit 100 stars.\nComplete - 27.3% \n\nhttps://scratch.mit.edu/projects/258627042/ | Cookie Tycoon\nhttps://scratch.mit.edu/projects/210781479/ | Egg CO.\nhttps://scratch.mit.edu/projects/270051462/ | Survive the Button\n\nI'm sorry about the Glitch Where you jump and you get stuck in the ceiling. \n\n