GPT007/Scratch-platformers-10k huggingface dataset:
Platformer contest! (Closed) Winner gets 70+ followers!

Instructions: \nResults: https://scratch.mit.edu/projects/490198387\n\nPrizes-\n1st: All prize givers' follows, loves and favs (70+)\n2nd: 60 follows, loves and favs\n3rd: 50 follows, loves and favs\n4th: 40 follows, loves and favs\n5th: 30 follows, loves and favs\n\nAll participants receive a follow\n-Don't cheat!\n\n-Music controls: Space key, or Click the sun\n\n\n-Started October 31\n\n-2000+ views wOoW

@Stage\n\nwhen flag clicked\nbroadcast (message1 v)\n\n@DELETE THIS\n\ndefine Setup\npoint in direction (90)\nset [color v] effect to (pick random (5) to (185))\nset size to (100) %\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (128)\n\nwhen I receive [message1 v]\nset rotation style [left-right v]\nshow\ngo to [front v] layer\nSetup\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        change [x v] by (2)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        change [x v] by (-2)\n        point in direction (-90)\n    end\n    change x by (x)\n    Slope\n    if <touching (platforms v)?> then\n        change x by ((x) * (-1))\n        set [x v] to [0]\n    else\n        set [x v] to ((x) * (0.8))\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (delete this! v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (delete this! v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) < (y position)>>> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <(x position) > [249]> then\n        Setup\n    end\n    if <(x position) < [-249]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (200) y: (128)\n        set [color v] effect to (pick random (5) to (185))\n    end\nend\n\nwhen flag clicked\nhide\n\n@DELETE THIS!\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\n\n@DELETE THIS!!\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nforever\n    if <touching (delete this v)?> then\n        set [brightness v] effect to (35)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n@Sun\n\nwhen flag clicked\nforever\n    play sound [Sunshine v] until done\nend\n\nwhen this sprite clicked\nif <(volume) = [100]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\nwhen [space v] key pressed\nif <(volume) = [100]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\n
Platformer Assets

Instructions: To use, see inside and add the costumes to your backpack.

@Stage\n\n@sprites\n\nwhen [down arrow v] key pressed\nrepeat (3)\n    set y to ((y position) + (((-100) - (y position)) * (0.25)))\nend\nnext costume\nrepeat (20)\n    set y to ((y position) + (((0) - (y position)) * (0.25)))\nend\n\nwhen [space v] key pressed\nrepeat (3)\n    set y to ((y position) + (((-100) - (y position)) * (0.25)))\nend\nnext costume\nrepeat (20)\n    set y to ((y position) + (((0) - (y position)) * (0.25)))\nend\n\nwhen this sprite clicked\nrepeat (3)\n    set y to ((y position) + (((-100) - (y position)) * (0.25)))\nend\nnext costume\nrepeat (20)\n    set y to ((y position) + (((0) - (y position)) * (0.25)))\nend\n\nwhen flag clicked\nshow\nswitch costume to (title v)\n\n@thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n
maze platformer


@Stage\n\n@Ghoul\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        change [color v] effect by (25)\n        change y by ((0) - (speed))\n    end\n    if <key (s v) pressed?> then\n        change [color v] effect by (25)\n        change y by ((0) - (speed))\n    end\n    if <key (up arrow v) pressed?> then\n        change [color v] effect by (25)\n        change y by (speed)\n    end\n    if <key (w v) pressed?> then\n        change [color v] effect by (25)\n        change y by (speed)\n    end\n    if <key (left arrow v) pressed?> then\n        change [color v] effect by (25)\n        change x by ((0) - (speed))\n    end\n    if <key (a v) pressed?> then\n        change [color v] effect by (25)\n        change x by ((0) - (speed))\n    end\n    if <key (right arrow v) pressed?> then\n        change x by (speed)\n        change [color v] effect by (25)\n    end\n    if <key (d v) pressed?> then\n        change x by (speed)\n        change [color v] effect by (25)\n    end\nend\n\nwhen [right arrow v] key pressed\nglide (2.8) secs to (mouse-pointer v)\npoint towards (mouse-pointer v)\nif <touching color (#ff0000)?> then\n    say [Your trash kid!!!!!!!!!!!] for (2) seconds\n    go to x: (-224) y: (-152)\nend\nif <touching color (#000000)?> then\n    move (10) steps\nend\nif <touching color (#65ff00)?> then\n    say [1st level complete] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop6 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#00ffb6)?> then\n    say [Lets keep going your good] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop7 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#2a00ff)?> then\n    say [Keep on going] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop1 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#1dff00)?> then\n    say [hit the hibi jibi on the baca na] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop2 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#0090ff)?> then\n    say [Maybe there is more] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop9 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#1d00ff)?> then\n    say [:\)] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop8 v)\n    go to x: (-226) y: (-145)\nend\nif <touching color (#ffdd00)?> then\n    say [GAME COMPLETE] for (2) seconds\n    change [level v] by (1)\n    switch backdrop to (backdrop8 v)\n    go to x: (-226) y: (-145)\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop5 v)\ngo to x: (-204) y: (-139)\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nset [level v] to [1]\n\n
Platformer game

Instructions: You have to get to the black line. Arrow keys to move. Don't touch lava or spikes. Please love and fav.\nMy other platformers: https://scratch.mit.edu/projects/455164782/\nhttps://scratch.mit.edu/projects/520341365/\n\n#games #platformer #Violon18 #360 #player #rotating #round #green #spikes #lava

@Stage\n\n@player\n\nwhen flag clicked\nshow\ngo to x: (0) y: (-1)\n\nwhen I receive [respawn v]\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nforever\n    change y by (-5)\n    if <touching color (#ff0000)?> then\n        broadcast (respawn v)\n    end\n    if <touching color (#000000)?> then\n        say [You win!] for (2) seconds\n        say [Love and Fav?] for (2) seconds\n        stop [all v]\n    end\n    if <touching color (#b0b0b0)?> then\n        broadcast (respawn v)\n    end\n    if <touching color (#5d5d5d)?> then\n        broadcast (respawn v)\n    end\n    change y by (5)\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Around v] until done\nend\n\n@Platform\n\ndefine SET HACK SIZE TO (number or text)\nswitch costume to (costume1 v)\nset size to (number or text) %\nswitch costume to (costume1 v)\n\nwhen I receive [respawn v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [d vel v] to [0]\nset [y vel v] to [0]\n\nwhen flag clicked\nshow\nbroadcast (respawn v)\nSET HACK SIZE TO [200]\nforever\n    change [y vel v] by (1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [d vel v] by (-0.35)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [d vel v] by (0.35)\n    end\n    set [d vel v] to ((d vel) * (0.8))\n    turn right (d vel) degrees\n    if <touching (player v)?> then\n        change y by (-1)\n        if <touching (player v)?> then\n            change y by (-1)\n            if <touching (player v)?> then\n                change y by (-1)\n                if <touching (player v)?> then\n                    change y by (-1)\n                    if <touching (player v)?> then\n                        change y by (4)\n                        turn right ((d vel) * (-1)) degrees\n                        set [d vel v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (y vel)\n    if <touching (player v)?> then\n        change y by ((y vel) * (-1))\n        set [y vel v] to [0]\n    end\n    change y by (1)\n    if <touching (player v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y vel v] to [-12]\n        end\n    end\n    change y by (-1)\nend\n\n
Guinea Pig Platformer

Instructions: Use the arrow keys to move. Touch the carrot to be in the next level. Also don't touch the lava!

@Stage\n\n@Player\n\nwhen I receive [start 2 v]\nset volume to (30) %\nshow\ngo to x: (-175) y: (-91)\nswitch costume to (guinea pig 2 v)\nswitch backdrop to (backdrop1 v)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (guinea pig 2 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (guinea pig 1 v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#00ff5d)?> then\n        change y by (1)\n    end\n    if <touching color (#00ff5d)?> then\n        change y by (1)\n    end\n    if <touching color (#00ff5d)?> then\n        change y by (1)\n    end\n    if <touching color (#00ff5d)?> then\n        change y by (1)\n    end\n    if <touching color (#00ff5d)?> then\n        change y by (-4)\n        change x by ((X) * (-1))\n        if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n            set [y v] to [17]\n            if <(X) > [0]> 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    change y by (Y)\n    if <touching color (#00ff5d)?> then\n        change y by ((Y) - ((Y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (space v) pressed?>> and <touching color (#00ff5d)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching (carrot v)?> then\n        go to x: (-175) y: (-91)\n        next backdrop\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-175) y: (-91)\n    end\n    if <(backdrop [name v]) = [Won!]> then\n        hide\n    end\n    if on edge, bounce\n    point in direction (90)\nend\n\nwhen flag clicked\nhide\nswitch backdrop to (backdrop8 v)\nbroadcast (Start v)\n\nwhen I receive [start v]\nforever\n    play sound [The Guinea pig song \(128 kbps\) v] until done\nend\n\n@Carrot\n\nwhen I receive [start 2 v]\nforever\n    if <(backdrop [number v]) = [13]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    hide\n    reset timer\nend\n\nshow\ngo to [front v] layer\n\nwhen [timer v] > (0.01)\ngo to [front v] layer\nshow\n\n@Play 1\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch backdrop to (backdrop 12 v)\n\nwhen I receive [start 2 v]\nhide\n\n@Play 2\n\nwhen this sprite clicked\nbroadcast (Start 2 v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n
Mars Platformer

Instructions: Follow @l_ecureuil !!\nhttps://scratch.mit.edu/projects/461094909/#comments-173518415

@Stage\n\n@Player\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nswitch costume to (kostüm2 v)\nReset Player Position\nset [force walk v] to [3]\nset [force gravity v] to [-1.5]\nset [force jump v] to [17]\nset [player speed x v] to [0]\nforever\n    Check Player Gravity\n    Check Player Walk\n    Check Player Touching\nend\n\ndefine move out (dx) (dy)\nrepeat until <not <touching color (#ff0000)?>>\n    change x by (dx)\n    change y by (dy)\nend\n\ndefine Check Player Gravity\nchange [player speed y v] by (FORCE GRAVITY)\nchange y by (Player Speed Y)\nif <touching color (#ff0000)?> then\n    if <(Player Speed Y) > [0]> then\n        move out [0] [-1]\n        set [player speed y v] to [0]\n    else\n        move out [0] [1]\n        if <key (up arrow v) pressed?> then\n            set [player speed y v] to (FORCE JUMP)\n        else\n            set [player speed y v] to [0]\n        end\n    end\nend\n\ndefine Check Player Walk\nset size to (300) %\nset rotation style [left-right v]\nif <key (left arrow v) pressed?> then\n    point in direction (-90)\n    change [player speed x v] by ((-1) * (FORCE WALK))\nend\nif <key (right arrow v) pressed?> then\n    change [player speed x v] by ((1) * (FORCE WALK))\n    point in direction (90)\nend\nset [player speed x v] to ((Player Speed X) * (0.7))\nchange x by (Player Speed X)\nif <(Player Speed X) > [0]> then\n    move out [-1] [0]\nelse\n    move out [1] [0]\nend\n\ndefine Check Player Touching\nif <touching color (#f2ff00)?> then\n    broadcast (Complete level v) and wait\n    Reset Player Position\n    next backdrop\nend\nif <touching color (#7971ff)?> then\n    set [player speed y v] to [24]\nend\nif <touching color (#b9b9b9)?> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    Reset Player Position\nend\n\ndefine Reset Player Position\nclear graphic effects\ngo to x: (-200) y: (-10)\n\n@Collectable\n\nwhen backdrop switches to [backdrop2 v]\nshow\ngo to x: (-22) y: (78)\n\nwhen flag clicked\nhide\nforever\n    change [color v] effect by (3)\n    if <touching (player v)?> then\n        hide\n    end\nend\n\nwhen I receive [complete level v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (-179) y: (77)\n\n
360° Scrolling Platformer Engine #Games V1.7

Instructions: This is a 360 degree platformer engine which means that you utilize the code and create your own by modifying the ground and scripts, however if you remix please be sure to give credit to what I have done. Thank you all in the scratch community!   Instructions: Arrow Keys

@Stage\n\n@Player\n\ndefine 360°\npoint in direction (90)\ngo to x: (0) y: (150)\nset [y velocity v] to [0]\nforever\n    if <touching (game v)?> then\n        change y by (1)\n    end\n    if <touching (game v)?> then\n        change y by (1)\n    end\n    if <touching (game v)?> then\n        change y by (1)\n    end\n    if <touching (game v)?> then\n        change y by (1)\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (game v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <not <(y position) = [0]>> then\n            set y to (0)\n        end\n    end\n    change y by (-1)\n    if <<touching (game v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <touching color (#b3b3b3)?> then\n        broadcast (Reset v)\n    end\nend\n\nwhen flag clicked\nforever\n    set [y velocity v] to [0]\n    360°\nend\n\n@Game\n\ndefine Set Size (size)\nswitch costume to (size by pass v)\nset size to (size) %\nswitch costume to (size by pass v)\n\nwhen flag clicked\nSet Size [350]\nswitch costume to (level 1 v)\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (-514)\npoint in direction (90)\nforever\n    if <key (left arrow v) pressed?> then\n        turn right (0.5) degrees\n    end\n    if <key (right arrow v) pressed?> then\n        turn left (0.5) degrees\n    end\nend\n\nwhen I receive [reset v]\npoint in direction (90)\n\n@Danger\n\n@Thumbnail\n\nwhen flag clicked\nshow\nwait (1) seconds\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\nclear graphic effects\n\n
Scrolling Platformer Engine #Games

Instructions: Here is My Scrolling Platformer Engine Now out\nLike Fave and Follow If you use Remember: Just an Engine not supposed to be filled with asset's \nWasd or Arrow key's You can chose preferably Have fun\nCrouching and stuff (Down Arrow or s key's)

@Stage\n\n@Player\n\nwhen flag clicked\nset [the level v] to [1]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X velocity) * (0.85))\n    change x by (X velocity)\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 (([y position v] of [ground v]) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> 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 [15]\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 (ground v)?> then\n        change y by ((Y velocity) - ((Y velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        change [the level v] by (1)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (crouch v)\n    else\n        switch costume to (player v)\n    end\nend\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 [scroll v]\nforever\n    go to x: (0) y: (0)\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    if <(y position) > [340]> then\n        go to x: (Unique x position) y: (-500)\n    end\nend\n\nwhen I receive [unique x position v]\nset [unique x position v] to (x position)\n\nwhen flag clicked\ngo to x: (5) y: (2)\nforever\n    switch costume to (The Level)\n    if <(costume [name v]) = [a]> then\n        change x by (([x velocity v] of [player v]) * (-1))\n        change y by (([y velocity v] of [player v]) * (-1))\n        broadcast (Scroll v)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\nwait (1) seconds\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n
Platformer Engine with only 27 blocks! #tutorials #games #lol

Instructions: Wow... #12 in games... there will be a fun game coming out in Jan 10th! :)\nGUYS ITS 27 BLOCKS! THE THUMBNAIL DOESNT COUNT AND THERE IS 1 IN THE PLAYERS TO POSITION THE PLAYER!\nI made a platformer engine using only 27 blocks! :D\nSo... here it is!\nNo Way! @vivmsquash loved AND faved! Tysm! :3\n———————————————————————\nInstructions:\n-Arrow keys to move\n-Cannot wall jump btw\n-Follow me for more stuff (lol)\n-Leave a love and fav\n-And then you get your bed back XD\n———————————————————————\nCredits:\n-@-ElementalOrbs-\n-@Stratfordjames1\n———————————————————————\nYou can use this if you give credit.\n———————————————————————\n#game #tutorial #games #tutorials #lol #comment #one #plus #one #is #three #lol #ok #no #more #tags #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #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#games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #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

@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Monody _feat. Laura Brehm_.mp2 v] until done\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    change [xv v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    change [yv v] by (-1)\n    change x by ((<touching (level v)?> * (xv)) * (-1))\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to (<key (up arrow v) pressed?> * (16))\n    end\nend\n\n@level\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\n