~Lucky~| A Saint Patricks Day themed platformer #games
@Stage\n\n@player\n\nwhen I start as a clone\nswitch costume to (trail v)\nset [ghost v] effect to (5)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change [color v] effect by (15)\n    change size by (-2)\nend\ndelete this clone\n\ndefine Horizontal Movement\nset [vx v] to ((vx) * (0.75))\nchange x by (vx)\nif <key (right arrow v) pressed?> then\n    change x by (3)\n    switch costume to (facing right v)\n    create clone of (_myself_ v)\n    change [vx v] by (2)\nend\nif <key (left arrow v) pressed?> then\n    change x by (-3)\n    switch costume to (facing left v)\n    create clone of (_myself_ v)\n    change [vx v] by (-2)\nend\n\ndefine Touch Ground\nif <touching color (#57da3a)?> then\n    set [vy v] to [0]\n    repeat until <not <touching color (#57da3a)?>>\n        change y by (1)\n    end\n    set [touching ground? v] to [true]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch backdrop to (level 1 v)\nforever\n    if <(x position) > [210]> then\n        next backdrop\n        go to x: (-210) y: (-52)\n    end\n    if <touching (spikes v)?> then\n        reset\n    end\n    if <touching (saw v)?> then\n        reset\n    end\n    if <touching (trampoline v)?> then\n        change [vy v] by (30)\n        change y by (vy)\n        set [touching ground? v] to [false]\n        play sound [Boing v] until done\n    end\nend\n\nwhen I receive [start v]\nclear graphic effects\nswitch costume to (facing left v)\nset [vx v] to [0]\nset [vy v] to [0]\nset [touching ground? v] to [false]\ngo to x: (-171) y: (-26)\nforever\n    Horizontal Movement\n    Vertical Movement\nend\n\ndefine reset\nrepeat (15)\n    change [ghost v] effect by (4)\nend\ngo to x: (-210) y: (-52)\nswitch costume to (facing right v)\nclear graphic effects\n\nwhen I receive [reset v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\ngo to x: (-210) y: (-26)\nswitch costume to (facing right v)\nclear graphic effects\n\ndefine Vertical Movement\nif <<key (up arrow v) pressed?> and <(Touching Ground?) = [true]>> then\n    create clone of (_myself_ v)\n    set [vy v] to [11]\nend\nchange [vy v] by (-1)\nchange y by (vy)\nset [touching ground? v] to [false]\nTouch Ground\n\n@ground\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nchange [ghost v] effect by (100)\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nforever\n    if <(backdrop [name v]) = [Level 2]> then\n        show\n        switch costume to (level 1 v)\n    end\n    if <(backdrop [name v]) = [Level 3]> then\n        show\n        switch costume to (level 2 v)\n    end\n    if <(backdrop [name v]) = [Level 4]> then\n        show\n        switch costume to (level 3 v)\n    end\n    if <(backdrop [name v]) = [Level 5]> then\n        hide\n    end\n    if <(backdrop [name v]) = [Level 6]> then\n        show\n        switch costume to (level 4 v)\n    end\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        switch costume to (level 5 v)\n    end\n    if <(backdrop [name v]) = [Level 8]> then\n        show\n        switch costume to (level 6 v)\n    end\n    if <(backdrop [name v]) = [Level 9]> then\n        hide\n        switch costume to (level 7 v)\n    end\n    if <(backdrop [name v]) = [Level 10]> then\n        show\n        switch costume to (level 8 v)\n    end\n    if <(backdrop [name v]) = [Level 11]> then\n        switch costume to (level 9 v)\n    end\n    if <(backdrop [name v]) = [Level 12]> then\n        show\n        switch costume to (level 10 v)\n    end\n    if <(backdrop [name v]) = [Level 13]> then\n        switch costume to (level 11 v)\n    end\n    if <(backdrop [name v]) = [Level 14]> then\n        switch costume to (level 12 v)\n    end\n    if <(backdrop [name v]) = [Level 15]> then\n        switch costume to (level 13 v)\n    end\n    if <(backdrop [name v]) = [Level 16]> then\n        switch costume to (level 14 v)\n    end\n    if <(backdrop [name v]) = [Level 17]> then\n        switch costume to (level 15 v)\n    end\n    if <(backdrop [name v]) = [Level 18]> then\n        switch costume to (level 16 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 19]> then\n        switch costume to (level 17 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 20]> then\n        switch costume to (level 18 v)\n        show\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        play sound [Oops v] until done\n    end\nend\n\n@Saw\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    if <<<<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> or <(backdrop [name v]) = [Level 15]>> or <(backdrop [name v]) = [Level 16]>> then\n        if <<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> then\n            show\n            go to [back v] layer\n            turn left (5) degrees\n            go to x: (34) y: (-84)\n        else\n            if <(backdrop [name v]) = [Level 16]> then\n                show\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (-29) y: (-84)\n            else\n                show\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (208) y: (-78)\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-121) y: (-20)\nswitch costume to (trampoline:\) v)\nforever\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        go to x: (-121) y: (-38)\n    else\n        if <(backdrop [name v]) = [Level 10]> then\n            show\n            go to x: (-121) y: (-38)\n        else\n            if <(backdrop [name v]) = [Level 14]> then\n                show\n                go to x: (-121) y: (-38)\n            else\n                if <(backdrop [name v]) = [Level 17]> then\n                    show\n                    go to x: (59) y: (-38)\n                else\n                    if <(backdrop [name v]) = [Level 18]> then\n                        show\n                        go to x: (146) y: (-38)\n                    else\n                        hide\n                    end\n                end\n            end\n        end\n    end\nend\n\n@clouds\n\nwhen flag clicked\nhide\nclear graphic effects\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nset [ghost v] effect to (40)\ngo to x: (-300) y: (85)\npoint in direction (90)\nforever\n    move (2) steps\n    wait (0.01) seconds\n    if <(x position) > [300]> then\n        hide\n        go to x: (-300) y: (63)\n        wait (2) seconds\n        show\n    end\nend\n\n@Love, fav, follow banner\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-160) y: (188)\nforever\n    wait (pick random (5) to (17)) seconds\n    show\n    repeat (13)\n        change y by (-3)\n        wait (0.01) seconds\n    end\n    wait (4) seconds\n    repeat (10)\n        change y by (4)\n        wait (0.01) seconds\n    end\n    hide\nend\n\n@Skip Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next backdrop\n        reset\n        wait (2) seconds\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Previous Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n        switch backdrop to (previous backdrop v)\n        wait (2) seconds\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Reset Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\ngo to x: (-152) y: (-115)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Music Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nswitch costume to (unmute v)\ngo to x: (-153) y: (-163)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next costume\n        wait (1) seconds\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\nwhen I receive [start v]\nplay sound [Nebula v] until done\n\nwhen I receive [start v]\nforever\n    if <(costume [name v]) = [Mute]> then\n        set volume to (0) %\n    else\n        set volume to (100) %\n    end\nend\n\n@Icon for Intro\n\nwhen flag clicked\nwait (5) seconds\nbroadcast (start v)\nhide\n\nwhen flag clicked\nshow\nswitch backdrop to (intro v)\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\n\n@Particals\n\ndefine ResetGhosting\nset [ghost v] effect to (100)\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (2))\ngo [backward v] (100) layers\nResetGhosting\nshow\ngo to (random position v)\nrepeat (10)\n    change [ghost v] effect by (-4)\n    move (-1) steps\nend\nrepeat (10)\n    move (-1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    move (1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    change [ghost v] effect by (4)\n    move (1) steps\nend\ndelete this clone\n\ndefine Fade| In Or Out?| (inorout  ) Speed| (speed)\nif <(inorout  ) = [in]> then\n    repeat (speed)\n        change [ghost v] effect by (-10)\n    end\nend\nif <(inorout  ) = [out]> then\n    repeat (speed)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [start v]\nwait (0.1) seconds\nset [gameyo v] to [false]\nResetGhosting\nforever\n    if <(GameYo) = [false]> then\n        create clone of (_myself_ v)\n    else\n        delete this clone\n    end\nend\n\n@Sun\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    if <(backdrop [number v]) > [9]> then\n        hide\n    end\nend\n\n
~Lucky~| A Saint Patricks Day Themed Platformer\n=============================================\n~Story~\nYour a Leprechan, and your pot of gold is missing! You must find the rainbow, and follow it until you reach the end to find it.\n=============================================\nwelp Saint Patricks Day is comming up, so I decided to make a platformer based on it. I started working on this in Janurary. This was finshed before Febuary. I just don't have much ideas, so this gave me an Idea.\n=============================================\nEveyone, go check out my friend @Matthew_K1 's platformer for St. Patricks day! Also make sure to get him to 3k before March 20th(thats his b-day!)\nhttps://scratch.mit.edu/projects/503078267/ CHECK IT OUT!!!!!\n=============================================\nNotes: \nThis platformer is my best yet, I made it smoother, tightened the movement, and ajusted the trail effect. I think I did a decent job on this, dont you?\n=============================================\n~credits~\nCode- All code by ME\nArt-\nTree art by @INorth\nFont on tb from Cooltext.com\nMusic- Nebula by @-Xaf-\nIdea- I was looking at platformers, and I saw a STP themed one, so I took that idea and made a platformer\nEverything else by me\n============================================\nDo you have any ideas for new platformers? If so, comment them down below and maybe I will make a platformer using that idea and credit you for it\n=============================================\nTags:\n#all #trending #games #art #music #platformer #SaintPatricksDay #leprechan #potofgold #rainbow #followtherainbow #taginthetitle #INorth #-Xaf- #-AMETHYSTQUEEN-