✩~Midnight Moon Platformer~✩
@Stage\n\n@Player\n\nwhen flag clicked\nset [clone v] to []\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[] < (Clone)> then\n    switch costume to (trail v)\n    repeat (10)\n        change y by (5)\n        turn right (5) degrees\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    switch costume to (trail v)\n    repeat (10)\n        change size by (-5)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-200) y: (0)\nset size to (75) %\nshow\nswitch costume to (middle v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x vel v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x vel v] by (-1)\n    end\n    set [x vel v] to ((X Vel) * (0.9))\n    change x by (X Vel)\n    if <<touching (ground v)?> or <touching (ending v)?>> then\n        change y by (1)\n        if <<touching (ground v)?> or <touching (ending v)?>> then\n            change y by (1)\n            if <<touching (ground v)?> or <touching (ending v)?>> then\n                change y by (1)\n                if <<touching (ground v)?> or <touching (ending v)?>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <touching (ending v)?>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <touching (ending v)?>> then\n                            change x by ((X Vel) * (-1))\n                            change y by (-5)\n                            if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X Vel) > [0]> then\n                                    set [x vel v] to [-5]\n                                else\n                                    set [x vel v] to [5]\n                                end\n                                set [y vel v] to [15]\n                            else\n                                set [x vel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y vel v] by (-1)\n    change y by (Y Vel)\n    if <<touching (ground v)?> or <touching (ending v)?>> then\n        change y by ((Y Vel) * (-1))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> or <touching (ending v)?>> then\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            change [y vel v] by (15)\n        end\n    end\n    if <<touching (trampoline v)?> or <touching (trampoline2 v)?>> then\n        start sound [Bounce v]\n        set [y vel v] to [20]\n    end\n    if <<touching (saws v)?> or <<touching (spikes v)?> or <(y position) < [-180]>>> then\n        set [clone v] to [Die]\n        start sound [Die v]\n        go to x: (-200) y: (0)\n        wait (0.01) seconds\n        set [clone v] to []\n    end\n    if <(x position) > [220]> then\n        start sound [Next v]\n        go to x: (-200) y: (-65)\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n    else\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            switch costume to (left v)\n        else\n            if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                switch costume to (up v)\n            else\n                switch costume to (middle v)\n            end\n        end\n    end\nend\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (2 v)\nforever\n    switch costume to (Level)\nend\n\n@Saws\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level 1 v)\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (Level)\n    level number [3] go to x: [88] y: [-115] turn [7] size [100]\n    level number [5] go to x: [5] y: [-15] turn [10] size [100]\n    level number [7] go to x: [195] y: [-100] turn [6] size [90]\n    level number [10] go to x: [180] y: [-100] turn [10] size [100]\nend\n\ndefine level number (level num) go to x: (x) y: (y) turn (number) size (size?)\nif <(Level) = (level num)> then\n    go to x: (x) y: (y)\n    turn right (number) degrees\n    set size to (size?) %\nend\n\n@Trampoline\n\ndefine level number (level num) go to x: (x) y: (y)\nif <(level num) = (Level)> then\n    show\n    go to x: (x) y: (y)\nend\n\nwhen flag clicked\ngo to [back v] layer\nset [level v] to [1]\nswitch costume to (costume1 v)\nhide\ngo to x: (0) y: (0)\nforever\n    hide\n    level number [4] go to x: [-50] y: [-100]\n    level number [7] go to x: [50] y: [-100]\n    level number [8] go to x: [-100] y: [-100]\n    level number [9] go to x: [-10] y: [-100]\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            next costume\n            wait () seconds\n        end\n        wait until <not <touching (player v)?>>\n        repeat (4)\n            switch costume to ((costume [number v]) - (1))\n            wait () seconds\n        end\n    end\nend\n\n@Trampoline2\n\ndefine level number (level num) go to x: (x) y: (y)\nif <(level num) = (Level)> then\n    show\n    go to x: (x) y: (y)\nend\n\nwhen flag clicked\ngo to [back v] layer\nset [level v] to [1]\nswitch costume to (costume1 v)\nhide\ngo to x: (0) y: (0)\nforever\n    hide\n    level number [9] go to x: [50] y: [-100]\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            next costume\n            wait () seconds\n        end\n        wait until <not <touching (player v)?>>\n        repeat (4)\n            switch costume to ((costume [number v]) - (1))\n            wait () seconds\n        end\n    end\nend\n\n@Text\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Thumbnail\n\nwhen [timer v] > (timer)\ngo to x: (0) y: (-550)\nshow\ngo to [front v] layer\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (5))\nend\nset y to (0)\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    set [timer v] to ((timer) + (1))\nend\n\n@moon\n\nwhen flag clicked\ngo to [back v] layer\nshow\ngo to x: (-209) y: (150)\nset size to (100) %\nreset timer\ngo to [back v] layer\nforever\n    repeat (50)\n        change size by (((130) - (size)) / (18))\n    end\n    repeat (50)\n        change size by (((size) - (100)) / (-18))\n    end\nend\n\n@stars3\n\nwhen flag clicked\ngo to x: (147) y: (104)\ngo to [back v] layer\nset [ghost v] effect to (0)\nforever\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\n@music button\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (85) %\n    else\n        set size to (80) %\n    end\nend\n\nwhen this sprite clicked\nif <(volume) = [100]> then\n    set volume to (0) %\n    switch costume to (costume2 v)\nelse\n    switch costume to (costume1 v)\n    set volume to (100) %\nend\n\nwhen flag clicked\ngo to x: (-192) y: (-146)\nset volume to (100) %\nswitch costume to (costume1 v)\nforever\n    play sound [Frad- Blossoms v] until done\nend\n\n@ending\n\nwhen flag clicked\ngo to x: (-20) y: (40)\nswitch costume to (1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    glide (0.2) secs to x: (-20) y: (40)\n    glide (0.2) secs to x: (-20) y: (45)\nend\n\n
╔═════════════❀~♡~❀═════════════╗\n✎✩~Midnight Moon Platformer~✩ ll ᴋᴀʏʟᴀ'ꜱ ᴅᴇꜱɪɢɴˊˎ-\n❀ᴀʙᴏᴜᴛ:\n↪NO ADS PLEASE :<\n↪Hiya! Welcome to my first platformer. I decided to go with a moon theme (idk why).\n↪Originally by @FlayFlyAnimations. Also this was his entry for the contest @Fazah_Champ hosted. I was going to enter for his contest but I didn't really have any time so I remixed the project @FlayFlyAnimations made.\n↪Hope you enjoy it!\n✩✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧\n♡ᴄʀᴇᴅɪᴛꜱ:\n↪Thumbnail: Done by me :)\n↪Code: @FlayFlyAnimations, some by me :)\n↪Artwork: @FlayFlyAnimations, some by me :)\n♫ Music: Frad: Blossoms (found from @TheCheesePlays's project)\n↪Inspiration: @FlayFlyAnimations\n✩✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧\n✩ʀᴜʟᴇꜱ:\n↪Don't be rude\n↪Don't beg\n↪Don't ask me to f4f\n↪Don't advertise\n↪PLEASE DON'T REMIX AND NOT CHANGE ANYTHING\n↪I'm totally fine that you can add my project to any studio if you like :)\n↪Enjoy and have fun!! <3 <3\n✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧✩♡✧\n✧ᴛᴀɢꜱ:\n#All, #Games, #KaylaLu\n╚═════════════❀~♡~❀═════════════╝