Bright Sky || A Platformer #games #art

Instructions: Arrow Keys To Move\nPress down to crouch\n\nDOUBLE CLICK THE GREEN FLAG!\n\nnot mobile friendly!

@Stage\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-4)\nend\ndelete this clone\n\nclear graphic effects\n\nturn right (2) degrees\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen I receive [end v]\nshow\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        create clone of (_myself_ v)\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        create clone of (_myself_ v)\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\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            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        change [the level v] by (1)\n        broadcast (Next Level v) and wait\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (_enemy_ v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (saw v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (saw2 v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (_enemy_2 v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (_enemy_3 v)?> then\n            broadcast (Reset v)\n        end\n        if <touching (saw4 v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I receive [end v]\nstart sound [Unlimited2 v]\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\n@_enemy_\n\nwhen flag clicked\ngo to x: (136) y: (-54)\nhide\nforever\n    if <(The Level) = [3]> then\n        glide (1.5) secs to x: (136) y: (-54)\n        glide (1.5) secs to x: (-132) y: (-54)\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [3]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [4]> then\n        hide\n    end\nend\n\n@saw\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [6]> then\n        go to x: (4) y: (-74)\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\nend\n\ngo [backward v] (1) layers\n\n@saw2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [6]> then\n        go to x: (62) y: (-73)\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\nend\n\ngo [backward v] (1) layers\n\n@Intro\n\ndefine Position X (x) Y (y) Z (z) Dir (dir) Size (size) Other Dir (other dir)\npoint in direction ((((dir) + (([sin v] of ((timer) * (1000)) ) * (Shake))) + (other dir)) + (Cam Dir))\nset [dir v] to (((dir) + (([sin v] of ((timer) * (1000)) ) * (Shake))) + (Cam Dir))\ngo to x: ((40) * (((((([cos v] of ((Dir) - (90)) ) * (x)) * (1)) - ((([sin v] of ((Dir) - (90)) ) * (y)) * (-1))) + ((([sin v] of ((timer) * (800)) ) * (Shake)) / (1))) / ((z) + (Cam Z)))) y: ((40) * (((((([sin v] of ((Dir) - (90)) ) * (x)) * (-1)) - ((([cos v] of ((Dir) - (90)) ) * (y)) * (-1))) + ((([sin v] of ((timer) * (700)) ) * (Shake)) / (1))) / ((z) + (Cam Z))))\nset size to (((((100) / ((z) + (Cam Z))) * (40)) - (100)) + (size)) %\n\nwhen flag clicked\nplay sound [va1ue - Join The Rhythm v] until done\n\nwhen flag clicked\nset [clone id v] to [0]\nset [cam z v] to [30]\nset [cam dir v] to [0]\nswitch costume to (costume1 v)\nhide\nCreate Clones [11]\nMake Particles [40]\nMake Diamonds [14]\nMake Other Particles [80]\nMake Line Explosions [400] [16]\nMake Line Explosions [500] [16]\nMake Line Explosions [600] [16]\nMake Line Explosions [700] [16]\nMake Line Explosions [800] [16]\nMake Line Explosions [900] [16]\nMake Splines [19] [1000]\nMake Splines [19] [1100]\nMake Splines [8] [1200]\nMake Splines [8] [1300]\n\ndefine Create Clones (amount)\nrepeat (amount)\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nif <(Clone ID) = [1]> then\n    switch costume to (costume3 v)\n    show\nend\nif <(Clone ID) = [100]> then\n    set [clone y v] to (pick random (-200) to (300))\n    set [var1 v] to (pick random (0) to (-80))\n    set [var2 v] to (pick random (0) to (360))\n    show\n    repeat (200)\n        switch costume to (costume1 v)\n        Position X (((-100) + ((Clone Y) * (0.4))) + (([cos v] of (((timer) + (Var2)) * (30)) ) * (20))) Y ((Clone Y) + (([sin v] of (direction) ) * (([sin v] of (((timer) + (Var2)) * (30)) ) * (20)))) Z [0] Dir [0] Size [60] Other Dir [45]\n        move (Var1) steps\n        switch costume to (costume2 v)\n    end\nend\nif <(Clone ID) = [2]> then\n    set [turn v] to [0]\n    wait (1.7) seconds\n    switch costume to (template v)\n    go to [front v] layer\n    go [backward v] (3) layers\n    show\n    set [turn v] to [0]\n    set [var1 v] to [-40]\n    set [var2 v] to [2]\n    set [var3 v] to [0]\n    repeat (15)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [90]\n        set [var3 v] to (((Var3) * (0.6)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var3)\n        change [var2 v] by ((Var2) / (4))\n        set [cam dir v] to (Var2)\n    end\n    broadcast (Fractal v)\n    repeat (3)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [90]\n        set [var3 v] to (((Var3) * (0.6)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var3)\n        change [var2 v] by (40)\n        set [cam dir v] to (Var2)\n    end\n    repeat (23)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir ((Var2) + (90))\n        set [var3 v] to (((Var3) * (0.6)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var3)\n        change [var2 v] by (((360) - (Var2)) / (8))\n        set [cam dir v] to (Var2)\n    end\n    repeat (19)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir ((Var2) + (90))\n        change [var1 v] by (-5)\n        change [var2 v] by (((720) - (Var2)) / (12))\n        change [cam dir v] by (((360) - (Cam Dir)) / (6))\n    end\n    set [var2 v] to [720]\n    switch costume to (temp v)\n    repeat (14)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir ((Var2) + (90))\n        set [var4 v] to (((Var4) * (0.7)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var4)\n        change [var2 v] by (((720) - (Var2)) / (6))\n        change [cam dir v] by (((360) - (Cam Dir)) / (6))\n    end\n    set [var3 v] to [0]\n    repeat (26)\n        Position X (Var3) Y [0] Z [0] Dir [0] Size (Var1) Other Dir ((Var2) + (90))\n        set [var4 v] to (((Var4) * (0.7)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var4)\n        change [var2 v] by (((720) - (Var2)) / (6))\n        change [var3 v] by (((37) - (Var3)) / (6))\n    end\n    set [var5 v] to [0]\n    set [turn v] to [1]\n    repeat (60)\n        Position X (Var3) Y [0] Z [0] Dir (Var5) Size (Var1) Other Dir ((Var2) + (90))\n        set [var4 v] to (((Var4) * (0.7)) + (((60) - (Var1)) / (6)))\n        change [var1 v] by (Var4)\n        change [var2 v] by (((720) - (Var2)) / (6))\n        change [var3 v] by (((37) - (Var3)) / (6))\n        change [var5 v] by (((-360) - (Var5)) / (8))\n    end\nend\nif <(Clone ID) = [3]> then\n    wait (4.6) seconds\n    switch costume to (late v)\n    go to [front v] layer\n    go [backward v] (3) layers\n    show\n    set [var1 v] to [-40]\n    set [var2 v] to [2]\n    repeat until <(Turn) = [1]>\n        Position X [-37] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [90]\n        set [var4 v] to (((Var4) * (0.7)) + (((64) - (Var1)) / (6)))\n        change [var1 v] by (Var4)\n    end\n    set [var5 v] to [0]\n    repeat (60)\n        Position X [-37] Y [0] Z [0] Dir (Var5) Size (Var1) Other Dir [90]\n        set [var4 v] to (((Var4) * (0.7)) + (((64) - (Var1)) / (6)))\n        change [var1 v] by (Var4)\n        change [var5 v] by (((-360) - (Var5)) / (8))\n    end\nend\nif <(Clone ID) = [4]> then\n    switch costume to (costume5 v)\n    go to [front v] layer\n    show\nend\nif <(Clone ID) = [5]> then\n    switch costume to (costume4 v)\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [ghost v] effect to (100)\n    show\n    repeat (1000)\n        change [ghost v] effect by (4)\n    end\nend\nif <(Clone ID) = [6]> then\n    switch costume to (costume1 v)\n    go to [back v] layer\n    set [shake v] to [0]\n    repeat (1000)\n        change [shake v] by (((0) - (Shake)) / (6))\n    end\nend\nif <(Clone ID) = [200]> then\n    show\n    set [var2 v] to [0]\n    set [var3 v] to [0]\n    repeat (1000)\n        switch costume to (costume7 v)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [0]\n        set [var1 v] to ((Var2) + (Diamond Position))\n        change [diamond position v] by ((0.5) + ((((Var1) + (30)) / (24)) * <((Var1) + (30)) > [0]>))\n        change [var2 v] by (((Var3) - (Var2)) / (4))\n        if <(Var1) > [-30]> then\n            show\n        else\n            hide\n        end\n        switch costume to (costume6 v)\n    end\nend\nif <(Clone ID) = [7]> then\n    set [start v] to [1]\n    switch costume to (costume9 v)\n    set size to (100) %\n    show\n    repeat (168)\n        go to [front v] layer\n    end\nend\nif <(Clone ID) = [8]> then\n    wait (5.6) seconds\n    show\n    switch costume to (costume10 v)\n    go to x: (-500) y: (0)\n    repeat (200)\n        go to [front v] layer\n        change x by (((325) - (x position)) / (12))\n    end\nend\nif <(Clone ID) = [300]> then\n    wait (1.65) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume11 v)\n    set [clone x v] to (pick random (160) to (-380))\n    set [clone y v] to (pick random (220) to (-220))\n    set [var1 v] to (pick random (-20) to (10))\n    repeat (1000)\n        Position X (Clone X) Y (Clone Y) Z [0] Dir [0] Size (Var1) Other Dir [0]\n        change [clone x v] by ((2) + (((Var1) + (5)) / (26)))\n        if <([abs v] of (x position) ) > [236]> then\n            hide\n        else\n            show\n        end\n    end\nend\nif <(Clone ID) = [400]> then\n    wait (1.72) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [12]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        Position X (([sin v] of ((Var2) + (90)) ) * (Var3)) Y (([cos v] of ((Var2) + (90)) ) * (Var3)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [500]> then\n    wait (3.74) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [10]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        Position X (([sin v] of ((Var2) + (90)) ) * (Var3)) Y (([cos v] of ((Var2) + (90)) ) * (Var3)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [600]> then\n    wait (3.74) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [8]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        switch costume to (costume7 v)\n        set size to (400) %\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (90)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (180)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [700]> then\n    wait (3.74) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [8]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        switch costume to (costume7 v)\n        set size to (400) %\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (-90)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (180)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [800]> then\n    wait (3.74) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [8]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        switch costume to (costume7 v)\n        set size to (400) %\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (-90)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (-180)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [900]> then\n    wait (3.74) seconds\n    go to [front v] layer\n    go [backward v] (4) layers\n    show\n    switch costume to (costume13 v)\n    set [brightness v] effect to (Var6)\n    set [var3 v] to [-20]\n    set [var4 v] to [8]\n    set [var5 v] to [17]\n    repeat until <(Var5) > [26]>\n        switch costume to (costume7 v)\n        set size to (400) %\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (90)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (-180)) Z [0] Dir [0] Size [60] Other Dir (Var2)\n        change [var3 v] by (Var4)\n        set [var4 v] to ((Var4) * (0.88))\n        change [var5 v] by (0.3)\n        switch costume to ([floor v] of (Var5) )\n    end\n    delete this clone\nend\nif <(Clone ID) = [10]> then\n    wait (4.7) seconds\n    go to [front v] layer\n    go [backward v] (5) layers\n    set [brightness v] effect to (100)\n    show\n    set [var1 v] to [27]\n    set [var2 v] to [2]\n    repeat until <(Var1) > [37]>\n        Position X [0] Y [0] Z [0] Dir [0] Size [65] Other Dir (Var2)\n        change [var2 v] by ((Var2) / (3))\n        change [var1 v] by (1)\n        switch costume to (Var1)\n    end\n    repeat (3)\n        Position X [0] Y [0] Z [0] Dir [0] Size [65] Other Dir (Var2)\n        change [var2 v] by ((Var2) / (3))\n        switch costume to (Var1)\n    end\n    repeat (10)\n        Position X [0] Y [0] Z [0] Dir [0] Size [65] Other Dir (Var2)\n        change [var2 v] by (((360) - (Var2)) / (6))\n        switch costume to (Var1)\n    end\n    repeat (20)\n        Position X [0] Y [0] Z [0] Dir [0] Size [65] Other Dir (Var2)\n        change [var2 v] by (((360) - (Var2)) / (6))\n        change [var1 v] by (((26) - (Var1)) / (8))\n        switch costume to (Var1)\n    end\nend\nif <(Clone ID) = [11]> then\n    wait (4.6) seconds\n    switch costume to (blue_fractal v)\n    show\n    set [var1 v] to [-50]\n    go to [front v] layer\n    go [backward v] (6) layers\n    set [color v] effect to (100)\n    set [ghost v] effect to (40)\n    repeat until <(size) > [100]>\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [0]\n        change [var1 v] by (30)\n    end\n    repeat (100)\n        switch costume to (costume12 v)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [0]\n        change [var1 v] by (30)\n        switch costume to (blue_fractal v)\n    end\nend\nif <(Clone ID) = [1000]> then\n    wait ((2.4) + ((Var1) / (60))) seconds\n    switch costume to (costume23 v)\n    show\n    go to [front v] layer\n    go [backward v] (6) layers\n    set [var2 v] to [90]\n    repeat (200)\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (120)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (220)) Z [0] Dir [0] Size [40] Other Dir (Var2)\n        change [var3 v] by (10)\n        change [var2 v] by (0.8)\n        if <([abs v] of (x position) ) > [240]> then\n            hide\n        else\n            show\n        end\n    end\nend\nif <(Clone ID) = [1100]> then\n    wait ((2.4) + ((Var1) / (60))) seconds\n    switch costume to (costume23 v)\n    show\n    go to [front v] layer\n    go [backward v] (10) layers\n    set [var2 v] to [-90]\n    repeat (200)\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (-120)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (-220)) Z [0] Dir [0] Size [40] Other Dir (Var2)\n        change [var3 v] by (10)\n        change [var2 v] by (0.8)\n        if <([abs v] of (x position) ) > [240]> then\n            hide\n        else\n            show\n        end\n    end\nend\nif <(Clone ID) = [1200]> then\n    wait ((2.36) + ((Var1) / (60))) seconds\n    switch costume to (costume23 v)\n    show\n    go to [front v] layer\n    go [backward v] (4) layers\n    set [brightness v] effect to (100)\n    set [var2 v] to [-90]\n    repeat (200)\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (-120)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (-220)) Z [0] Dir [0] Size [20] Other Dir (Var2)\n        change [var3 v] by (10)\n        change [var2 v] by (0.8)\n        if <([abs v] of (x position) ) > [240]> then\n            hide\n        else\n            show\n        end\n    end\nend\nif <(Clone ID) = [1300]> then\n    wait ((2.36) + ((Var1) / (60))) seconds\n    switch costume to (costume23 v)\n    show\n    go to [front v] layer\n    go [backward v] (4) layers\n    set [brightness v] effect to (100)\n    set [var2 v] to [90]\n    repeat (200)\n        Position X ((([sin v] of ((Var2) + (90)) ) * (Var3)) + (120)) Y ((([cos v] of ((Var2) + (90)) ) * (Var3)) + (220)) Z [0] Dir [0] Size [20] Other Dir (Var2)\n        change [var3 v] by (10)\n        change [var2 v] by (0.8)\n        if <([abs v] of (x position) ) > [240]> then\n            hide\n        else\n            show\n        end\n    end\nend\n\ndefine Make Particles (amount)\nset [clone id v] to [100]\nrepeat (amount)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nwait (1.7) seconds\nrepeat (10)\n    broadcast (Sync v)\n    wait (0.43) seconds\nend\n\nwhen I receive [sync 2 v]\nset [cam z v] to [28]\nwait (0) seconds\nset [cam z v] to [25]\n\nwhen flag clicked\nforever\n    change [cam z v] by (((30) - (Cam Z)) / (6))\nend\n\nwhen flag clicked\nwait (1.65) seconds\nrepeat (9)\n    broadcast (Sync 2 v)\n    wait (0.43) seconds\nend\n\nwhen I receive [sync 2 v]\nif <(Clone ID) = [5]> then\n    change [ghost v] effect by (-10)\n    wait (0) seconds\n    change [ghost v] effect by (-40)\nend\nif <(Clone ID) = [6]> then\n    change [shake v] by (0.5)\n    wait (0) seconds\n    change [shake v] by (1.5)\nend\nif <(Clone ID) = [200]> then\n    change [var3 v] by ((12) + ((((Var1) + (30)) / (1)) * <((Var1) + (30)) > [0]>))\nend\nif <(Clone ID) = [7]> then\n    if <(Start) = [1]> then\n        switch costume to (costume7 v)\n        set size to (15) %\n    end\n    set [start v] to [0]\n    switch costume to (costume8 v)\n    repeat (100)\n        switch costume to (costume7 v)\n        go to [front v] layer\n        change size by (((348) - (size)) / (10))\n        switch costume to (costume8 v)\n    end\nend\n\ndefine Make Diamonds (amount)\nset [clone id v] to [200]\nset [diamond position v] to [0]\nrepeat (amount)\n    create clone of (_myself_ v)\n    change [diamond position v] by (-15)\nend\n\nwhen flag clicked\nwait (7.5) seconds\nbroadcast (End v)\n\nwhen I receive [end v]\nif <(Clone ID) = [8]> then\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\ndefine Make Other Particles (amount)\nset [clone id v] to [300]\nrepeat (amount)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [fractal v]\nif <(Clone ID) = [9]> then\n    switch costume to (blue_fractal v)\n    show\n    set [var1 v] to [-50]\n    go to [front v] layer\n    go [backward v] (4) layers\n    set [color v] effect to (100)\n    set [ghost v] effect to (20)\n    repeat until <(size) > [100]>\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [0]\n        change [var1 v] by (30)\n    end\n    repeat (100)\n        switch costume to (costume12 v)\n        Position X [0] Y [0] Z [0] Dir [0] Size (Var1) Other Dir [0]\n        change [var1 v] by (30)\n        switch costume to (blue_fractal v)\n    end\nend\n\nwhen flag clicked\nwait (8.2) seconds\nstop [other scripts in sprite v]\n\ndefine Make Line Explosions (id) (amount)\nset [clone id v] to (id)\nset [var2 v] to [0]\nset [var1 v] to ((360) / (amount))\nrepeat (amount)\n    create clone of (_myself_ v)\n    change [var2 v] by (Var1)\n    if <(Var6) = [100]> then\n        set [var6 v] to [0]\n    else\n        set [var6 v] to [100]\n    end\nend\n\ndefine Make Splines (amount) (id)\nset [clone id v] to (id)\nset [var1 v] to [0]\nrepeat (amount)\n    create clone of (_myself_ v)\n    change [var1 v] by (1)\nend\n\n@Sun\n\nwhen flag clicked\nhide\nforever\n    set drag mode [not draggable v]\nend\n\ngo [forward v] (1) layers\n\nwhen flag clicked\nhide\ngo to [back v] layer\nshow\ngo to x: (217) y: (160)\nset size to (100) %\nreset timer\nforever\n    repeat (50)\n        change size by (((140) - (size)) / (18))\n    end\n    repeat (50)\n        change size by (((size) - (100)) / (-18))\n    end\nend\n\n@Clouds\n\nwhen I start as a clone\nswitch costume to (big v)\nset size to (pick random (60) to (90)) %\nset [ghost v] effect to (pick random (10) to (40))\ngo to [back v] layer\nswitch costume to (cloud v)\nshow\ngo to x: (-290) y: (pick random (140) to (0))\nrepeat until <[290] < (x position)>\n    change x by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [end intro v]\n\nwhen flag clicked\nshow\ngo to [front v] layer\nforever\n    repeat (pick random (2) to (4))\n        create clone of (_myself_ v)\n        wait (2) seconds\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\n@Love & Fav\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    wait (pick random (5) to (10)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [FOLLOW PLZ v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nif <(Costume) > [0]> then\n    hide\n    stop [this script v]\nend\n\nforever\n    show\n    go to [front v] layer\nend\n\n@saw4\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [6]> then\n        go to x: (159) y: (-75)\n        show\n        forever\n            wait (0.0.1) seconds\n            turn left (15) degrees\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching (player v)?> then\n\ngo [backward v] (1) layers\n\n@_enemy_2\n\nwhen flag clicked\ngo to x: (193) y: (-55)\nset size to (100) %\nhide\nforever\n    if <(The Level) = [10]> then\n        show\n        glide (1) secs to x: (56) y: (-55)\n        glide (1) secs to x: (193) y: (-55)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [10]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [11]> then\n        hide\n    end\nend\n\n@_enemy_3\n\nwhen flag clicked\ngo to x: (-5) y: (-55)\nset size to (100) %\nhide\nforever\n    if <(The Level) = [10]> then\n        glide (1) secs to x: (-105) y: (-55)\n        glide (1) secs to x: (-5) y: (-55)\n    end\nend\n\nshow\n\nwhen flag clicked\nforever\n    if <(The Level) = [10]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [11]> then\n        hide\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@影\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nforever\n    go to (player v)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\n