GPT007/Scratch-platformers-10k huggingface dataset:
Troll Platformer

Instructions: |=====< Troll Platformer >=====|\n\nControls: WASD or Arrow Keys to move. Space Bar to jump.\n\nEnjoy :) Try Not To Rage.\n\nOmg this is getting so popular and I didn't even put that much work into it, thank you for all of the support :)\n\n#troll #platformer #trollgame #afoxinasuit

@Stage\n\n@Sprite1\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.25) seconds\nend\n\nwhen flag clicked\nplay sound [bensound-theelevatorbossanova v] until done\nplay sound [Local Forecast - Elevator v] until done\nplay sound [bensound-theelevatorbossanova v] until done\nplay sound [Local Forecast - Elevator v] until done\nplay sound [bensound-theelevatorbossanova v] until done\nplay sound [Local Forecast - Elevator v] until done\nplay sound [bensound-theelevatorbossanova v] until done\nplay sound [Local Forecast - Elevator v] until done\nplay sound [bensound-theelevatorbossanova v] until done\n\n@Thumbnail\n\ngo to x: (25) y: (-10)\nshow\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\n
Platformer

Instructions: I do not know how i have so many views\n79th on trending

@Stage\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nsay [Hello!] for (5) seconds\nsay [this is my game] for (5) seconds\nswitch costume to (costume2 v)\nsay [Trick, it is evil cat who can shape shift] for (5) seconds\nsay [Now i can turn into scratches friend and put him in jail] for (5) seconds\nswitch costume to (gobo-a v)\nbroadcast (message3 v)\n\nwhen I receive [message1 v]\nswitch costume to (costume2 v)\nsay [Ha tricked you] for (5) seconds\nbroadcast (message2 v) and wait\n\nwhen I receive [message4 v]\nsay [MHAMHAMHA] for (5) seconds\n\n@Sprite2\n\n@Cat\n\nwhen I receive [message2 v]\nswitch costume to (cat-a2 v)\nsay [Ahhhhhhhhhhhhhhhhhh] for (5) seconds\nbroadcast (message4 v) and wait\n\nwhen flag clicked\nhide\n\nwhen I receive [message3 v]\nswitch costume to (cat-a v)\nshow\nsay [Hi gobo] for (5) seconds\nbroadcast (message1 v) and wait\n\n
Midnight_Multiplayer Scrolling Platformer

Instructions: -Generic DEMO a multiplayer scrolling platform game-\nInstructions:\nArrow keys WASD or mouse to move\ndon't touch spikes\nEnemies or saws\nYou can buy things from the shop and ya\nCredit's\n@JTHEJET for the engine

@Stage\n\n@TS\n\ngo to x: (7) y: (-1)\n\nwhen flag clicked\nbroadcast (start v)\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Sprite1\n\n@Collectables\n\nwhen flag clicked\nswitch costume to (coin12 v)\nshow\nforever\n    next costume\nend\n\n@Collectables2\n\nwhen flag clicked\nswitch costume to (coin12 v)\nshow\nforever\n    next costume\nend\n\n@Collectables3\n\nwhen flag clicked\nswitch costume to (coin12 v)\nshow\nforever\n    next costume\nend\n\n@Collectables4\n\nwhen flag clicked\nswitch costume to (coin12 v)\nshow\nforever\n    next costume\nend\n\n@Button 2\n\nwhen flag clicked\nshow\ngo to x: (20) y: (16)\nforever\n    set y to ((15) + ((10) * ([cos v] of (((timer) - (3)) * (200)) )))\nend\n\n@Sprite2\n\n@Level 1 1\n\n@Normal\n\n@start\n\nwhen flag clicked\ngo to [front v] layer\nset size to (350) %\nshow\n\nwhen flag clicked\nswitch costume to (flag v)\nforever\n    wait (0.8) seconds\n    next costume\n    wait (0.05) seconds\n    next costume\n    wait (0.05) seconds\n    next costume\nend\n\nwhen flag clicked\nset size to (350) %\nwait (1) seconds\nforever\n    repeat (10)\n        change size by (1)\n    end\n    wait (0.2) seconds\n    repeat (10)\n        change size by (-1)\n    end\nend\n\nwhen this sprite clicked\nif <touching (mouse-pointer v)?> then\n    point towards (center v)\n    turn right (pick random (-45) to (45)) degrees\n    set [v v] to [150]\n    repeat (60)\n        if <<([abs v] of (x position) ) > [196]> or <([abs v] of (y position) ) > [135]>> then\n            change [v v] by (10)\n        end\n        move (v) steps\n        if on edge, bounce\n        change [v v] by (((0) - (v)) / (1.5))\n    end\nend\n\nwhen [timer v] > (0)\nrepeat (30)\n    change x by (((0) - (x position)) / (2))\n    change y by (((0) - (y position)) / (2))\nend\n\n
Green ninja platformer v1.3

Instructions: W,A,S,D, space or keyboard keys to play.\n=========================================\nWelcome to my second platformer, I did this project because in my previous platformer I had a lot of success so I hope this one too\n=========================================\nHere is my frist platformer:\nhttps://scratch.mit.edu/projects/534220889/\nHacked:\nhttps://scratch.mit.edu/projects/538365204/

@Stage\n\n@Ninjan\n\nwhen flag clicked\nset [x speed v] to [0]\nset [y speed v] to [0]\nReset\nforever\n    Movement\n    if <(x position) > [238]> then\n        broadcast (Next Level v)\n        Reset\n    end\nend\n\ndefine Reset\ngo to x: (-178) y: (0)\n\ndefine Movement\nchange [y speed v] by (-1)\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x speed v] by (-1)\n    switch costume to (disfraz4 v)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x speed v] by (1)\n    switch costume to (disfraz3 v)\nend\nset [x speed v] to ((X Speed) * (0.9))\nchange x by (X Speed)\nif <touching (lvls v)?> then\n    change y by (1)\nend\nif <touching (lvls v)?> then\n    change y by (1)\nend\nif <touching (lvls v)?> then\n    change y by (1)\nend\nif <touching (lvls v)?> then\n    change y by (1)\nend\nif <touching (lvls v)?> then\n    change y by (4)\n    change x by ((X Speed) * (-1))\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n        set [y speed v] to [13]\n        if <(X Speed) > [0]> then\n            set [x speed v] to [-10]\n        else\n            set [x speed v] to [10]\n        end\n    else\n        set [x speed v] to [0]\n    end\nend\nchange y by (Y Speed)\nif <touching (lvls v)?> then\n    change y by ((Y Speed) * (-1))\n    set [y speed v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> and <touching (lvls v)?>> then\n    set [y speed v] to [15]\nend\nchange y by (1)\n\nwhen flag clicked\nshow\nforever\n    if <touching (spikes v)?> then\n        Reset\n    end\nend\n\nhide\n\nwhen [m v] key pressed\n\nhide\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (14)\nend\ndelete this clone\n\nshow\n\n@Lvls\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\n\nwhen [m v] key pressed\n\nswitch costume to (disfraz1 v)\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\ngo to x: (0) y: (0)\n\nwhen [m v] key pressed\n\nswitch costume to (disfraz1 v)\n\n@Objeto2\n\nwhen flag clicked\nhide\n\nwhen [m v] key pressed\n\nforever\n\nshow\n\n
Platformer!

Instructions: Gosh, I worked hard on this! \nArrow keys to move and avoid anything that looks dangerous! Hope you like it! 

@Stage\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop3 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite1\n\nwhen I receive [message1 v]\nhide\n\nwhen flag clicked\nshow\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\nend\n\nwhen flag clicked\ngo to x: (-192) y: (-14)\nforever\n    if <key (up arrow v) pressed?> then\n        set rotation style [all around v]\n        repeat (10)\n            change y by (10)\n        end\n        repeat (10)\n            change y by (-10)\n        end\n    end\nend\n\nwhen I receive [message1 v]\nhide\n\nwhen flag clicked\nshow\n\n@Sprite3\n\nwhen flag clicked\nclear graphic effects\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [23 v]\nset [whirl v] effect to (607)\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (message1 v)\n    end\nend\n\nwhen I receive [23 v]\nswitch costume to (costume2 v)\n\n@Sprite4\n\nwhen I receive [ricky v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [ricky v]\n\nwhen I receive [message1 v]\nset size to (100) %\nrepeat until <(Rick) = [1]>\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I receive [message1 v]\nforever\n    if <(Rick) = [1]> then\n        hide\n        set [rick v] to [0]\n        stop all sounds\n    end\nend\n\nwhen I receive [message1 v]\nshow\nstart sound [Rick roll v]\n\n@Sprite5\n\nwhen flag clicked\nshow\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (23 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nshow\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (q23q5 v)\n    end\n    if <not <touching (sprite2 v)?>> then\n        broadcast (445 v)\n    end\nend\n\nwhen I receive [message1 v]\nhide\n\n@Sprite7\n\nwhen flag clicked\nforever\n    hide\n    set [ghost v] effect to (50)\nend\n\nwhen I receive [q23q5 v]\nshow\n\nwhen I receive [445 v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        hide\n    end\nend\n\n
THE CLASSIC PLATFORMER

Instructions: THE CLASSIC PLATFORMER\nARROWS TO MOVE\nI HOPE YOU'LL ENJOY !\nDO BETTER THAN THE WORLD RECORD TIME\nI HOPE YOU'LL LIKE AND FAVE ❤ + ★\nRULES : ENJOY YOURSELF\nOUT 01/ 06/ 2021\nIN THE FEATURE STUDIO 01/06/2021\nAPROXIMAYIVELY 10 HOURS OF WORK\nTHANK YOU FOR 400 + views\n#10 trending\nCREDITS TO ARIANA GRANDE FOR THE SONG :\nNO TEARS LEFT TO CRY

@Stage\n\nwhen flag clicked\nswitch backdrop to (arrière-plan14 v)\nwait (3) seconds\n\n@Button3\n\nwhen flag clicked\nwait (3) seconds\nset volume to (100) %\nchange volume by (-85)\nswitch backdrop to (arrière-plan1 v)\nswitch costume to (button3-a v)\nshow\nclear graphic effects\ngo to x: (-220) y: (-30)\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (button3-a v)\n    else\n        if <key (left arrow v) pressed?> then\n            change [x v] by (-1)\n            switch costume to (button3-a2 v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n        change y by (1)\n        if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n            change y by (1)\n            if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n                change y by (1)\n                if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n                    change y by (1)\n                end\n                if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n                    change y by (1)\n                end\n            end\n        end\n    end\n    if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n        change x by ((x) * (-1))\n        change y by (-5)\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    change [y v] by (-1)\n    change y by (y)\n    if <<touching color (#59c751)?> or <touching color (#6fde66)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#59c751)?> or <touching color (#6fde66)?>> 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 (#000000)?> or <(y position) < [-170]>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            wait (0) seconds\n        end\n        go to x: (-220) y: (-30)\n        repeat (10)\n            change [ghost v] effect by (-10)\n            wait (0) seconds\n        end\n    end\n    if <(x position) > [200]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-220) y: (-30)\n    end\nend\n\nwhen flag clicked\nwait (3) seconds\nreset timer\n\nwhen flag clicked\nplay sound [No tears left to cry v] until done\n\n
Autism - A Platformer

Instructions: ✧･ﾟ: *✧･ﾟAutism - A Platformer ･ﾟ✧*:･ﾟ✧\n\n-ˋˏ ༻✿༺ ˎˊ- Notes -ˋˏ ༻✿༺ ˎ\n○ This is something I made.  I worked very hard on it, and it took me ages, so I hope you like it.\n○ Learn more about autism here:\nhttps://autismspectrumandaspergers.weebly.com\n\n⭑･ﾟﾟ･*:༅｡.｡༅:*ﾟ:*:✼✿　Updates　✿✼:*ﾟ:༅｡.｡༅:*･ﾟﾟ･⭑\nShared | June 2, 2021\nOMG!!! So many loves!!! (18) | June 9, 2021\n4 favorites! | June 9, 2021\n30 hearts!  This is insane! tysm everyone! | July 17, 2021\nCurated by @BlushPink1 | September 6, 2021\nTrying to respond to all the comments (146 messages) | September 7, 2021\n\n»»————-　Instructions　————-««\n○ Use the arrow keys to move\n○ Avoid red\n\n⊱ ────── { Credits } ────── ⊰\n○ Code | NightDestroyer\n○ Art | Autistic-Kitty\n\n⊱ ━━━━.⋅ Tags ⋅.━━━━ ⊰\n○ #Autism\n○ #Platformer\n○ #AutismPlatformer

@Stage\n\nwhen flag clicked\nforever\n    play sound [My Audio Recording 2021-05-24 AM 8-45-38 v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (-191) y: (-87)\nset [xv v] to [0]\nset [falling? v] to [0]\nset [yv v] to [0]\nset size to (33) %\nforever\n    Physics\nend\n\ndefine Physics\nchange [yv v] by (-1)\nchange y by (Yv)\nchange [falling? v] by (1)\nTouch Ground <(Yv) > [0]>\nif <<key (up arrow v) pressed?> and <(falling?) < [3]>> then\n    set [yv v] to [13]\nend\nif <key (left arrow v) pressed?> then\n    change [xv v] by (-1.7)\nend\nif <key (right arrow v) pressed?> then\n    change [xv v] by (1.7)\nend\nset [xv v] to ((Xv) * (0.85))\nchange x by (Xv)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching color (#ffffff)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((Xv) * (-1))\n    change y by ((slope) * (-1))\n    if <key (up arrow v) pressed?> then\n        if <(Xv) > [0]> then\n            set [xv v] to ((-15) * (0.8))\n        else\n            set [xv v] to ((15) * (0.8))\n        end\n        set [yv v] to ((15) * (0.8))\n    end\nend\nif <touching color (#00ffff)?> then\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [7]\n    else\n        set [yv v] to [-1.5]\n    end\nend\nif <touching color (#ff0000)?> then\n    go to x: (-191) y: (-87)\nend\nif <(x position) > [238]> then\n    switch backdrop to (next backdrop v)\n    go to x: (-191) y: (-87)\nend\n\ndefine Touch Ground <up?>\nrepeat until <not <touching color (#ffffff)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        set [falling? v] to [0]\n        change y by (1)\n    end\n    set [yv v] to [0]\nend\n\n@Screenshot 2021-06-06 at 8\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n
Basketball A Platformer  #all#music#Games#art

Instructions: This is for HenryWolfe's school competition\n\nBasketball, a platformer\n\nthere are about 20-21 levels :)\n\narrow keys or WASD to move\ndont touch spikes

@Stage\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Player\n\nwhen flag clicked\npoint in direction (90)\nset [deaths v] to [0]\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n        turn left (5) degrees\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n        turn right (5) degrees\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 ((X velocity) * (-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    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        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\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 [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (20)\n\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\nforever\n    if <<touching (saw v)?> or <touching (danger v)?>> then\n        change [deaths v] by (1)\n        broadcast (Reset v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [The Script- Hall v] until done\nend\n\n@danger\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (The Level)\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n
Platformer


@Stage\n\n@Thumb\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Sprite1\n\nwhen flag clicked\nsay [Hello!] for (2) seconds\nsay [I Am A Platform And My name is er] for (2) seconds\nsay [I dont Know Y I was Named er] for (2) seconds\nsay [Do u like my name] for (2) seconds\nsay [Ehhh] for (2) seconds\nsay [Gtg BYeeeeee]\n\n
Pride Platformer!

Instructions: Use the arrow keys to move the flag. Click the flag to change it. This is the story of how I came out to my family!

@Stage\n\n@Flag\n\ndefine omega\nif <not <touching (ground v)?>> then\n    switch costume to (join [ball] (<key (right arrow v) pressed?> + (<key (left arrow v) pressed?> * (-1))))\n    change [xv v] by ((<key (left arrow v) pressed?> * (-3)) + (<key (right arrow v) pressed?> * (3)))\nend\nset [xv v] to ((Xv) * (0.7))\nchange x by (Xv)\ndetect slope: (8) (20) (13)\nchange [yv v] by (-1)\nchange y by (Yv)\nif <touching (ground v)?> then\n    out2 <(Yv) > [0]>\nend\nchange y by (-1)\nif <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (space v) pressed?>>> then\n    start sound [Jump v]\n    set [yv v] to [15]\nend\nif <touching (sprite4 v)?> then\n    set [yv v] to [18]\nend\nchange y by (1)\nif <<touching (bad v)?> or <(y position) < [-178]>> then\n    go to x: (-220) y: (0)\n    point in direction (90)\n    set [yv v] to [0]\n    set [xv v] to [0]\nend\nif <(x position) > [239]> then\n    change [level v] by (1)\n    hide\n    go to x: (-220) y: (0)\n    point in direction (90)\n    set [yv v] to [0]\n    set [xv v] to [0]\n    broadcast (message1 v) and wait\n    show\nend\n\nwhen flag clicked\nbroadcast (del v)\nset [yv v] to [0]\nset [xv v] to [0]\nset [level v] to [1]\nswitch costume to (gay-pride v)\nset size to (10) %\npoint in direction (90)\nshow\nset [ghost v] effect to (0)\ngo to x: (-211) y: (0)\nforever\n    omega\nend\n\ndefine out <boolean1>\nset [i v] to [0]\nif <boolean1> then\n    repeat until <<not <touching (ground v)?>> or <(i) > [8]>>\n        change [i v] by (1)\n        change x by (-1)\n    end\nelse\n    if <[0] > (Xv)> then\n        repeat until <<not <touching (ground v)?>> or <(i) > [8]>>\n            change [i v] by (1)\n            change x by (1)\n        end\n    end\nend\n\ndefine out2 <boolean1>\nset [i v] to [0]\nif <boolean1> then\n    repeat until <<not <touching (ground v)?>> or <(i) > [24]>>\n        change [i v] by (1)\n        change y by (-1)\n    end\n    set [yv v] to [-1]\nelse\n    repeat until <<not <touching (ground v)?>> or <(i) > [24]>>\n        change [i v] by (1)\n        change y by (1)\n    end\n    set [yv v] to [0]\nend\n\ndefine detect slope: (maxslope) (walljump) (jumpheight)\nset [i v] to [0]\nrepeat until <<(i) > (maxslope)> or <not <touching (ground v)?>>>\n    change [i v] by (1)\n    change y by (1)\nend\nset [i2 v] to (i)\nif <touching (ground v)?> then\n    out <(Xv) > [0]>\n    change y by ((0) - (i2))\n    if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n        start sound [Jump v]\n        if <(Xv) > [0]> then\n            set [xv v] to ((0) - (walljump))\n        else\n            set [xv v] to (walljump)\n        end\n        set [yv v] to (jumpheight)\n    else\n        set [xv v] to [0]\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Bad\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (level)\nend\n\n
Starter Project Scrolling Platformer Game _ Scratch Scrolling Platformer copy copy

Instructions: Hi Guys,\nThis is the Starter Project. No need to upload or create variables.\nif you want to learn how to make this game, you can go to our YouTube channel \nSL SMART MIND.\nhttps://www.youtube.com/channel/UC96UGbXH7n_ZVq6MnwP9Kbg\nLOV,FAV,FOLLOW

@Stage\n\n@Laggy\n\n@Player\n\n@Platforms\n\n@Danger\n\n@Colectables\n\n@Exit\n\n@Saw\n\n@Play\n\n@Words\n\n@You Win\n\n@Thumbnail\n\n@Trampoline\n\n