One Tap! A PLatformer! #games #fun #all #trending #featured
@Stage\n\n@player\n\nwhen flag clicked\nset rotation style [left-right v]\nset size to (40) %\nshow\ngo to x: (-210) y: (50)\nset [ghost v] effect to (0)\nset [yvelocity v] to [0]\nset [xvelocity v] to [0]\nforever\n    broadcast (MakePlayerFollowHitbox v)\n    Up/Down Movement [15] [-1]\n    Right/Left Movement [10] [0.6]\nend\n\ndefine Up/Down Movement (jump height) (fall speed)\nchange y by (yVelocity)\nif <touching (level v)?> then\n    repeat ([ceiling v] of ([abs v] of (yVelocity) ) )\n        if <touching (level v)?> then\n            change y by (((yVelocity) / ([abs v] of (yVelocity) )) * (-1))\n        end\n    end\n    if <<not <(yVelocity) > [0]>> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [yvelocity v] to (jump height)\n    else\n        set [yvelocity v] to [0]\n    end\nelse\n    change [yvelocity v] by (fall speed)\nend\n\ndefine Right/Left Movement (move speed) (drag)\nchange x by (xVelocity)\nif <touching (level v)?> then\n    repeat ([ceiling v] of ([abs v] of (xVelocity) ) )\n        if <touching (level v)?> then\n            change x by (((xVelocity) / ([abs v] of (xVelocity) )) * (-1))\n        end\n    end\n    set [xvelocity v] to [0]\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    set [xvelocity v] to (move speed)\nelse\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        set [xvelocity v] to ((move speed) * (-1))\n    end\nend\nset [xvelocity v] to ((xVelocity) * (drag))\n\nwhen I receive [next level v]\ngo to x: (-210) y: (50)\n\nwhen flag clicked\nforever\n    if <<touching (death v)?> or <touching (sprite1 v)?>> then\n        broadcast (Death v)\n    end\nend\n\nwhen I receive [death v]\ngo to x: (-210) y: (50)\n\nwhen flag clicked\nforever\n    change [color v] effect by (0.3)\nend\n\nwhen flag clicked\nforever\n    change [color v] effect by (1)\nend\n\n@Level\n\nwhen flag clicked\nshow\nset [number of clones v] to [1]\nswitch costume to (costume1 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nhide\nswitch costume to (costume2 v)\nforever\n    go to (mouse-pointer v)\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        show\n        switch costume to (costume2 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [clones v]\nwait (0.05) seconds\ncreate clone of (_myself_ v)\n\nwhen I receive [clones v]\ndelete this clone\n\nwhen I receive [death v]\ndelete this clone\n\nwhen I receive [death v]\nwait (0.05) seconds\ncreate clone of (_myself_ v)\n\nwhen [space v] key pressed\nbroadcast (Death v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        broadcast (You noclipped v)\n    end\nend\n\nwhen I receive [start v]\ngo to [front v] layer\n\n@Ground ghost\n\nwhen flag clicked\nshow\nforever\n    go to (mouse-pointer v)\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        hide\n    end\nend\n\nwhen I receive [next level v]\nshow\nforever\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        hide\n    end\nend\n\nwhen I receive [death v]\nshow\nforever\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        hide\n    end\nend\n\n@text\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\nif <(costume [number v]) = [4]> then\n    hide\nend\n\nwhen I receive [you noclipped v]\nshow\nswitch costume to (costume5 v)\n\n@Next level\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        broadcast (Clones v)\n        broadcast (Next level v)\n        wait (1) seconds\n    end\nend\n\n@Death\n\nwhen flag clicked\ngo to [back v] layer\n\n@Sprite1\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\n@Love fave\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (10) to (15)) seconds\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2.7) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n@intro\n\nwhen flag clicked\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\nshow\npoint in direction (90)\nset size to (100) %\nswitch costume to (clipart2460801 v)\ngo to x: (0) y: (200)\nrepeat (50)\n    change y by (my variable)\nend\nrepeat (6)\n    next costume\nend\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nrepeat (100)\n    change size by (300)\nend\nwait (1) seconds\nrepeat (50)\n    turn right (30) degrees\n    change size by (-500)\nend\nhide\nbroadcast (Start v)\n\nwhen flag clicked\nset [my variable v] to [0]\nforever\n    change [my variable v] by (-0.2)\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to [front v] layer\ngo to [front v] layer\nshow\n\nwhen I receive [start v]\nhide\n\n@Sprite2\n\n@Sprite4\n\nwhen flag clicked\nrepeat (10)\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\nwhen flag clicked\nforever\n    play sound [yt5s v] until done\nend\n\n@Sprite5\n\nwhen flag clicked\nset [for speedrunners v] to [0]\nhide variable [☁ . v]\nhide variable [for speedrunners v]\n\nwhen I receive [start v]\nshow variable [☁ . v]\nshow variable [for speedrunners v]\nforever\n    wait (0.1) seconds\n    change [for speedrunners v] by (0.1)\nend\n\nwhen I receive [you noclipped v]\nstop [other scripts in sprite v]\nif <(For Speedrunners) < (☁ .)> then\n    set [☁ . v] to (For Speedrunners)\nend\n\n@turbo mode detector\n\nwhen flag clicked\nhide\nset [turbo v] to [0]\nforever\n    change [turbo v] by (1)\n    wait (0) seconds\nend\n\nwhen flag clicked\nset [turbo v] to [0]\nforever\n    broadcast (Check v)\n    wait (0.125) seconds\nend\n\nwhen I receive [check v]\nif <(Turbo) > [100]> then\n    show\n    go to [front v] layer\n    stop [all v]\nend\nset [turbo v] to [0]\n\n
Consider to Love and Fave!\nControls\nWAD to move\nClick to place a block\nSpace to reset level