GPT007/Scratch-platformers-10k huggingface dataset:
Intense platformer

Instructions: THIS IS AN INTENSE PLATFORMER .\nYOU SHOULD NOT GET CAUGHT ON THE TOP!!! BE CAREFUL  THOSE WHO GET 999 POINTS IS THE WINNER .\n  Dont touch the edge because you will be out.

@Stage\n\n@Sprite1\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (0) y: (95)\nshow\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nforever\n    go\n    if <<touching (_edge_ v)?> and <(y position) > [160]>> then\n        broadcast (OOF v) and wait\n        stop [all v]\n    end\nend\n\ndefine go\nif <not <touching (sprite2 v)?>> then\n    change [yv v] by (-1)\nend\nchange y by (yv)\nif <touching (sprite2 v)?> then\n    repeat until <not <touching (sprite2 v)?>>\n        change y by (1)\n    end\n    set [yv v] to [0]\nend\nif <key (right arrow v) pressed?> then\n    change [xv v] by (0.5)\nend\nif <key (left arrow v) pressed?> then\n    change [xv v] by (-.5)\nend\nchange x by (xv)\nif <key (up arrow v) pressed?> then\n    change [yv v] by (0.5)\nend\nchange y by (yv)\nif <touching (_edge_ v)?> then\n    stop [all v]\nend\n\n@Sprite2\n\nwhen flag clicked\nerase all\ngo to x: (0) y: (-180)\npoint in direction (0)\nwait (3) seconds\nforever\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (7))\nrepeat (67)\n    move (5) steps\nend\ndelete this clone\n\nwhen I receive [oof v]\nif <not <(costume [number v]) = [7]>> then\n    stamp\nend\n\nwhen flag clicked\nset [score v] to [0]\nforever\n    wait (0.5) seconds\n    change [score v] by (1)\nend\n\n@Sprite4\n\ndefine create a clone of myself (place value)\nset [place value v] to (place value)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nshow\nset size to (200) %\ngo to x: (-177) y: (155)\ncreate a clone of myself [100]\ngo to x: (-147) y: (155)\ncreate a clone of myself [10]\ngo to x: (-117) y: (155)\ncreate a clone of myself [1]\nhide\n\nwhen I start as a clone\nforever\n    set [digit v] to ([floor v] of ((score) / (place value)) )\n    switch costume to ((digit) + (1))\nend\n\n
Platformer Engine

Instructions: REMIXING INSTRUCTIONS\n\nOnce you remixed, delete the thumbnail sprite.\nAll you have to do then is add more level costumes IMPORTANT: If you add a new level, add a new costume to danger and water. If the level does not have any spikes or water, just leave the costume blank.\n\nHOW TO USE\nArrow keys to move.

@Stage\n\nwhen flag clicked\nforever\n    play sound [music v] until done\n    wait (1) seconds\nend\n\n@Level\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@player\n\nwhen flag clicked\nbroadcast (Restart v)\nset [level v] to [1]\nforever\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (1)\n    end\n    set [x vel v] to ((X Vel) * (0.9))\n    change x by (X Vel)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((X Vel) * (-1))\n        if <key (up arrow v) pressed?> 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    if <touching (water v)?> then\n        change [y vel v] by (-0.5)\n    else\n        change [y vel v] by (-1)\n    end\n    change y by (Y Vel)\n    if <touching (level 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 (water v)?> then\n        if <key (up arrow v) pressed?> then\n            set [y vel v] to [5]\n        end\n    else\n        if <<touching (level v)?> and <key (up arrow v) pressed?>> then\n            set [y vel v] to [15]\n        end\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [level v] by (1)\n    end\n    if <touching (danger v)?> then\n        broadcast (Restart v)\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Restart v)\n\nwhen I receive [restart v]\nset [x vel v] to [0]\nset [y vel v] to [0]\ngo to x: (-164) y: (-114)\n\n@tiles\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@water\n\nwhen flag clicked\nforever\n    set [tide v] to [0]\n    repeat (10)\n        change [tide v] by (1)\n    end\n    repeat (20)\n        change [tide v] by (-1)\n    end\n    repeat (10)\n        change [tide v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (Tide)\n    switch costume to (Level)\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\n\n
Thirsty - a platformer || #all #games

Instructions: arrows

@Stage\n\n@charakter\n\nwhen flag clicked\nforever\n    if <not <<touching color (#1ae600)?> or <touching color (#7d7d7d)?>>> then\n        change [prędkośćy v] by (-0.5)\n    end\n    if <<touching color (#000000)?> or <touching color (#868686)?>> then\n        go to x: (-190) y: (-15)\n    end\n    if <touching (krawędź v)?> then\n        next backdrop\n        go to x: (-190) y: (-15)\n    end\n    if <touching (krawędź2 v)?> then\n        go to x: (-190) y: (-15)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (tło1 v)\ngo to x: (-190) y: (-15)\nforever\n    create clone of (_myself_ v)\n    if <not <<touching color (#1ae600)?> or <touching color (#7d7d7d)?>>> then\n        repeat until <<touching color (#1ae600)?> or <touching color (#7d7d7d)?>>\n            create clone of (_myself_ v)\n            change y by (prędkośćY)\n            if <key (right arrow v) pressed?> then\n                move (7) steps\n            end\n            if <key (left arrow v) pressed?> then\n                change x by (-7)\n            end\n        end\n    else\n        set [prędkośćy v] to [0]\n        if <key (right arrow v) pressed?> then\n            move (7) steps\n        end\n        if <key (left arrow v) pressed?> then\n            change x by (-7)\n        end\n    end\nend\n\nwhen [up arrow v] key pressed\nif <<touching color (#1ae600)?> or <touching color (#7d7d7d)?>> then\n    change y by (10)\n    set [prędkośćy v] to [10]\nend\n\nwhen I start as a clone\nswitch costume to (ślad v)\nrepeat (10)\n    change size by (-1)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@krawędź\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [name v]) = [tło jaskinia5]> then\n        hide\n    end\nend\n\n@krawędź2\n\n@miniaturka\n\nshow\n\nwhen flag clicked\nhide\n\n
Treasure - a platformer || #all #games

Instructions: <^>

@Stage\n\n@charakter\n\nwhen flag clicked\nforever\n    if <not <<touching color (#1ae600)?> or <touching color (#7d6400)?>>> then\n        change [prędkośćy v] by (-0.5)\n    end\n    if  then\n        go to x: (-190) y: (-15)\n    end\n    if <touching (krawędź v)?> then\n        next backdrop\n        go to x: (-190) y: (-15)\n    end\n    if <touching (krawędź2 v)?> then\n        go to x: (-190) y: (-15)\n    end\nend\n\nwhen flag clicked\nshow\nswitch backdrop to (tło1 v)\nswitch costume to (charakter v)\ngo to x: (-190) y: (-15)\nforever\n    create clone of (_myself_ v)\n    if <not <<touching color (#1ae600)?> or <touching color (#7d6400)?>>> then\n        repeat until <<touching color (#1ae600)?> or <touching color (#7d6400)?>>\n            create clone of (_myself_ v)\n            change y by (prędkośćY)\n            if <key (right arrow v) pressed?> then\n                move (7) steps\n            end\n            if <key (left arrow v) pressed?> then\n                change x by (-7)\n            end\n        end\n    else\n        set [prędkośćy v] to [0]\n        if <key (right arrow v) pressed?> then\n            move (7) steps\n        end\n        if <key (left arrow v) pressed?> then\n            change x by (-7)\n        end\n    end\nend\n\nwhen [up arrow v] key pressed\nif <<touching color (#1ae600)?> or <touching color (#7d6400)?>> then\n    change y by (10)\n    set [prędkośćy v] to [10]\nend\n\nwhen I start as a clone\nswitch costume to (ślad v)\nrepeat (10)\n    change size by (-1)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (skarb v)?> then\n        go to x: (74) y: (-86)\n        go to x: (-6) y: (-90)\n        next backdrop\n        forever\n            if <touching (krawędź2 v)?> then\n                hide\n                broadcast (wiadomość1 v)\n                stop [this script v]\n            end\n            if <touching color (#a48400)?> then\n                change x by (-14)\n            end\n        end\n    end\nend\n\n@krawędź\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [name v]) = [tło świątynia]> then\n        hide\n    end\nend\n\n@krawędź2\n\n@miniaturka\n\nshow\n\nwhen flag clicked\nhide\n\n@skarb\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [name v]) = [tło świątynia]> then\n        show\n    end\nend\n\n@To be continued...\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [wiadomość1 v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n
Platformer Engine

Instructions: Hi there! \nThis is my new Platformer-engine!\nYou dont need to give credits!\n\nInformation\nthis has wall detection, celling detction and ground detection, slope detection\nfriction\nmobile friendly\nlol\n\n100% by me

@Stage\n\nwhen flag clicked\nforever\n    play sound [tobu-higher v] until done\nend\n\n@Player\n\ndefine Physics Jump height: (height) velocity x: (velocity) gravity: (gravity) friction: (friction)\nif <not <touching (platform v)?>> then\n    change [yv v] by (gravity)\nend\nchange y by (YV)\ndie\nif <<touching (platform v)?> and <(YV) < [2]>> then\n    repeat until <not <touching (platform v)?>>\n        change y by (1)\n    end\n    set [yv v] to [0]\n    if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n        set [yv v] to (height)\n    end\nelse\n    if <<touching (platform v)?> and <(YV) > [2]>> then\n        repeat until <not <touching (platform v)?>>\n            change y by (-1)\n        end\n        set [yv v] to [0]\n    end\nend\nif <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n    change [xv v] by ((0) - (velocity))\n    point in direction (-90)\nelse\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [xv v] by (velocity)\n        point in direction (90)\n    end\nend\nset [xv v] to ((XV) * (friction))\nchange x by (XV)\ndie\nif <touching (platform v)?> then\n    change x by ((XV) * (-1))\n    if <(direction) = [-90]> then\n        set [xv v] to [-1]\n    end\n    if <(direction) = [90]> then\n        set [xv v] to [1]\n    end\nend\n\nwhen flag clicked\ngo to x: (-189) y: (-10)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    Physics Jump height: [15] velocity x: [1] gravity: [-1] friction: [.9]\n    if <(x position) > [230]> then\n        go to x: (-189) y: (-10)\n        broadcast (next level v)\n    end\nend\n\ndefine die\nif <touching color (#ff4c4c)?> then\n    go to x: (-189) y: (-10)\nend\n\n@platform\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@thumbnail\n\nwhen flag clicked\nshow\nforever\n    set [ghost v] effect to (100)\nend\n\n
Colorless platformer 

Instructions: Platformer\n\nTell me if you want levels\n\nNew*: Added music 

@Stage\n\n@Sprite1\n\nwhen flag clicked\nset [gravity v] to [-6]\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\ngo to x: (-211) y: (-57)\nforever\n    if <key (left arrow v) pressed?> then\n        set [x velocity v] to [-4]\n    else\n        if <key (right arrow v) pressed?> then\n            set [x velocity v] to [4]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    if <not <touching (line  v)?>> then\n        if <not <touching color (#000000)?>> then\n            change y by (Gravity)\n        end\n        change y by (0)\n    end\n    change x by (X velocity)\n    if <touching (colors  v)?> then\n        broadcast (color v)\n        switch costume to (costume2 v)\n        switch backdrop to (backdrop2 v)\n    end\n    if <touching color (#460000)?> then\n        go to x: (-207) y: (151)\n    end\n    if <touching (next level  v)?> then\n        go to x: (-207) y: (151)\n        change [level v] by (1)\n        next backdrop\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume2 v)\n        broadcast (hide v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        repeat (10)\n            change y by (15)\n        end\n        repeat until <<touching (line  v)?> or <touching color (#000000)?>>\n            change y by (0)\n        end\n        if <touching color (#000000)?> then\n            change y by (1)\n        end\n    end\nend\n\nwhen I receive [third level  v]\nif <touching (next level  v)?> then\n    go to x: (-207) y: (151)\n    switch backdrop to (backdrop5 v)\n    broadcast (Fourth Level  v)\n    stop [this script v]\nend\n\nwhen I receive [fifth level  v]\nif <touching (next level  v)?> then\n    go to x: (-207) y: (151)\n    switch backdrop to (backdrop6 v)\n    broadcast (Fourth Level  v)\n    stop [this script v]\nend\n\nwhen I receive [third level  v]\nif <touching (next level  v)?> then\n    go to x: (-207) y: (151)\n    switch backdrop to (backdrop8 v)\n    broadcast (Fourth Level  v)\n    stop [this script v]\nend\n\nwhen flag clicked\nplay sound [Alan Walker Alone v] until done\n\n@Colors \n\nwhen flag clicked\ngo to x: (218) y: (120)\nhide\n\nwhen I receive [color v]\nhide\n\nwhen flag clicked\nif <(Level) = [6]> then\n    show\nend\n\nplay sound [Alan Walker v] until done\n\n@Line \n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [color v]\nswitch costume to (costume2 v)\n\n@Thumbnail \n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nwait (1) seconds\nhide\n\n@next level \n\nwhen flag clicked\nshow\nset [level v] to [1]\ngo to x: (172) y: (254)\n\nwhen I receive [hide v]\nhide\n\n
Planets||A platformer

Instructions: Accidentally unshared on june first\nUse Arrows to move\nAvoid spikes, lava, Acid, geysers dangerous gas clouds and more!\nLike and Fave for part two on Exoplanets and dwarf planets\nPLANETS PART 2 IS OUT https://scratch.mit.edu/projects/512957297/\n\n#games #games #games #games #games #games #games #games # games #games #games #games#games #games #games #games #games #games #games #games # games #games #games #games\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIdk if you guys read country ball comics or watch youtubers react to them but\n\nComment: Poland can into space :>   \n\n\n\n\n\n

@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\n@Sprite2\n\nwhen flag clicked\npoint in direction (90)\nset [xspawn v] to [-212]\nset [y spawn v] to [26]\ngo to x: (Xspawn) y: (y spawn)\nshow\nset size to (25) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Platformer engine\nend\n\ndefine Platformer engine\nchange [y v] by (-0.5)\nif <key (left arrow v) pressed?> then\n    change [x v] by (-1)\nend\nif <key (right arrow v) pressed?> then\n    change [x v] by (1)\nend\nset [x v] to ((X) * (0.9))\nchange x by (X)\nif <touching color (#000000)?> then\n    change y by (1)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (-6)\n                            change x by ((X) * (-1))\n                            if <key (space v) pressed?> then\n                                set [y v] to [10]\n                                if <(X) > [50]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (Y)\nif <touching color (#000000)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n    set [y v] to [8.5]\nend\nchange y by (0.5)\nif <(x position) > [215]> then\n    change [level v] by (1)\n    go to x: (Xspawn) y: (y spawn)\nend\nif <touching (sprite1 v)?> then\n    go to x: (Xspawn) y: (y spawn)\nend\nif <(y position) < [-153]> then\n    go to x: (Xspawn) y: (y spawn)\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\nstop [all v]\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Force v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n
scrolling platformer tutorial

Instructions: welcome to my first tutorial see it and make a scrolling game\n\n\nWoW 3k+ views 100+ likes, coments and stars

@Stage\n\n@Player\n\nwhen flag clicked\nswitch costume to (stand v)\npoint in direction (90)\nforever\n    if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> and <(costume [number v]) = [16]>> then\n        switch costume to (run1 v)\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (-40)\nset rotation style [left-right v]\nset [move speed v] to [0]\nset [scroll v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>>> then\n        point in direction (90)\n        next costume\n        set [move speed v] to [-8]\n    else\n        if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n            point in direction (-90)\n            next costume\n            set [move speed v] to [8]\n        else\n            switch costume to (stand v)\n        end\n    end\n    change [scroll v] by (move speed)\n    set [move speed v] to ((move speed) * (0.8))\nend\n\nwhen flag clicked\nforever\n    repeat until <touching color (#20ad00)?>\n        change y by (-3)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <not <touching color (#20ad00)?>>\n        change y by (3)\n        if <key (up arrow v) pressed?> then\n            repeat (15)\n                change y by (6)\n            end\n            wait until <touching color (#20ad00)?>\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#20ad00)?> then\n        change [scroll v] by ((move speed) - ((move speed) * (2.5)))\n    end\n    go to [front v] layer\nend\n\n@terrarian \n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nswitch costume to ((costume [number v]) - (1))\nset [sense the last costume v] to (costume [number v])\nswitch costume to (costume1 v)\nset [platforms id v] to [0]\ncreate clone of (_myself_ v)\nrepeat ((sense the last costume) - (1))\n    change [platforms id v] by (1)\n    create clone of (_myself_ v)\nend\nstop [this script v]\n\nwhen I start as a clone\nshow\nforever\n    move (platforms id)\nend\n\ndefine move (number or text)\nswitch costume to ((number or text) + (1))\ngo to x: ((scroll) + ((480) * (number or text))) y: (0)\nif <<(x position) < [-460]> or <[460] < (x position)>> then\n    hide\nelse\n    show\nend\n\n@Sprite1\n\n
ninqa a platformer #all #games

Instructions: kays or wasd to move \nlove and fave plz \ns to skip\n#7 on tranding  say what ?!\nFIRST PROJECKT!\nzamykam komy zadużo reklamacji\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nmaby follow

@Stage\n\n@pleyer\n\nwhen flag clicked\nset [wysokość skoku v] to [50]\nbroadcast (wiadomość1 v)\ngo to x: (-205) y: (-134)\nforever\n    if <<touching color (#3000ff)?> or <touching color (#3000ff)?>> then\n        set [skok v] to [1]\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            set [skok v] to ((wysokość skoku) / (5))\n        end\n    else\n        change [skok v] by (-0.5)\n    end\n    change y by (skok)\nend\n\nset [wysokość skoku v] to [0]\n\nwhen I receive [wiadomość1 v]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change x by (-10)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change x by (10)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-207) y: (-124)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-205) y: (-134)\n\nwhen flag clicked\nforever\n    if <touching color (#5aff00)?> then\n        change [skok v] by (5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        broadcast (next level v)\n        wait (1) seconds\n    end\nend\n\n@platforms map\n\nwhen flag clicked\nswitch costume to (kostium1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Duszek1\n\nwhen flag clicked\nforever\n    if <touching (pleyer v)?> then\n        broadcast (next level v)\n    end\nend\n\n