Mirrored || A platformer
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (swamp1 v)\n\nwhen I receive [outro v]\nswitch backdrop to (backdrop23 v)\nset [world v] to [0]\n\n@Player\n\ndefine Movement\nchange [y velocity v] by (-1)\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n    change [x velocity v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n    change [x velocity v] by (1)\nend\nset [x velocity v] to ((X velocity) * (0.9))\nchange x by (X velocity)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((X velocity) * (-1))\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n        set [y velocity v] to [13]\n        if <(X velocity) > [0]> then\n            set [x velocity v] to [-10]\n        else\n            set [x velocity v] to [10]\n        end\n    else\n        set [x velocity v] to [0]\n    end\nend\nchange y by (y velocity)\nif <touching (ground v)?> then\n    change y by ((y velocity) * (-1))\n    set [y velocity v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> and <touching (ground v)?>> then\n    set [y velocity v] to [13]\nend\nchange y by (1)\n\nwhen flag clicked\nhide\nset [brightness v] to [0]\nswitch costume to (resting v)\ngo to x: (-200) y: (0)\nforever\n    create clone of (_myself_ v)\n    change [brightness v] by (-0.05)\nend\n\nwhen I receive [start v]\nwait (1) seconds\nshow\nforever\n    Movement\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (25)\n    change [color v] effect by (0.7)\n    change [brightness v] effect by (-3.5)\n    change [ghost v] effect by (8.5)\nend\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> and <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>> then\n        switch costume to (up-right v)\n    else\n        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> and <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n            switch costume to (up-left v)\n        else\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n                switch costume to (up v)\n            else\n                if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n                    switch costume to (right v)\n                else\n                    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n                        switch costume to (left v)\n                    else\n                        switch costume to (resting v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(x position) > [240]> then\n        RESET\n        broadcast (NEXT LEVEL v)\n    end\nend\n\ndefine RESET\nclear graphic effects\ngo to x: (-200) y: (0)\n\nwhen I receive [start v]\nwait (1) seconds\nshow\nforever\n    if <touching (lava v)?> then\n        RESET\n        if <(SFX?) = [yes]> then\n            start sound [Select Bad v]\n        end\n    end\nend\n\nwhen [space v] key pressed\nRESET\n\nwhen I receive [next level v]\nRESET\nif <(SFX?) = [yes]> then\n    start sound [Select Good v]\nend\n\nwhen I receive [outro v]\nhide\n\n@Ground\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nif <<(costume [number v]) = [5]> or <<(costume [number v]) = [10]> or <<(costume [number v]) = [15]> or <(costume [number v]) = [20]>>>> then\n    broadcast (Next world v)\nelse\n    if <(costume [number v]) = [25]> then\n        broadcast (Outro v)\n    end\nend\nwait () seconds\nnext costume\n\nwhen I receive [start v]\nset [min v] to [0]\nset [sec v] to [0]\nrepeat until <(costume [number v]) = [26]>\n    repeat until <(sec) = [60]>\n        wait (1) seconds\n        change [sec v] by (1)\n        if <(sec) < [10]> then\n            set [sec v] to (join [0] (sec))\n        end\n    end\n    change [min v] by (1)\n    set [sec v] to [00]\nend\n\nwhen I receive [start v]\nforever\n    set [time v] to (join (min) (sec))\nend\n\nwhen I receive [outro v]\nif <(time) < (☁ World Record)> then\n    set [☁ world record v] to (time)\nend\n\n@Menu\n\nwhen flag clicked\nhide\nset [music? v] to [yes]\nset [sfx? v] to [yes]\nset [tutorial? v] to [no]\nset [fade v] to [0]\nset [clone # v] to [0]\nrepeat (4)\n    change [clone # v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    play sound [TOBU - CANDYLAND \[NCS RELEASE\].mp3 v] until done\nend\n\nwhen I start as a clone\npoint in direction (90)\nset size to (100) %\nif <(Clone #) = [1]> then\n    point in direction (90)\n    switch costume to (tn v)\n    go to x: (0) y: (0)\n    show\nelse\n    if <(Clone #) = [2]> then\n        switch costume to (costume2 v)\n        go to x: (-200) y: (-30)\n        wait (1) seconds\n        show\n        glide (0.5) secs to x: (-100) y: (-30)\n        forever\n            if <(fade) = [out]> then\n                point in direction (90)\n                set size to (100) %\n                glide (1) secs to x: (-200) y: (-30)\n                delete this clone\n            else\n                if <touching (mouse-pointer v)?> then\n                    point in direction (90)\n                    set size to (100) %\n                else\n                    set size to (100) %\n                    repeat (5)\n                        turn left (speed ~outro~) degrees\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        turn left (speed ~outro~) degrees\n                        change [speed ~outro~ v] by (-0.5)\n                        change size by (speed ~outro~)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        turn right (speed ~outro~) degrees\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        turn right (speed ~outro~) degrees\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        turn right (speed ~outro~) degrees\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        turn right (speed ~outro~) degrees\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        turn left (speed ~outro~) degrees\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        turn left (speed ~outro~) degrees\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                end\n            end\n        end\n    else\n        if <(Clone #) = [3]> then\n            switch costume to (costume1 v)\n            go to x: (0) y: (-200)\n            wait (1) seconds\n            show\n            glide (0.5) secs to x: (0) y: (-30)\n            forever\n                set size to (100) %\n                repeat (5)\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (-0.5)\n                end\n            end\n        else\n            if <(Clone #) = [4]> then\n                switch costume to (costume3 v)\n                go to x: (200) y: (-30)\n                wait (1) seconds\n                show\n                glide (0.5) secs to x: (100) y: (-30)\n                forever\n                    if <(fade) = [out]> then\n                        glide (1) secs to x: (200) y: (-30)\n                        delete this clone\n                    else\n                        if <touching (mouse-pointer v)?> then\n                            point in direction (90)\n                            set size to (100) %\n                        else\n                            set size to (100) %\n                            repeat (5)\n                                turn right (speed ~outro~) degrees\n                                change size by (speed ~outro~)\n                                change [speed ~outro~ v] by (0.5)\n                            end\n                            repeat (5)\n                                turn right (speed ~outro~) degrees\n                                change size by (speed ~outro~)\n                                change [speed ~outro~ v] by (-0.5)\n                            end\n                            set [speed ~outro~ v] to [0.5]\n                            repeat (5)\n                                turn left (speed ~outro~) degrees\n                                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                                change [speed ~outro~ v] by (0.5)\n                            end\n                            repeat (5)\n                                turn left (speed ~outro~) degrees\n                                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                                change [speed ~outro~ v] by (-0.5)\n                            end\n                            set [speed ~outro~ v] to [0.5]\n                            repeat (5)\n                                turn left (speed ~outro~) degrees\n                                change size by (speed ~outro~)\n                                change [speed ~outro~ v] by (0.5)\n                            end\n                            repeat (5)\n                                turn left (speed ~outro~) degrees\n                                change size by (speed ~outro~)\n                                change [speed ~outro~ v] by (-0.5)\n                            end\n                            repeat (5)\n                                turn right (speed ~outro~) degrees\n                                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                                change [speed ~outro~ v] by (0.5)\n                            end\n                            repeat (5)\n                                turn right (speed ~outro~) degrees\n                                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                                change [speed ~outro~ v] by (-0.5)\n                            end\n                            set [speed ~outro~ v] to [0.5]\n                        end\n                    end\n                end\n            else\n                if <(Clone #) = [5]> then\n                    go to [front v] layer\n                    set size to (0) %\n                    set [ghost v] effect to (100)\n                    switch costume to (costume4 v)\n                    go to x: (0) y: (0)\n                    repeat (25)\n                        change size by (3.5)\n                        change [ghost v] effect by (-4)\n                    end\n                    forever\n                        if <(clone fade) = [out]> then\n                            repeat (25)\n                                change size by (-3.5)\n                                change [ghost v] effect by (4)\n                            end\n                            set [clone fade v] to [No]\n                            delete this clone\n                        end\n                        if <(clone fade) = [out]> then\n                            repeat (25)\n                                change size by (-3.5)\n                                change [ghost v] effect by (4)\n                            end\n                            delete this clone\n                        end\n                    end\n                else\n                    if <(Clone #) = [6]> then\n                        go to x: (70) y: (110)\n                        go to [front v] layer\n                        set size to (0) %\n                        set [ghost v] effect to (100)\n                        switch costume to (green v)\n                        repeat (25)\n                            change size by (3.5)\n                            change [ghost v] effect by (-4)\n                        end\n                        forever\n                            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                                if <(costume [number v]) = [6]> then\n                                    switch costume to (red v)\n                                    set [music? v] to [no]\n                                else\n                                    if <(costume [number v]) = [7]> then\n                                        switch costume to (green v)\n                                        set [music? v] to [yes]\n                                    end\n                                end\n                                wait (0.5) seconds\n                            end\n                            if <(clone fade) = [out]> then\n                                repeat (25)\n                                    change size by (-3.5)\n                                    change [ghost v] effect by (4)\n                                end\n                                delete this clone\n                            end\n                        end\n                    else\n                        if <(Clone #) = [7]> then\n                            go to x: (70) y: (15)\n                            go to [front v] layer\n                            set size to (0) %\n                            set [ghost v] effect to (100)\n                            switch costume to (green v)\n                            repeat (25)\n                                change size by (3.5)\n                                change [ghost v] effect by (-4)\n                            end\n                            forever\n                                if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                                    if <(costume [number v]) = [6]> then\n                                        switch costume to (red v)\n                                        set [sfx? v] to [no]\n                                    else\n                                        if <(costume [number v]) = [7]> then\n                                            switch costume to (green v)\n                                            set [sfx? v] to [yes]\n                                        end\n                                    end\n                                    wait (0.5) seconds\n                                end\n                                if <(clone fade) = [out]> then\n                                    repeat (25)\n                                        change size by (-3.5)\n                                        change [ghost v] effect by (4)\n                                    end\n                                    delete this clone\n                                end\n                            end\n                        else\n                            if <(Clone #) = [8]> then\n                                go to x: (70) y: (-80)\n                                go to [front v] layer\n                                set size to (0) %\n                                set [ghost v] effect to (100)\n                                switch costume to (red v)\n                                repeat (25)\n                                    change size by (3.5)\n                                    change [ghost v] effect by (-4)\n                                end\n                                forever\n                                    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                                        if <(costume [number v]) = [6]> then\n                                            switch costume to (red v)\n                                            set [tutorial? v] to [no]\n                                        else\n                                            if <(costume [number v]) = [7]> then\n                                                switch costume to (green v)\n                                                set [tutorial? v] to [yes]\n                                            end\n                                        end\n                                        wait (0.5) seconds\n                                    end\n                                    if <(clone fade) = [out]> then\n                                        repeat (25)\n                                            change size by (-3.5)\n                                            change [ghost v] effect by (4)\n                                        end\n                                        delete this clone\n                                    end\n                                end\n                            else\n                                if <(Clone #) = [9]> then\n                                    go to x: (165) y: (-140)\n                                    go to [front v] layer\n                                    set size to (0) %\n                                    set [ghost v] effect to (100)\n                                    switch costume to (exit v)\n                                    repeat (25)\n                                        change size by (3.5)\n                                        change [ghost v] effect by (-4)\n                                    end\n                                    forever\n                                        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                                            set [clone fade v] to [out]\n                                        end\n                                        if <(clone fade) = [out]> then\n                                            repeat (25)\n                                                change size by (-3.5)\n                                                change [ghost v] effect by (4)\n                                            end\n                                            delete this clone\n                                        end\n                                    end\n                                else\n                                    if <(Clone #) = [10]> then\n                                        go to [front v] layer\n                                        set size to (0) %\n                                        set [ghost v] effect to (100)\n                                        switch costume to (costume5 v)\n                                        go to x: (0) y: (0)\n                                        repeat (25)\n                                            change size by (3.5)\n                                            change [ghost v] effect by (-4)\n                                        end\n                                        forever\n                                            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                                                set [clone fade v] to [out]\n                                            end\n                                            if <(clone fade) = [out]> then\n                                                repeat (25)\n                                                    change size by (-3.5)\n                                                    change [ghost v] effect by (4)\n                                                end\n                                                delete this clone\n                                            end\n                                            if <(clone fade) = [out]> then\n                                                repeat (25)\n                                                    change size by (-3.5)\n                                                    change [ghost v] effect by (4)\n                                                end\n                                                delete this clone\n                                            end\n                                        end\n                                    else\n                                        if <(Clone #) = [11]> then\n                                            go to x: (-45) y: (0)\n                                            go to [front v] layer\n                                            set size to (0) %\n                                            set [ghost v] effect to (100)\n                                            switch costume to (letter (1) of (☁ World Record))\n                                            repeat (25)\n                                                change size by (3.5)\n                                                change [ghost v] effect by (-4)\n                                            end\n                                            forever\n                                                if <(clone fade) = [out]> then\n                                                    repeat (25)\n                                                        change size by (-3.5)\n                                                        change [ghost v] effect by (4)\n                                                    end\n                                                    delete this clone\n                                                end\n                                            end\n                                        else\n                                            if <(Clone #) = [12]> then\n                                                go to x: (-20) y: (0)\n                                                go to [front v] layer\n                                                set size to (0) %\n                                                set [ghost v] effect to (100)\n                                                switch costume to (: v)\n                                                repeat (25)\n                                                    change size by (3.5)\n                                                    change [ghost v] effect by (-4)\n                                                end\n                                                forever\n                                                    if <(clone fade) = [out]> then\n                                                        repeat (25)\n                                                            change size by (-3.5)\n                                                            change [ghost v] effect by (4)\n                                                        end\n                                                        delete this clone\n                                                    end\n                                                end\n                                            else\n                                                if <(Clone #) = [13]> then\n                                                    go to x: (15) y: (0)\n                                                    go to [front v] layer\n                                                    set size to (0) %\n                                                    set [ghost v] effect to (100)\n                                                    switch costume to (letter (2) of (☁ World Record))\n                                                    repeat (25)\n                                                        change size by (3.5)\n                                                        change [ghost v] effect by (-4)\n                                                    end\n                                                    forever\n                                                        if <(clone fade) = [out]> then\n                                                            repeat (25)\n                                                                change size by (-3.5)\n                                                                change [ghost v] effect by (4)\n                                                            end\n                                                            delete this clone\n                                                        end\n                                                    end\n                                                else\n                                                    if <(Clone #) = [14]> then\n                                                        go to x: (60) y: (0)\n                                                        go to [front v] layer\n                                                        set size to (0) %\n                                                        set [ghost v] effect to (100)\n                                                        switch costume to (letter (3) of (☁ World Record))\n                                                        repeat (25)\n                                                            change size by (3.5)\n                                                            change [ghost v] effect by (-4)\n                                                        end\n                                                        forever\n                                                            if <(clone fade) = [out]> then\n                                                                repeat (25)\n                                                                    change size by (-3.5)\n                                                                    change [ghost v] effect by (4)\n                                                                end\n                                                                delete this clone\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Clone #) = [1]> then\n    forever\n        if <(fade) = [out]> then\n            repeat (33)\n                change [ghost v] effect by (3)\n            end\n        end\n    end\nelse\n    if <(Clone #) = [2]> then\n        forever\n            if <(fade) = [out]> then\n                point in direction (90)\n                set size to (100) %\n                glide (1) secs to x: (-300) y: (-30)\n                delete this clone\n            end\n            if <touching (mouse-pointer v)?> then\n                if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                    set [clone # v] to [4]\n                    set [clone fade v] to [0]\n                    repeat (5)\n                        change [clone # v] by (1)\n                        create clone of (_myself_ v)\n                    end\n                end\n            else\n            end\n        end\n    else\n        if <(Clone #) = [3]> then\n            forever\n                if <(fade) = [out]> then\n                    glide (1) secs to x: (0) y: (-300)\n                    delete this clone\n                end\n                if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                    point in direction (90)\n                    set size to (100) %\n                    set [fade v] to [out]\n                    broadcast (start v)\n                end\n            end\n        else\n            if <(Clone #) = [4]> then\n                forever\n                    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                        set [clone # v] to [9]\n                        set [clone fade v] to [0]\n                        repeat (5)\n                            change [clone # v] by (1)\n                            create clone of (_myself_ v)\n                        end\n                    end\n                    if <(fade) = [out]> then\n                        glide (1) secs to x: (300) y: (-30)\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Music?) = [no]> then\n        stop all sounds\n    end\nend\n\n@Transition\n\nwhen I receive [next world v]\ngo to [front v] layer\nchange [world v] by (1)\nset [speed v] to [0]\ngo to x: (535) y: (0)\nnext costume\nshow\nrepeat (23)\n    change x by (speed)\n    change [speed v] by (-1)\nend\nrepeat (20)\n    change x by (speed)\n    change [speed v] by (1)\nend\nrepeat (15)\n    change x by (-2.5)\nend\nrepeat (30)\n    change x by (speed)\n    change [speed v] by (-1)\nend\nhide\n\nwhen I receive [start v]\ngo to [front v] layer\nset [world v] to [1]\nwait (1) seconds\nset [speed v] to [0]\ngo to x: (535) y: (0)\nswitch costume to (costume1 v)\nshow\nrepeat (23)\n    change x by (speed)\n    change [speed v] by (-1)\nend\nrepeat (20)\n    change x by (speed)\n    change [speed v] by (1)\nend\nrepeat (15)\n    change x by (-2.5)\nend\nrepeat (30)\n    change x by (speed)\n    change [speed v] by (-1)\nend\nhide\n\nwhen flag clicked\nhide\n\n@Lava\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [next level v]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nnext costume\n\n@Moving sections\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <(World) = [1]> then\n        create clone of (_myself_ v)\n    else\n        if <(World) = [2]> then\n            wait (pick random (1.0) to (5.0)) seconds\n            create clone of (_myself_ v)\n        else\n            if <(World) = [3]> then\n                wait (pick random (0.0) to (1.0)) seconds\n                create clone of (_myself_ v)\n            else\n                if <(World) = [4]> then\n                    set [clone # v] to (pick random (1) to (10))\n                    create clone of (_myself_ v)\n                else\n                    if <(World) = [5]> then\n                        wait (1) seconds\n                        set [clone # v] to (pick random (1) to (4))\n                        create clone of (_myself_ v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(World) = [1]> then\n    switch costume to (costume1 v)\n    set [speed v] to [0]\n    go to x: (pick random (-230) to (230)) y: (170)\n    go to [back v] layer\n    show\n    repeat until <<touching (ground v)?> or <touching (lava v)?>>\n        change y by (-5)\n    end\n    repeat (5)\n        change y by (1)\n    end\n    set [speed v] to [0]\n    repeat (7)\n        change y by (speed)\n        change [speed v] by (-0.1)\n    end\n    switch costume to (costume2 v)\n    wait () seconds\n    delete this clone\nelse\n    if <(World) = [2]> then\n        switch costume to (costume3 v)\n        set [speed v] to [0]\n        go to x: (item (pick random (1) to (2)) of [x v]) y: (pick random (-100) to (100))\n        set [x v] to (x position)\n        go to [back v] layer\n        show\n        if <(x) = [-230]> then\n            repeat until <(x position) > [230]>\n                switch costume to (costume3 v)\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                switch costume to (costume4 v)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                switch costume to (costume5 v)\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n                change x by (7)\n                wait () seconds\n            end\n        else\n            repeat until <(x position) < [-230]>\n                switch costume to (costume3 v)\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                switch costume to (costume4 v)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                switch costume to (costume5 v)\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n                change x by (-7)\n                wait () seconds\n            end\n        end\n        delete this clone\n    else\n        if <(World) = [3]> then\n            switch costume to (costume6 v)\n            set size to (pick random (100) to (300)) %\n            set [speed v] to [0]\n            go to x: (pick random (-240) to (240)) y: (-200)\n            set [x v] to (x position)\n            go to [back v] layer\n            show\n            repeat until <(y position) > [170]>\n                change y by (speed)\n                change [speed v] by (0.2)\n            end\n            delete this clone\n        else\n            if <(World) = [4]> then\n                if <(Clone #) = [1]> then\n                    show\n                    set rotation style [left-right v]\n                    clear graphic effects\n                    go to [front v] layer\n                    go to x: (230) y: (pick random (-150) to (150))\n                    switch costume to (costume66 v)\n                    if <(x position) = [230]> then\n                        point in direction (90)\n                        repeat (26)\n                            change x by (-4)\n                            switch costume to ((costume [number v]) - (1))\n                            change [ghost v] effect by (1)\n                        end\n                        repeat (26)\n                            change x by (-4)\n                            change [ghost v] effect by (4)\n                        end\n                    end\n                    delete this clone\n                else\n                    clear graphic effects\n                    switch costume to (costume8 v)\n                    set [speed v] to [0]\n                    go to x: (pick random (-230) to (230)) y: (170)\n                    go to [front v] layer\n                    show\n                    repeat until <touching (_edge_ v)?>\n                        change [ghost v] effect by (0.5)\n                        change y by (-5)\n                    end\n                    set [speed v] to [0]\n                    wait () seconds\n                    delete this clone\n                end\n            else\n                if <(World) = [5]> then\n                    set [color v] effect to (pick random (0) to (5))\n                    set [ghost v] effect to (pick random (0) to (15))\n                    set [brightness v] effect to (pick random (10) to (30))\n                    show\n                    switch costume to (pick random (35) to (36))\n                    go to [front v] layer\n                    if <(Clone #) = [1]> then\n                        go to x: (-230) y: (pick random (-170) to (170))\n                        repeat until <(x position) > [229]>\n                            change [ghost v] effect by (0.5)\n                            turn right (pick random (-1) to (1)) degrees\n                            move (2) steps\n                        end\n                        delete this clone\n                    else\n                        if <(Clone #) = [2]> then\n                            go to x: (220) y: (pick random (-170) to (170))\n                            repeat until <(x position) < [-229]>\n                                change [ghost v] effect by (0.5)\n                                turn right (pick random (-1) to (1)) degrees\n                                move (-2) steps\n                            end\n                            delete this clone\n                        else\n                            if <(Clone #) = [3]> then\n                                go to x: (pick random (-230) to (230)) y: (-170)\n                                repeat until <(y position) > [169]>\n                                    change [ghost v] effect by (0.5)\n                                    turn right (pick random (-1) to (1)) degrees\n                                    move (2) steps\n                                end\n                                delete this clone\n                            else\n                                if <(Clone #) = [4]> then\n                                    go to x: (pick random (-230) to (230)) y: (170)\n                                    repeat until <(y position) < [-169]>\n                                        change [ghost v] effect by (0.5)\n                                        turn right (pick random (-1) to (1)) degrees\n                                        move (-2) steps\n                                    end\n                                    delete this clone\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Tutorialt\n\nwhen I receive [start v]\nshow\nif <(Tutorial?) = [yes]> then\n    wait (4.3) seconds\n    repeat (25)\n        change size by (3.5)\n        change [ghost v] effect by (-4)\n    end\n    wait until <mouse down?>\n    repeat (25)\n        change size by (-3.5)\n        change [ghost v] effect by (4)\n    end\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\nset size to (0) %\n\n@Sign\n\nwhen flag clicked\ngo to [front v] layer\nset [random v] to [0]\nswitch costume to (sadddd v)\ngo to x: (-148) y: (211)\nhide\nforever\n    wait (pick random (20) to (30)) seconds\n    broadcast (Heat&Star v)\nend\n\nwhen I receive [heat&star v]\nset [heart&star v] to (pick random (1) to (3))\nif <(Heart&Star) = [1]> then\n    switch costume to (sadddd v)\n    show\n    glide (1) secs to x: (-148) y: (135)\n    repeat (16)\n        wait (0.01) seconds\n        next costume\n    end\n    wait (0.5) seconds\n    glide (1) secs to x: (-148) y: (211)\n    hide\nend\nif <(Heart&Star) = [2]> then\n    switch costume to (contest v)\n    show\n    glide (1) secs to x: (-148) y: (135)\n    wait (3) seconds\n    glide (1) secs to x: (-148) y: (211)\n    hide\nelse\n    if <(Heart&Star) = [3]> then\n        switch costume to (follow v)\n        show\n        glide (1) secs to x: (-148) y: (135)\n        wait (3) seconds\n        glide (1) secs to x: (-148) y: (211)\n        hide\n    end\nend\n\nwhen I receive [outro v]\nhide\nstop [other scripts in sprite v]\n\n@Outro\n\nwhen I receive [outro v]\nset size to (100) %\nset [clone # ~outro~ v] to [0]\nrepeat (5)\n    change [clone # ~outro~ v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(clone # ~outro~) = [1]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (-130) y: (-90)\n    set size to (0) %\n    switch costume to (costume1 v)\n    set [ghost v] effect to (100)\n    show\n    set [speed ~outro~ v] to [0.5]\n    repeat (25)\n        change size by (4)\n        change [ghost v] effect by (-4)\n    end\n    forever\n        set size to (100) %\n        repeat (5)\n            turn left (speed ~outro~) degrees\n            change size by (speed ~outro~)\n            change [speed ~outro~ v] by (0.5)\n        end\n        repeat (5)\n            turn left (speed ~outro~) degrees\n            change [speed ~outro~ v] by (-0.5)\n            change size by (speed ~outro~)\n        end\n        set [speed ~outro~ v] to [0.5]\n        repeat (5)\n            turn right (speed ~outro~) degrees\n            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n            change [speed ~outro~ v] by (0.5)\n        end\n        repeat (5)\n            turn right (speed ~outro~) degrees\n            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n            change [speed ~outro~ v] by (-0.5)\n        end\n        set [speed ~outro~ v] to [0.5]\n        repeat (5)\n            turn right (speed ~outro~) degrees\n            change size by (speed ~outro~)\n            change [speed ~outro~ v] by (0.5)\n        end\n        repeat (5)\n            turn right (speed ~outro~) degrees\n            change size by (speed ~outro~)\n            change [speed ~outro~ v] by (-0.5)\n        end\n        set [speed ~outro~ v] to [0.5]\n        repeat (5)\n            turn left (speed ~outro~) degrees\n            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n            change [speed ~outro~ v] by (0.5)\n        end\n        repeat (5)\n            turn left (speed ~outro~) degrees\n            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n            change [speed ~outro~ v] by (-0.5)\n        end\n    end\nelse\n    if <(clone # ~outro~) = [2]> then\n        point in direction (90)\n        go to [front v] layer\n        go to x: (130) y: (-90)\n        set size to (0) %\n        switch costume to (costume2 v)\n        set [ghost v] effect to (100)\n        show\n        set [speed ~outro~ v] to [0.5]\n        repeat (25)\n            change size by (4)\n            change [ghost v] effect by (-4)\n        end\n        forever\n            set size to (100) %\n            repeat (5)\n                turn right (speed ~outro~) degrees\n                change size by (speed ~outro~)\n                change [speed ~outro~ v] by (0.5)\n            end\n            repeat (5)\n                turn right (speed ~outro~) degrees\n                change size by (speed ~outro~)\n                change [speed ~outro~ v] by (-0.5)\n            end\n            set [speed ~outro~ v] to [0.5]\n            repeat (5)\n                turn left (speed ~outro~) degrees\n                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                change [speed ~outro~ v] by (0.5)\n            end\n            repeat (5)\n                turn left (speed ~outro~) degrees\n                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                change [speed ~outro~ v] by (-0.5)\n            end\n            set [speed ~outro~ v] to [0.5]\n            repeat (5)\n                turn left (speed ~outro~) degrees\n                change size by (speed ~outro~)\n                change [speed ~outro~ v] by (0.5)\n            end\n            repeat (5)\n                turn left (speed ~outro~) degrees\n                change size by (speed ~outro~)\n                change [speed ~outro~ v] by (-0.5)\n            end\n            repeat (5)\n                turn right (speed ~outro~) degrees\n                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                change [speed ~outro~ v] by (0.5)\n            end\n            repeat (5)\n                turn right (speed ~outro~) degrees\n                change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                change [speed ~outro~ v] by (-0.5)\n            end\n            set [speed ~outro~ v] to [0.5]\n        end\n    else\n        if <(clone # ~outro~) = [3]> then\n            point in direction (90)\n            go to [front v] layer\n            go to x: (-165) y: (100)\n            set size to (0) %\n            switch costume to (heart v)\n            set [ghost v] effect to (100)\n            show\n            set [speed ~outro~ v] to [0.5]\n            repeat (25)\n                change size by (4)\n                change [ghost v] effect by (-4)\n            end\n            forever\n                set size to (100) %\n                repeat (5)\n                    turn left (speed ~outro~) degrees\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    turn left (speed ~outro~) degrees\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    turn right (speed ~outro~) degrees\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    turn right (speed ~outro~) degrees\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    turn right (speed ~outro~) degrees\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    turn right (speed ~outro~) degrees\n                    change size by (speed ~outro~)\n                    change [speed ~outro~ v] by (-0.5)\n                end\n                set [speed ~outro~ v] to [0.5]\n                repeat (5)\n                    turn left (speed ~outro~) degrees\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (0.5)\n                end\n                repeat (5)\n                    turn left (speed ~outro~) degrees\n                    change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                    change [speed ~outro~ v] by (-0.5)\n                end\n            end\n        else\n            if <(clone # ~outro~) = [4]> then\n                point in direction (90)\n                go to [front v] layer\n                go to x: (0) y: (100)\n                set size to (0) %\n                switch costume to (follow v)\n                set [ghost v] effect to (100)\n                show\n                set [speed ~outro~ v] to [0.5]\n                repeat (25)\n                    change size by (4)\n                    change [ghost v] effect by (-4)\n                end\n                forever\n                    set size to (100) %\n                    repeat (5)\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        change size by (speed ~outro~)\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (5)\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (0.5)\n                    end\n                    repeat (5)\n                        change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                        change [speed ~outro~ v] by (-0.5)\n                    end\n                end\n            else\n                if <(clone # ~outro~) = [5]> then\n                    point in direction (90)\n                    go to [front v] layer\n                    go to x: (165) y: (100)\n                    set size to (0) %\n                    switch costume to (star v)\n                    set [ghost v] effect to (100)\n                    show\n                    set [speed ~outro~ v] to [0.5]\n                    repeat (25)\n                        change size by (4)\n                        change [ghost v] effect by (-4)\n                    end\n                    forever\n                        set size to (100) %\n                        repeat (5)\n                            turn right (speed ~outro~) degrees\n                            change size by (speed ~outro~)\n                            change [speed ~outro~ v] by (0.5)\n                        end\n                        repeat (5)\n                            turn right (speed ~outro~) degrees\n                            change size by (speed ~outro~)\n                            change [speed ~outro~ v] by (-0.5)\n                        end\n                        set [speed ~outro~ v] to [0.5]\n                        repeat (5)\n                            turn left (speed ~outro~) degrees\n                            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                            change [speed ~outro~ v] by (0.5)\n                        end\n                        repeat (5)\n                            turn left (speed ~outro~) degrees\n                            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                            change [speed ~outro~ v] by (-0.5)\n                        end\n                        set [speed ~outro~ v] to [0.5]\n                        repeat (5)\n                            turn left (speed ~outro~) degrees\n                            change size by (speed ~outro~)\n                            change [speed ~outro~ v] by (0.5)\n                        end\n                        repeat (5)\n                            turn left (speed ~outro~) degrees\n                            change size by (speed ~outro~)\n                            change [speed ~outro~ v] by (-0.5)\n                        end\n                        repeat (5)\n                            turn right (speed ~outro~) degrees\n                            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                            change [speed ~outro~ v] by (0.5)\n                        end\n                        repeat (5)\n                            turn right (speed ~outro~) degrees\n                            change size by ((speed ~outro~) - ((speed ~outro~) * (2)))\n                            change [speed ~outro~ v] by (-0.5)\n                        end\n                        set [speed ~outro~ v] to [0.5]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [outro v]\nforever\n    if <(Music?) = [yes]> then\n        play sound [Taylor Swift - Blank Space v] until done\n    end\nend\n\n
⚠️READ INSTRUCTIONS⚠️\nₘᵢᵣᵣₒᵣₑd __________________Ⓘⓝⓕⓞ__________________\nWelcome to Mirrored! This is a non-generic platformer where the ground is hidden and mirrored. ⚠️Hint⚠️Think about where the ground is before jumping \nI'm racing to 1k! Follow me to help me win! ;)\n_______________Ⓒⓡⓔⓓⓘⓣⓢ_______________\nCode: @Griffpatch for the gravitational concept of the particles \n@-AntiScratch- for platformer code (I'll probably make my own platformer code some day but today was not that day xD)\nDesign| @GoldenPickaxe2 for the trophy Scratch for heart and star buttons\nEverything else by me\nMusic| Candyland by Tobu\nSFX| @theChAOTiC\nContest| @Castlewolf :D\n_________________Ⓢⓣⓐⓣⓢ_________________\nBlocks 1,538\nCostumes 171\n_____________Ⓢⓗⓞⓤⓣⓞⓤⓣⓢ_____________\nWin 115+ follows! https://scratch.mit.edu/projects/828068834\nCheck out @SilkAnimation! He's awesome and super underrated!\n@MintiRebo <<< Go follow her!\n@JadBag4Me <<< Go follow her!\n@Pokemon_Lover835 <<< Go follow them!\n@kidq8 <<< Go follow them!\n@mtruck <<< Go follow them!\n@BlueWildCat3 <<< Go follow them!\nWr holder @\nGet a shoutout by: Adding this project to 15 studios and comment "Added"\nGet a permanent shoutout by: Adding this project to 25 studios, follow me, and comment "Done"\n__________________Ⓣⓐⓖⓢ__________________\n#games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic #games #all #thezue #trending #platformer #non-generic