The Lost Pumpkin | A Platformer | #games #all #art #halloween

Instructions: Hello, welcome to my newest game! :D\nIt's a halloween platformer!\n\nIf a bug happens, re-click flag or SPAM.\n\nA ❤️ and a ⭐ I would be thankful for!\n\nThis is a filler!\nFollow me at @TrentonTNT for more games like this!\n\nIf you beat the You can do it! level legitimately then you are pro :D\n\nEnjoy the game!\n\nUPDATES\n\nAdded upgrades\nAdded thumbnail\nAdded music\nMore coming soon!\n\nCREDITS \n\nGhosts by @TrentonTNT\nBackground by @TrentonTNT\nPlatformer engine by @--AwesomeCode--\nIntro by @-LeafFighter-\n\nTAGS\n\n#games #all #trending #trentontnt #halloween #pumpkin #platformer #art

@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [>> intro done v]\nswitch backdrop to (1 v)\nforever\n    play sound (pick random (1) to (5)) until done\nend\n\nwhen backdrop switches to [8 v]\nbroadcast (ENEMIES v)\nforever\n    stop [this script v]\nend\n\nwhen backdrop switches to [9 v]\nbroadcast (STOP ENEMIES v)\n\nwhen backdrop switches to [11 v]\nbroadcast (ENEMIES2 v)\nforever\n    stop [this script v]\nend\n\nwhen backdrop switches to [13 v]\nbroadcast (STOP ENEMIES2 v)\n\nwhen backdrop switches to [14 v]\nbroadcast (ENEMIES3 v)\nbroadcast (ENEMIES4 v)\nforever\n    stop [this script v]\nend\n\nwhen backdrop switches to [15 v]\nbroadcast (STOP ENEMIES3 v)\nbroadcast (STOP ENEMIES4 v)\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [ghost v] effect to (0)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\nhide\n\nwhen I receive [>> intro done v]\ngo to x: (-216) y: (40)\nshow\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.4)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1.4)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> 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?>> or <<mouse down?> and <(mouse y) > (y position)>>> 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 [14]\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 color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<<<touching color (#523903)?> or <touching color (#8a6006)?>> or <touching color (#322000)?>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y velocity v] to [14]\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        next backdrop\n        broadcast (Reset v)\n    end\n    if <<<touching color (#a2a2a2)?> or <touching color (#747474)?>> or <(y position) < [-180]>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\n    if <<touching (enemies v)?> or <<touching (enemies2 v)?> or <<touching (enemies3 v)?> or <touching (enemies4 v)?>>>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen backdrop switches to [15 v]\nsay [I found my mom! :D]\n\n@Moon\n\nwhen flag clicked\nhide\n\nwhen I receive [>> intro done v]\nshow\n\nwhen backdrop switches to [15 v]\nhide\n\n@Like fav follow\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (12) to (17)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (16) to (27)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    go [forward v] (1000000) layers\nend\n\n@TB\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\n\n@TNTintro\n\ndefine Clone (id) (#)\nset [id v] to (id)\nrepeat (#)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[Particle] = (ID)> then\n    switch costume to (particle v)\n    set [brightness v] effect to (brightness)\n    set [ghost v] effect to (100)\n    show\n    set [a v] to (pick random (-15) to (15))\n    set [b v] to (pick random (-15) to (15))\n    set [c v] to (pick random (-50) to (50))\n    set size to (pick random (50) to (300)) %\n    repeat (25)\n        go to [front v] layer\n        switch costume to (size hack 2 v)\n        change [ghost v] effect by (-20)\n        set size to ((size) * (0.9)) %\n        change x by (a)\n        change y by (b)\n        turn right (c) degrees\n        set [a v] to ((a) * (0.9))\n        set [b v] to ((b) * (0.9))\n        switch costume to (particle v)\n    end\n    delete this clone\nend\n\ndefine Particle (#) (brightness)\nset [brightness v] to (brightness)\nrepeat (#)\n    set [id v] to [Particle]\n    create clone of (_myself_ v)\nend\n\ndefine Smooth Glide To X: (x) Y: (y) Size: (size) Dir: (dir) & Speed: (speed) || Costume: (costume)\nrepeat until <<<(x position) = (x)> and <(y position) = (y)>> and <<(size) = (size)> and <(round (direction)) = (dir)>>>\n    switch costume to (pos hack v)\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    turn right (((dir) - (direction)) / (speed)) degrees\n    switch costume to (costume)\n    change size by (((size) - (size)) / (speed))\nend\n\nwhen flag clicked\nset size to (100) %\nreset timer\nhide\nstart sound [James Landino - Press Garden Zone 2 v]\nclear graphic effects\nwait (1.2) seconds\nset [brightness v] effect to (0)\nset [ghost v] effect to (0)\nClone [full] [1]\nclear graphic effects\nset [brightness v] effect to (100)\ngo to [front v] layer\nwait (.2) seconds\nset [brightness v] effect to (100)\nset [ghost v] effect to (0)\nClone [1/3] [1]\nset [ghost v] effect to (0)\nwait (.3) seconds\nset [ghost v] effect to (0)\nClone [2/3] [1]\nset [ghost v] effect to (0)\nwait (.3) seconds\nset [ghost v] effect to (0)\nClone [3/3] [1]\nwait (.3) seconds\nclear graphic effects\nset [ghost v] effect to (50)\nClone [Rad2] [1]\nwait (.15) seconds\nclear graphic effects\nClone [Rad2] [1]\nwait (.15) seconds\nset [brightness v] effect to (100)\nClone [Rad2] [1]\nclear graphic effects\nwait (0) seconds\nset [ghost v] effect to (50)\nClone [Rad] [1]\nwait (.15) seconds\nclear graphic effects\nClone [Rad] [1]\nwait (.15) seconds\nset [brightness v] effect to (100)\nClone [Rad] [1]\nclear graphic effects\nwait (.5) seconds\nClone [Logo 1] [1]\nParticle [30] [5]\nwait (.5) seconds\nclone text [0]\nParticle [15] [0]\nClone [fully] [1]\nwait (.5) seconds\nClone [full name] [1]\nParticle [25] [100]\nwait (.3) seconds\nset [brightness v] effect to (100)\nset [ghost v] effect to (50)\nClone [Rad] [1]\nwait (.1) seconds\nclear graphic effects\nset [brightness v] effect to (100)\nClone [Rad] [1]\nClone [Logo 2] [1]\nset [# v] to [1]\nwait (.05) seconds\nclear graphic effects\nrepeat (4)\n    Clone (join [cver] (#)) [1]\n    change [# v] by (1)\n    wait (.15) seconds\nend\nset [brightness v] effect to (100)\nclone text [0]\nClone [Logo 3] [1]\nset [# v] to [1]\nset [brightness v] effect to (100)\nrepeat (4)\n    Clone (join [cver] (#)) [1]\n    change [# v] by (1)\nend\nset [# v] to [1]\nwait (.1) seconds\nset [brightness v] effect to (-100)\nrepeat (4)\n    Clone (join [cver] (#)) [1]\n    change [# v] by (1)\nend\nset [# v] to [1]\nwait (.1) seconds\nset [brightness v] effect to (0)\nrepeat (4)\n    Clone (join [cver] (#)) [1]\n    change [# v] by (1)\nend\nClone [Circle] [1]\n\nwhen I start as a clone\nif <[Full] = (ID)> then\n    show\n    point in direction (90)\n    go to [back v] layer\n    switch costume to (100 v)\n    set size to (100000) %\n    go to x: (0) y: (370)\n    set size to (100) %\n    repeat (13)\n        set size to (100000) %\n        change y by ((((y position) - (370)) - (3)) / (3))\n        set size to (100) %\n    end\n    repeat (50)\n        change y by (((0) - (y position)) / (5))\n    end\nend\nif <[1/3] = (ID)> then\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (1/3 v)\n    set size to (100000) %\n    go to x: (0) y: (370)\n    set size to (100) %\n    repeat (13)\n        set size to (100000) %\n        change y by ((((y position) - (370)) - (3)) / (3))\n        set size to (100) %\n    end\n    repeat (50)\n        change y by (((0) - (y position)) / (5))\n    end\nend\n\nwhen I start as a clone\nif <[2/3] = (ID)> then\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (2/3 v)\n    set size to (100000) %\n    go to x: (0) y: (370)\n    set size to (100) %\n    repeat (13)\n        set size to (100000) %\n        change y by ((((y position) - (370)) - (3)) / (3))\n        set size to (100) %\n    end\n    repeat (50)\n        change y by (((0) - (y position)) / (5))\n    end\nend\nif <[3/3] = (ID)> then\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (3/3 v)\n    set size to (100000) %\n    go to x: (0) y: (370)\n    set size to (100) %\n    repeat (13)\n        set size to (100000) %\n        change y by ((((y position) - (370)) - (3)) / (3))\n        set size to (100) %\n    end\n    repeat (50)\n        change y by (((0) - (y position)) / (5))\n    end\nend\nif <[Circle] = (ID)> then\n    wait (1) seconds\n    go to [front v] layer\n    switch costume to (size hack 1 v)\n    set size to (10000) %\n    clear graphic effects\n    switch costume to (circle v)\n    show\n    set [circle var v] to [1000]\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait (0.5) seconds\n    broadcast (>> Intro done v)\n    delete this clone\nend\nif <[full name] = (ID)> then\n    switch costume to (\[x\] full v)\n    clear graphic effects\n    set [brightness v] effect to (100)\n    show\n    go to [front v] layer\n    set size to (0) %\n    point in direction (87)\n    Smooth Glide To X: [0] Y: [0] Size: [300] Dir: [90] & Speed: [4] || Costume: [\[X\] Full]\nend\n\nwhen I start as a clone\nif <[Rad] = (ID)> then\n    go to [front v] layer\n    switch costume to (pos hack v)\n    go to x: (0) y: (-180)\n    switch costume to (size hack 1 v)\n    set size to (100) %\n    switch costume to (size hack 1 v)\n    point in direction (90)\n    switch costume to (rad v)\n    show\n    set [var1 v] to [-1]\n    repeat (12)\n        change [var1 v] by ((var1) / (4))\n        turn right ((var1) / (1.01910910190129)) degrees\n    end\n    \n        turn right (((-90) - (direction)) / (6)) degrees\n    end\nend\n\nwhen I start as a clone\nif <[Rad2] = (ID)> then\n    go to [front v] layer\n    switch costume to (pos hack v)\n    go to x: (-240) y: (-180)\n    switch costume to (size hack 1 v)\n    set size to (100) %\n    switch costume to (size hack 1 v)\n    point in direction (180)\n    switch costume to (rad v)\n    show\n    set [var1 v] to [.5]\n    set [dir v] to [180]\n    repeat (12)\n        change [var1 v] by ((var1) / (4))\n        change [dir v] by (var1)\n        point in direction (dir)\n    end\n    \n        change [dir v] by (((270) - (dir)) / (6))\n        point in direction (dir)\n    end\nend\n\nwhen I start as a clone\nif <[Logo 1] = (ID)> then\n    go to [front v] layer\n    switch costume to (logo v)\n    show\n    set size to (0) %\n    set [ghost v] effect to (100)\n    point in direction (180)\n    set [size bounce v] to [0]\n    repeat (20)\n        turn right (((90) - (direction)) / (5)) degrees\n        set [size bounce v] to (((size bounce) * (0.8)) + (((45) - (size)) * (0.1)))\n        change size by (size bounce)\n        change [ghost v] effect by (-10)\n    end\n    set [ghost v] effect to (75)\n    set [size bounce v] to [0]\n    Particle [6] [0]\n    forever\n        set [size bounce v] to (((size bounce) * (0.8)) + (((35) - (size)) * (0.1)))\n        change size by (size bounce)\n    end\nend\n\ndefine clone text (wait)\nClone [\[X\] T] [1]\nwait (wait) seconds\nClone [\[X\] R] [1]\nwait (wait) seconds\nClone [\[X\] E] [1]\nwait (wait) seconds\nClone [\[X\] N] [1]\nwait (wait) seconds\nClone [\[X\] T2] [1]\nwait (wait) seconds\nClone [\[X\] O] [1]\nwait (wait) seconds\nClone [\[X\] N2] [1]\nwait (wait) seconds\nClone [\[X\] T3] [1]\nwait (wait) seconds\nClone [\[X\] N3] [1]\nwait (wait) seconds\nClone [\[X\] T4] [1]\n\nwhen I start as a clone\nif < (ID) contains [\[X\]]?> then\n    run\n    switch costume to (pos hack v)\n    go to x: (pick random (-10) to (10)) y: (set)\n    switch costume to (ID)\n    set size to (0) %\n    point in direction (pick random (85) to (95))\n    show\n    go to [front v] layer\n    Smooth Glide To X: [0] Y: [0] Size: [300] Dir: [90] & Speed: [6] || Costume: (ID)\n    wait (.1) seconds\n    delete this clone\nend\n\ndefine run\nif <[\[X\] T] = (ID)> then\n    repeat until <<(set) = [-1]> or <(set) = [1]>>\n        set [set v] to (pick random (-1) to (1))\n    end\n    set [\[intro\] e v] to (set)\nelse\n    if <(\[intro\] e) = [-1]> then\n        set [set v] to [1]\n        set [\[intro\] e v] to [-1]\n    else\n        if <(\[intro\] e) = [1]> then\n            set [set v] to [-1]\n            set [\[intro\] e v] to [1]\n        end\n    end\nend\n\nwhen I start as a clone\nif <[fully] = (ID)> then\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (full v)\n    set size to (100000) %\n    go to x: (900) y: (0)\n    set size to (100) %\n    repeat (13)\n        set size to (100000) %\n        change x by ((((x position) - (370)) - (3)) / (3))\n        set size to (100) %\n    end\n    repeat (50)\n        change x by (((0) - (x position)) / (5))\n    end\nend\n\nwhen I start as a clone\nif <[logo 2] = (ID)> then\n    clear graphic effects\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (logo v)\n    set size to (100000) %\n    go to x: (900) y: (0)\n    set size to (35) %\n    repeat (13)\n        set size to (100000) %\n        change x by ((((x position) - (370)) - (3)) / (3))\n        set size to (30) %\n    end\n    repeat (50)\n        change x by (((0) - (x position)) / (5))\n    end\nend\nif < (ID) contains [cver]?> then\n    switch costume to (rad v)\n    show\n    point in direction (90)\n    go to [front v] layer\n    switch costume to (ID)\n    set size to (100000) %\n    go to x: (0) y: (-900)\n    set size to (100) %\n    set [ghost v] effect to (100)\n    repeat (13)\n        set size to (100000) %\n        change y by ((((y position) - (370)) - (3)) / (3))\n        set size to (100) %\n        change [ghost v] effect by (-2)\n    end\n    repeat (100)\n        change y by (((0) - (y position)) / (5))\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nif <[Logo 3] = (ID)> then\n    clear graphic effects\n    show\n    go to [front v] layer\n    point in direction (-90)\n    switch costume to (logo v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    repeat until <<(round (size)) = [35]> and <(round (direction)) = [90]>>\n        change [ghost v] effect by (-1)\n        set [brightness v] effect to (100)\n        change size by (((35) - (size)) / (5))\n        turn right (([abs v] of ((90) - (direction)) ) / (5)) degrees\n    end\nend\n\nwhen I start as a clone\nif <not <<(ID) = [Circle]> or <(ID) = [Particle]>>> then\n    wait until <(timer) > [8.5]>\n    delete this clone\nend\n\n@Enemies\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies v]\ngo to [front v] layer\nshow\ngo to x: (115) y: (-60)\nforever\n    wait (0.2) seconds\n    glide (0.7) secs to x: (-115) y: (-60)\n    wait (0.2) seconds\n    glide (0.7) secs to x: (115) y: (-60)\nend\n\nwhen I receive [stop enemies v]\nhide\nstop [other scripts in sprite v]\n\n@Enemies2\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies2 v]\ngo to [front v] layer\nshow\ngo to x: (115) y: (-60)\nforever\n    wait (0.2) seconds\n    glide (0.7) secs to x: (-115) y: (-60)\n    wait (0.2) seconds\n    glide (0.7) secs to x: (115) y: (-60)\nend\n\nwhen I receive [stop enemies2 v]\nhide\nstop [other scripts in sprite v]\n\n@Enemies3\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies3 v]\ngo to [front v] layer\nshow\ngo to x: (115) y: (-60)\nforever\n    wait (0.2) seconds\n    glide (0.7) secs to x: (-115) y: (-60)\n    wait (0.2) seconds\n    glide (0.7) secs to x: (115) y: (-60)\nend\n\nwhen I receive [stop enemies3 v]\nhide\nstop [other scripts in sprite v]\n\n@Enemies4\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies4 v]\ngo to [front v] layer\nshow\ngo to x: (-115) y: (-60)\nforever\n    wait (0.2) seconds\n    glide (0.7) secs to x: (115) y: (-60)\n    wait (0.2) seconds\n    glide (0.7) secs to x: (-115) y: (-60)\nend\n\nwhen I receive [stop enemies4 v]\nhide\nstop [other scripts in sprite v]\n\n