Pumpkin Valley || Platformer #Games
@Stage\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Music v] until done\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Player\n\ndefine Platform Physics (speed) (friction) (jump height)\nset rotation style [left-right v]\nchange [y vel v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (speed)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by ((speed) * (-1))\nend\nset [x vel v] to ((X Vel) * (friction))\nchange x by (X Vel)\nset [slope v] to [0]\nif <touching (level v)?> then\n    repeat until <<not <touching (level v)?>> or <(slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <touching (level v)?> then\n    change y by (slope)\n    repeat until <not <touching (level v)?>>\n        change x by ((([abs v] of (X Vel) ) / (X Vel)) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y vel v] to [10]\n        if <(X Vel) > [0]> then\n            set [x vel v] to [-6]\n        else\n            set [x vel v] to [6]\n        end\n    else\n        set [x vel v] to [0]\n    end\nend\nchange y by (Y Vel)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by ((([abs v] of (Y Vel) ) / (Y Vel)) * (-1))\n    end\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (level v)?>> then\n    set [y vel v] to (jump height)\nend\nchange y by (1)\n\nwhen I receive [start v]\nshow\nset [level v] to [1]\npoint in direction (90)\nswitch costume to (pumpkin boy v)\nset [x vel v] to [0]\nset [y vel v] to [0]\ngo to x: (-166) y: (-95)\nrepeat until <(costume [number v]) = [2]>\n    Platform Physics [1] [0.9] [11]\nend\nforever\n    Platform Physics [2] [0.9] [22]\nend\n\nwhen I receive [start v]\nforever\n    if <(x position) > [210]> then\n        go to x: (-166) y: (-95)\n        change [level v] by (1)\n        broadcast (Next v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (spikes v)?> then\n        set [x vel v] to [0]\n        set [y vel v] to [0]\n        go to x: (-166) y: (-95)\n    end\nend\n\nwhen flag clicked\nhide\n\n@level\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to [front v] layer\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\n@clouds\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    switch costume to (pick random (1) to (3))\n    set size to (80) %\n    go to (random position v)\n    set x to (-300)\n    repeat (620)\n        change x by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    show\n    set [ghost v] effect to (60)\nend\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (3) layers\n\nwhen I receive [start v]\nrepeat (10)\n    switch costume to (costume1 v)\nend\nforever\n    set size to (30) %\n    create clone of (_myself_ v)\n    wait (5) seconds\nend\n\n@spikes\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@intro\n\ndefine bounce finished size (size)\nset [s v] to [0]\nrepeat (40)\n    set [s v] to (((S) * (0.7)) + (((size) - (size)) / (5)))\n    change size by (S)\nend\n\nwhen flag clicked\nhide\nswitch costume to (ball v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    switch costume to (ball v)\n    set size to (100) %\n    set [brightness v] effect to (0)\n    go to x: (0) y: (-300)\n    set [bally v] to [20]\n    repeat (30)\n        change y by (BallY)\n        change [bally v] by (-1)\n    end\n    repeat (15)\n        switch costume to (blank or sizehack v)\n        change size by (((2500) - (size)) / (3))\n        switch costume to (ball v)\n    end\n    switch costume to (oc v)\n    create clone of (_myself_ v)\n    switch costume to (text v)\n    create clone of (_myself_ v)\n    switch costume to (ball v)\n    wait (6) seconds\n    broadcast (IntroStuff v)\n    bounce finished size [100]\n    set [bally v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (BallY)\n        change [bally v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    broadcast (Start v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set [sequence v] to [0]\n    set size to (100) %\n    go to [front v] layer\n    set [only ebicc people can love/fave this proj ;\) v] to [0]\n    repeat until <(Sequence) = [1]>\n        change size by (([sin v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (1))\n        change y by (([cos v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (5))\n        point in direction ((([cos v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (20)) + (90))\n        change [only ebicc people can love/fave this proj ;\) v] by (5)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nwait (.6) seconds\nstart sound [IntroMusic v]\n\ndefine Flash\nswitch costume to (flash v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    show\n    switch costume to (flash v)\n    set size to (100) %\n    set [ghost v] effect to (0)\n    point in direction (90)\n    go to x: (0) y: (0)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nrepeat (8)\n    wait (1) seconds\n    Flash\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    set size to (100) %\n    go to [front v] layer\n    point in direction (90)\n    go to x: (0) y: (0)\n    repeat until <(Sequence) = [1]>\n        go to x: (([tan v] of ((timer) * (125)) ) * (20)) y: (0)\n        go to [front v] layer\n    end\nend\n\nwhen I receive [introstuff v]\nif <(costume [number v]) = [2]> then\n    go to x: (0) y: (-40)\n    point in direction (90)\n    set size to (100) %\n    change [sequence v] by (1)\n    bounce finished size [20]\n    set [ocy v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (OCy)\n        change [ocy v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\nwhen I receive [introstuff v]\nif <(costume [number v]) = [3]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    change [sequence v] by (1)\n    bounce finished size [10]\n    set [ocy v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (OCy)\n        change [ocy v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\n
ItS TiME tO gEt SpOoKy!!\nWelcome to Pumpkin valley!\nLets get this on trending!!\nThe goal is to find your other pumpkin friends!\nThere are 9 levels new levels will no longer be added :(\nI'm also working on some zombies!! >:)\n                                -How to play-\nArrow Keys, or WASD to move i'm working on mobile!\nEnjoy ❤️ and ⭐ for more!!\n                                   -Credits-\nYoutube for the music, @geckos121 for the pumpkin art,\n@TurtleEntertainment for part of the player code, New Intro by @EbiccIntroMaker, and everything else bye me!