GPT007/Scratch-platformers-10k huggingface dataset:
Kawaii sushi platformer 


@Stage\n\nwhen flag clicked\nforever\n    play sound [Gake_no_Ue_no_Ponyo_Music_Box.mp3 v] until done\nend\n\n@Sushi\n\nwhen flag clicked\ngo to x: (-204) y: (-104)\nset [ghost v] effect to (0)\nswitch backdrop to (backdrop1 v)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#99ffbb)?> then\n        change y by (1)\n        if <touching color (#99ffbb)?> then\n            change y by (1)\n            if <touching color (#99ffbb)?> then\n                change y by (1)\n                if <touching color (#99ffbb)?> then\n                    change y by (1)\n                    if <touching color (#99ffbb)?> then\n                        change y by (1)\n                        if <touching color (#99ffbb)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#99ffbb)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#99ffbb)?> then\n        if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ffe9cc)?> or <touching color (#ccffdd)?>> then\n        set [deathx v] to (x position)\n        set [deathy v] to (y position)\n        repeat (50)\n            change [ghost v] effect by (2)\n            go to x: (DeathX) y: (DeathY)\n        end\n        go to x: (-204) y: (-104)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [243]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-204) y: (-104)\n    end\nend\n\n@Thumb\n\nwhen flag clicked\nset x to (0)\nset y to (0)\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\n\n
No Variables Platformer

Instructions: Update 20 Nov 2019: Yeah! This project was added to @s_federici's studio "No variables, thanks!", which was my goal with the project:\nhttps://scratch.mit.edu/studios/34043/\n\nAll "art" and code by me (@kriblo). \n\nAs a game, it's not very challenging, or indeed fun. \n\n#interactive #examples\n#description(An interactive demo of how a platformer could be constructed without using variables or lists. Just for fun.)

@Stage\n\n@ground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume0 v)\n\nwhen I receive [next level v]\nnext costume\n\n@lava\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume0 v)\n\nwhen I receive [next level v]\nnext costume\n\n@player\n\nwhen flag clicked\ngo to [back v] layer\nhide\nwait until <key (any v) pressed?>\nwait until <not <key (any v) pressed?>>\nbroadcast (Next level v)\nshow\n\nwhen I receive [jump v]\nJump\nrepeat (20)\n    if < (costume [name v]) contains [jump]?> then\n        Jump move\n        wait (0.01) seconds\n    end\nend\n\ndefine Jump move\nif <not <touching (ground v)?>> then\n    change y by (20)\n    if <touching (ground v)?> then\n        change y by (-20)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-220) y: (50)\nforever\n    Fall\n    if <key (right arrow v) pressed?> then\n        Move right\n    else\n        if <<key (left arrow v) pressed?> and <not <key (right arrow v) pressed?>>> then\n            Move left\n        end\n    end\n    if <<key (up arrow v) pressed?> and < (costume [name v]) contains [walk]?>> then\n        switch costume to (jump v)\n        broadcast (Jump v)\n    end\n    if <touching (lava v)?> then\n        go to x: (-220) y: (50)\n    end\n    if <(x position) > [230]> then\n        broadcast (Next level v)\n    end\n    wait (0.01) seconds\nend\n\ndefine Fall\nrepeat (round ((timer) * (50)))\n    if <not <touching (ground v)?>> then\n        change y by (-1)\n        if <not < (costume [name v]) contains [jump]?>> then\n            switch costume to (fall v)\n        end\n    end\nend\nif <touching (ground v)?> then\n    if <not < (costume [name v]) contains [jump]?>> then\n        repeat until <not <touching (ground v)?>>\n            change y by (1)\n        end\n        reset timer\n    end\n    switch costume to (walk v)\nelse\n    if <not < (costume [name v]) contains [jump]?>> then\n        switch costume to (fall v)\n    end\nend\n\ndefine Move left\nchange x by (-5)\nif <touching (ground v)?> then\n    change x by (5)\nend\n\ndefine Move right\nchange x by (5)\nif <touching (ground v)?> then\n    change x by (-5)\nend\n\ndefine Jump\nchange y by (10)\nif <touching (ground v)?> then\n    change y by (-10)\nend\n\n
Platformer Map/Contest

Instructions: RESULTS:  https://scratch.mit.edu/projects/355591300/\n

@Stage\n\n@platformer (2)\n\nwhen flag clicked\nshow\nswitch costume to (platformer \(2\) v)\ngo to x: (0) y: (0)\nset size to (50) %\nforever\n    if <<key (space v) pressed?> or <mouse down?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        next costume\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nhide\n\n@platformer (3)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (50) %\nhide\n\nshow\n\n
Moon (a platformer)

Instructions: hello everyone, and welcome to Moon! this is a platformer that i made all by myself and this took forever, so i hope you like it! \n-----------------------------How to play-----------------------------------\n- use the arrow keys to move\n- dont touch the red!\n- press the 'skip' button to go to the next level if it is too hard\n-full screen NOT recommended!\n- have fun!

@Stage\n\nwhen flag clicked\nforever\n    play sound [vexento-masked-heroes-1-AHM56EBq6 \(1\) v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [start v]\nswitch backdrop to (space v)\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\nwait (1.5) seconds\ngo to x: (-200) y: (-70)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#626262)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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 (#636363)?> 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?> and <touching color (#636363)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff6666)?> then\n        go to x: (-200) y: (-70)\n    end\n    if <<(x position) = [351]> or <(x position) > [340]>> then\n        broadcast (next level v)\n        go to x: (-139) y: (-96)\n    end\n    if <touching color (#f276c8)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#636363)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n        else\n            set [y v] to [-1]\n        end\n        if <key (down arrow v) pressed?> then\n            set [y v] to [-5]\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <touching color (#ff6666)?> then\n    end\nend\n\n@Sprite4\n\nwhen I receive [next level v]\nnext costume\nwait (1) seconds\n\nwhen flag clicked\nswitch costume to (costume4 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen this sprite clicked\nbroadcast (next level v)\nbroadcast (start v)\n\n@Sprite2\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (start v)\nhide\n\n
Illusion ~ A Platformer

Instructions: Lmao first platformer I ever made\n\nThis was originally shared like two years ago, I reshared it for a reason I can't remember.\n\nArrow keys to move.\n\nMusic: Faded - Alan Walker

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Alan Walker - Faded v] until done\nend\n\nwhen I receive [new level  v]\nnext backdrop\n\nwhen backdrop switches to [backdrop15 v]\nbroadcast (End v)\n\n@Levels\n\nwhen I receive [new level  v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [end v]\nforever\n    switch costume to (costume15 v)\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-229) y: (-73)\ngo to x: (-229) y: (-80)\n\nwhen flag clicked\nshow\nset [yv v] to [0]\ngo to x: (-229) y: (-73)\nset [xv v] to [0]\nforever\n    if <touching color (#ff1d1d)?> then\n        set [yv v] to [0]\n        go to x: (-177) y: (94)\n        set [xv v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching color (#050052)?> then\n        change y by (1)\n        if <touching color (#050052)?> then\n            change y by (1)\n            if <touching color (#050052)?> then\n                change y by (1)\n                if <touching color (#050052)?> then\n                    change y by (1)\n                    if <touching color (#050052)?> then\n                        change y by (1)\n                        if <touching color (#050052)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [9]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching color (#050052)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#050052)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        set x to (-229)\n        set y to (-73)\n        broadcast (New Level  v)\n    end\n    if <touching color (#ff1d1d)?> then\n        go to x: (-229) y: (-73)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [end v]\ngo to x: (3) y: (-78)\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\n\n
Nitro Type: A Platformer

Instructions: Arrow keys to move\nGreen Bad\nBlue Good\nAll levels are possible, you might need to look around to find the blue\n

@Stage\n\n@NitroType\n\nwhen flag clicked\nswitch costume to (download \(2\) v)\nswitch backdrop to (backdrop1 v)\nset [level v] to [1]\nhide variable [x v]\nhide variable [y v]\nset [y v] to [0]\nset [x v] to [0]\nshow\ngo to x: (151) y: (-91)\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\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 x by ((X) * (-1))\n                        change y by (-4)\n                        if <key (up arrow v) pressed?> then\n                            if <(X) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [10]\n                        else\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#000000)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#00ffff)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-215) y: (-70)\n        change [level v] by (1)\n    end\n    if <(y position) < [-178]> then\n        go to x: (-215) y: (-70)\n    end\n    if <touching color (#29ff00)?> then\n        go to x: (-215) y: (-70)\n    end\nend\n\nwhen [right arrow v] key pressed\nswitch costume to (screenshot 2020-01-30 at 10 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (screenshot 2020-01-30 at 2 v)\n\nwhen flag clicked\nforever\n    play sound [Video Game 2 v] until done\nend\n\n
bad a platformer

Instructions: follow m y go  od friend @-ClickerBoi-\n8 leve l s\nth a   nk s f  or 10  00 vi e wws\nplz do  nt comment ad d mo  re level  s

@Stage\n\nwhen flag clicked\nforever\n    play sound [Mystery v] until done\nend\n\nchange [color v] effect by (25)\n\nset [mosaic v] effect to (0)\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset x to (-200)\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-6)\n                                if <touching color (#000008)?> then\n                                    change y by (0.5)\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <[235] < (x position)> then\n        next backdrop\n        set x to (-200)\n    end\n    if <touching color (#ff0000)?> then\n        set y to (-20)\n        set x to (-200)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\n
Bleak - A Platformer

Instructions: You have been sent to explore a barren wasteland planet.\nYou can wall jump.\nArrow keys or WAD to move.\n

@Stage\n\n@Player\n\ndefine Platform\nif on edge, bounce\nchange [y v] by (-0.5)\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x v] by (-1)\nend\nif <<key (d v) pressed?> or <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 (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                set [y v] to [10]\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                    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 (w v) pressed?> or <key (up arrow v) pressed?>>> then\n    set [y v] to [10]\nend\nchange y by (0.5)\nif <touching color (#ff3636)?> then\n    go to x: (-200) y: (-50)\nend\nif <touching color (#003fff)?> then\n    set [y v] to [16]\nend\n\nwhen flag clicked\nset [y v] to [0]\ngo to x: () y: (-50)\nforever\n    Platform\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset volume to (200) %\nforever\n    play sound [28. Hadopelagic Pressure.mp3 v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        next backdrop\n        broadcast (message1 v)\n        go to x: (-200) y: (-50)\n        set [y v] to [0]\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Portal\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nforever\n    if <(backdrop [number v]) = [10]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [message1 v]\nnext costume\n\n
Earth Platformer

Instructions: Instructions\nArrow keys for moving\nPress R to restart the level if you are stuck

@Stage\n\n@Objeto1\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (play v)\n\nwhen I receive [play v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nforever\n    play sound [Would You Be So Kind Lyrics - dodie \(YOU EP Official Audio\).mp3 v] until done\nend\n\nwhen flag clicked\nshow\nwait (0.1) seconds\ngo to [front v] layer\nwait (0.1) seconds\ngo [backward v] (1) layers\n\nwhen I receive [play v]\nhide\n\n@balloon2\n\nwhen I start as a clone\nshow\nrepeat until <(y position) > [179]>\n    change y by (15)\n    wait (0.02) seconds\nend\ndelete this clone\n\nwhen flag clicked\nhide\ngo to x: (-108) y: (-193)\nhide\nforever\n    wait (0.1) seconds\n    next costume\n    set x to (pick random (-240) to (240))\n    create clone of (_myself_ v)\nend\n\n@Sprite4\n\nwhen I receive [next level v]\ngo to x: (-196) y: (-17)\n\nwhen I receive [play v]\ngo to [front v] layer\ngo to x: (-196) y: (-17)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (1)\n    end\n    if <touching color (#56a33c)?> then\n        change y by (-4)\n        change x by ((x) * (1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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 (#56a33c)?> 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?> and <touching color (#56a33c)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff6060)?> then\n        go to x: (-196) y: (-17)\n    end\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (next level v)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-192) y: (-102)\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\n