Silhouette [Platformer] v1.6 #Games

Instructions: W / ^ = Jump                                     ------------------------\nA / < = Move to left                             Recent updates:\nD / > = Move to right                          ----------------------- \n                                                           -----------------------\n                                                           Coming soon:\n- All levels are possible -                    \n                                                           \n                                                           -----------------------\n-------------------------------------------------------------------------\nThis platformer has just been released and is under beta version 1.6. Expect a few bugs.\n\nIf there are any bugs, please comment it. I will try fix it as soon as possible.\n-------------------------------------------------------------------------\nUpdates:\n1.1 update: Added level 4-6; added music, added birds in the background; added character trail, added clouds.\n1.2 update: Added level 7, modified trail effect, minor modifications\n1.3 update: Added level 8\n1.4 update: Added level 9, added grass in the background, modified trail effect, minor modifications\n1.5 update: Added level 10 & 11, added menu, fixed some minor bug issues, minor modifications\n1.6 update: Added first easter egg, added transition, added intro, added timer, fixed some minor bug issues, minor modifications\n-------------------------------------------------------------------------\nDue to issues, level 13 and trampolines have not been released yet.\n=========================================\nPlease love and fave. It really supports me ;D\n=========================================

@Stage\n\nwhen I receive [rufi.o v]\nset volume to (100) %\nbroadcast (Not lovely v)\n\nwhen I receive [not lovely v]\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\nstop all sounds\nplay sound [\(FREE\) Lo-fi Type Beat - Lovely v] until done\n\nwhen I receive [lovely v]\nset volume to (100) %\nbroadcast (Not Rufi.o v)\n\nwhen I receive [not rufi.o v]\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\nstop all sounds\nplay sound [Rufi v] until done\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    if <(Level) = [1]> then\n        repeat until <(Level) = [12]>\n            wait (1) seconds\n            change [time v] by (1)\n        end\n    end\n    if <(Level) = [12]> then\n        set [time v] to (Time)\n    end\nend\n\nstop [all v]\n\n@Character\n\nforever\n    if <touching (trampoline v)?> then\n        change y by (1)\n        if <touching (trampoline v)?> then\n            change y by (1)\n            if <touching (trampoline v)?> then\n                change y by (1)\n                if <touching (trampoline v)?> then\n                    change y by (1)\n                    if <touching (trampoline v)?> then\n                        change y by (1)\n                        if <touching (trampoline v)?> then\n                            change y by (1)\n                            if <touching (trampoline v)?> then\n                                change y by (1)\n                                if <touching (trampoline v)?> then\n                                    change y by (1)\n                                    if <touching (trampoline v)?> then\n                                        change y by (1)\n                                        if <touching (trampoline v)?> then\n                                            change y by (1)\n                                            if <touching (trampoline v)?> then\n                                                change y by (1)\n                                                if <touching (trampoline v)?> then\n                                                    change y by (1)\n                                                    if <touching (jump pad v)?> then\n                                                        change y by (1)\n                                                        if <touching (trampoline v)?> then\n                                                            change y by (1)\n                                                            if <touching (trampoline v)?> then\n                                                                change y by (1)\n                                                                if <touching (trampoline v)?> then\n                                                                    change y by (1)\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\n    end\nend\n\ndefine PlatformGravity (gravity) JumpHeight (jumpheight) SideMovementSpeed (sidemovement) Friction (friction) Slope (slope)\nchange [yv v] by (gravity)\nchange y by (YV)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (YV) ) / (YV)) * (-1))\n    end\n    set [yv v] to (<<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(([abs v] of (YV) ) / (YV)) = [-1]>> * (jumpheight))\nend\nset [xv v] to ((((XV) + (<<key (left arrow v) pressed?> or <key (a v) pressed?>> * ((sidemovement) * (-1)))) + (<<key (right arrow v) pressed?> or <key (d v) pressed?>> * (sidemovement))) * (friction))\nchange x by (XV)\nset [slope v] to [0]\nrepeat until <<(Slope) = ((slope) * (-1))> or <not <touching (level v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (level v)?> then\n    change x by (Slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (XV) ) / (XV)) * (-1))\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nswitch costume to (costume1 v)\ngo to x: (-173) y: (-45)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    PlatformGravity [-1] JumpHeight [13] SideMovementSpeed [3] Friction [0.7] Slope [8]\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <(x position) > [220]> then\n        broadcast (Transition v)\n        wait (1.5) seconds\n        go to x: (-173) y: (-45)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-173) y: (-45)\n    end\nend\n\nwhen I receive [restart v]\nwait (1.5) seconds\ngo to x: (-173) y: (-45)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nnext costume\nclear graphic effects\nset size to (100) %\nrepeat (10)\n    change [ghost v] effect by (4)\n    change size by (-6)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(y position) < [-170]> then\n        go to x: (-173) y: (-45)\n    end\nend\n\nwhen I receive [start v]\nshow\ngo to x: (-173) y: (-45)\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [13]> then\n        say (join [You finished in ] (join (Time) [ seconds!]))\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <touching (trampoline v)?> then\n        PlatformGravity [-1] JumpHeight [20] SideMovementSpeed [2.3] Friction [.7] Slope [8]\n    else\n        PlatformGravity [-1] JumpHeight [12] SideMovementSpeed [2.3] Friction [.7] Slope [8]\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (level v)\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (level v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (level 2 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (level 2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (level 3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (level 4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (level 5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (level 6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (level 7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (level 8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (level 9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (level 10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (level 11 v)\n    end\nend\n\nif <(Level) = [12]> then\n    switch costume to (level 12 v)\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [end v]\nswitch costume to (level v)\n\n@Spikes\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (spikes 2 v)\n        hide\n    end\n    if <(Level) = [2]> then\n        show\n    end\n    if <(Level) = [3]> then\n        switch costume to (spikes 3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (spikes 4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (spikes 5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (spikes 6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (spikes 7 v)\n    end\n    if <(Level) = [8]> then\n        hide\n    end\n    if <(Level) = [9]> then\n        show\n        switch costume to (spikes 9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (spikes 10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (spikes 11 v)\n    end\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nswitch costume to (spikes 12 v)\n\nif <(Level) = [13]> then\nend\n\n@Trampoline\n\nwhen flag clicked\n\nhide\nforever\n    if <(Level) = [12]> then\n        show\n        switch costume to (level12 v)\n    end\n    if <(Level) = [13]> then\n        hide\n    end\nend\n\n@Background\n\nwhen flag clicked\nshow\nforever\n    if <(Level) = [1]> then\n        switch costume to (background 1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (background 2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (background 3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (background 4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (background 5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (background 6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (background 7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (background 8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (background 9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (background 10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (background 11 v)\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [end v]\nswitch costume to (background 2 v)\n\nif <(Level) = [12]> then\n    switch costume to (background 12 v)\nend\n\n@Grass\n\nwhen flag clicked\nshow\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [12]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nif <(Level) = [13]> then\n    switch costume to (costume1 v)\nend\n\n@Text\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        hide\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@ResetButton\n\nwhen this sprite clicked\nbroadcast (Restart v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@SkipButton\n\nwhen this sprite clicked\nbroadcast (Restart v)\nwait (1.5) seconds\nchange [level v] by (1)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Bird\n\nwhen flag clicked\nhide\nforever\n    go to x: (-250) y: (pick random (0) to (170))\n    show\n    glide (2) secs to x: (250) y: (pick random (0) to (170))\n    hide\n    wait (5) seconds\n    go to x: (250) y: (pick random (0) to (170))\n    show\n    glide (2) secs to x: (-250) y: (pick random (0) to (170))\n    hide\n    wait (5) seconds\n    show\n    glide (2) secs to x: (250) y: (pick random (0) to (170))\n    hide\n    wait (5) seconds\nend\n\nwhen flag clicked\ngo [backward v] (99) layers\nforever\n    wait (0.01) seconds\n    next costume\nend\n\n@Clouds\n\nwhen I start as a clone\nforever\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (20) to (40)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-200) y: (pick random (20) to (180))\n        repeat (200)\n            change x by (2)\n        end\n        hide\n        wait (5) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (20) to (180))\n        repeat (110)\n            change x by (-4)\n        end\n        hide\n        wait (5) seconds\n    end\nend\n\nwhen flag clicked\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen [timer v] > (Timer)\nhide\n\n@Love, Fav, Follow\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [12]> then\n        show\n        broadcast (End v)\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@Menu\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.01) seconds\nend\nhide\n\nwhen flag clicked\nshow\n\ngo to [front v] layer\n\nwhen I receive [menu v]\n\n@Play Button\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.01) seconds\nend\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [menu v]\nshow\n\n@Lovely Music\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\n\nwhen this sprite clicked\nbroadcast (Rufi.o v)\nswitch costume to (costume1 v)\n\nwhen I receive [not rufi.o v]\nswitch costume to (costume2 v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.01) seconds\nend\nhide\n\ngo to [front v] layer\n\nwhen I receive [menu v]\nshow\n\n@Rufi.o Music\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\n\nwhen this sprite clicked\nbroadcast (Lovely v)\nswitch costume to (costume1 v)\n\nwhen I receive [not lovely v]\nswitch costume to (costume2 v)\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [start v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.01) seconds\nend\nhide\n\nwhen I receive [menu v]\nshow\n\n@Out of order\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\n\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Menu v)\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nshow\n\n@Transition\n\nwhen flag clicked\ngo [forward v] (99999999999999999999999999999999999999999999999999999999999999999999999999999) layers\nswitch costume to (costume2 v)\nshow\ngo to x: (0) y: (0)\nwait (2) seconds\nglide (1) secs to x: (0) y: (345)\nhide\n\nhide\n\nwhen I receive [transition v]\nswitch costume to (costume1 v)\ngo [forward v] (99999999999999999999999999999999999999999999999999999999999999999999999999999) layers\nshow\nglide (1) secs to x: (0) y: (0)\nwait (0.2) seconds\nglide (1) secs to x: (0) y: (345)\nhide\n\nglide (1) secs to x: (0) y: (0)\n\nwhen I receive [restart v]\nswitch costume to (costume1 v)\ngo [forward v] (99999999999999999999999999999999999999999999999999999999999999999999999999999) layers\nshow\nglide (1) secs to x: (0) y: (0)\nwait (0.2) seconds\nglide (1) secs to x: (0) y: (345)\nhide\n\n@ThumbNail\n\nbroadcast (ThumbNail v)\n\nwhen I receive [thumbnail v]\nshow\n\nwhen flag clicked\nhide\n\n