Whopper/Easter Platformer
@Stage\n\n@blank\n\n@player\n\nwhen flag clicked\nswitch costume to (gold v)\ngo to x: (-205) y: (75)\nset [jump power v] to [14]\nset [speed v] to [1.7]\nset [level v] to [1]\nbroadcast (next level v)\nforever\n    switch costume to ([costume name v] of [yay v])\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x vel v] by ((speed) * (-1))\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x vel v] by (speed)\n    end\n    set [x vel v] to ((X vel) * (0.85))\n    change x by (X vel)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X vel) * (-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 vel) > [0]> then\n                set [x vel v] to [-10]\n            else\n                set [x vel v] to [10]\n            end\n            set [y vel v] to [15]\n        else\n            set [x vel v] to [0]\n        end\n    end\n    change [y vel v] by (-1)\n    change y by (Y vel)\n    if <touching (ground v)?> then\n        change y by ((Y vel) - ((Y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y vel v] to (jump power)\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (next level v)\n        change [level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (reset v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [next level v]\nbroadcast (reset v)\n\nwhen I receive [reset v]\ngo to x: (-201) y: (75)\nset [x vel v] to [0]\nset [y vel v] to [0]\n\nwhen I start as a clone\nclear graphic effects\nrepeat (15)\n    turn right (15) degrees\n    change y by (5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [low v]\nset [jump power v] to [14]\n\nwhen I receive [message v]\nset [jump power v] to [20]\n\nwhen [r v] key pressed\nbroadcast (reset v)\n\n@trail\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    switch costume to ([costume name v] of [player v])\n    go to (player v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\n@ground\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nset [level v] to [8]\n\n@yay\n\nwhen flag clicked\nhide\nswitch costume to (gold v)\nwait (1) seconds\nwait until <(love+fave) = [2]>\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (gold v)\nset [ghost v] effect to (100)\nrepeat until <(timer) > [1]>\n    change y by ((y position) / (-25))\n    change [ghost v] effect by (-15)\nend\nreset timer\nrepeat until <(timer) > [1]>\n    change y by (((y position) - (100)) / (-25))\n    change [ghost v] effect by (10)\nend\nhide\nswitch costume to (whopper v)\n\nset [love+fave v] to [2]\n\n@detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nset [love+fave v] to [0]\nforever\n    set [touch v] to [none]\n    detect [love] at [-201] [-220]\n    detect [fave] at [-201] [-220]\nend\n\ndefine detect (thing) at (x) (y)\nswitch costume to (nothing v)\ngo to x: (x) y: (y)\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touch v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touch) = [fave]>\n    if <(touch) = [fave]> then\n        change [love+fave v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touch) = [love]>\n    if <(touch) = [love]> then\n        change [love+fave v] by (1)\n        stop [this script v]\n    end\nend\n\n@spikes\n\nwhen flag clicked\nforever\n    switch costume to (level)\n    go to [back v] layer\nend\n\n@deco\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@rain\n\nwhen flag clicked\nwait (3) seconds\nhide\nforever\n    wait (pick random (0) to (0.02)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nclear graphic effects\nshow\nset [ghost v] effect to (pick random (70) to (90))\nset size to (pick random (50) to (125)) %\ngo to x: (pick random (240) to (-240)) y: (170)\nglide (pick random (0.5) to (2)) secs to x: (pick random (240) to (-240)) y: (-180)\nhide\ndelete this clone\n\n@clouds\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (10) seconds\nend\n\nwhen I start as a clone\nforever\n    show\n    switch costume to (pick random (1) to (2))\n    go to (random position v)\n    change y by (80)\n    set x to (-300)\n    repeat (500)\n        change x by (1)\n    end\n    delete this clone\nend\n\n@pop-up\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    wait (pick random (10) to (15)) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (4) seconds\nend\n\nwhen this sprite clicked\nset [ghost v] effect to (100)\n\n@thumb\n\nwhen flag clicked\nset y to (0)\nhide\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > ((Timer) + (0.01))\nshow\nset y to (347)\nrepeat (10)\n    set y to ((y position) / (2))\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    play sound [whopper v] until done\n    set volume to (150) %\nend\n\nwhen I receive [-10 v]\nchange volume by (-10)\n\nwhen flag clicked\nforever\n    if <[75] > (volume)> then\n        broadcast (2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <[25] > (volume)> then\n        broadcast (1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <[1] > (volume)> then\n        broadcast (0 v)\n    end\nend\n\nwhen this sprite clicked\nif <[1] > (volume)> then\n    broadcast (3 v)\n    set volume to (100) %\nend\n\n@words\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        stop all sounds\n        repeat (2)\n            play sound [mind blowing thoughts v] until done\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nreset timer\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (timer)\nplay sound [mind blowing thoughts v] until done\n\n@ohio\n\nwhen flag clicked\nrepeat (25)\n    switch costume to (1 v)\n    wait (0.05) seconds\n    switch costume to (2 v)\n    wait (0.05) seconds\n    switch costume to (3 v)\n    wait (0.05) seconds\n    switch costume to (2 v)\n    wait (0.05) seconds\nend\nhide\n\n
Comment for a chance to be in my Comment Animations\nfor contest\nmade this in 2 days\n#60 on games  #32 on stories #76 on art #36 on animations #35 on music on 4/13/23 \n\nSorry this is like an april fools day platformer