GPT007/Scratch-platformers-10k huggingface dataset:
Blue Platformer 3

Instructions: ㅡㅡㅡㅡㅡㅡㅡㅡBlue Platformer 3ㅡㅡㅡㅡㅡㅡㅡㅡ\n\nHello.\nWelcome to Blue Platformer 3.\n\n==========Control==========\n- WASD or arrow keys to control.\n- Avoid lava and spikes.\n\n==========Differences==========\n- Better level quality\n- Move creative levels\n- Longer levels.\n\n==========Blue Platformer Series==========\nPart 1: https://scratch.mit.edu/projects/567950772/\nPart 2: https://scratch.mit.edu/projects/574931445/\n\n\n0.5k+ views!!!\n30+ loves!!!\n\n\nIf you like this project, please lov, fav and follow me!!!

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@Player\n\nwhen flag clicked\nset [gravity v] to [-1.5]\nset [acceleration v] to [1.5]\nset [resistence v] to [0.9]\nset [jump force v] to [14]\nset [speed y v] to [0]\ngo to x: (-200) y: (80)\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(falling) < [3]> then\n            set [speed y v] to (jump force)\n        end\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [speed x v] by (acceleration)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [speed x v] by ((0) - (acceleration))\n    end\n    set [speed x v] to ((speed x) * (resistence))\n    change [speed y v] by (gravity)\n    Move-in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\nend\n\ndefine Move-in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#000000)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#000000)?> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <[240] < (x position)> then\n        broadcast (next level v)\n        set [speed y v] to [0]\n        set [speed x v] to [0]\n        go to x: (-200) y: (80)\n    end\n    if <touching (lava v)?> then\n        set [speed y v] to [0]\n        set [speed x v] to [0]\n        go to x: (-200) y: (80)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Super World v] until done\nend\n\n@Lava\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n
プラットフォーマー　桜　〜Cherry blossoms Platformer〜

Instructions: Move with arrow keys and WASD keys\n\nLet's explore the world of cherry blossoms!\n\n\n矢印キー・WASDキーで移動\n\n桜の世界を冒険しよう！

@Stage\n\nwhen flag clicked\nforever\n    play sound [æ¡è±æ£ãé_2 v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (-204) y: (-65)\nset [y移動 v] to [0]\nforever\n    重力\n    左右移動\n    ジャンプ\n    if <<touching (_edge_ v)?> and <[242] < (x position)>> then\n        broadcast (次 v)\n    end\n    if <touching (針 v)?> then\n        go to x: (-204) y: (-65)\n    end\nend\n\ndefine 重力\nchange y by ((-1) * (y移動))\nif <touching (スプライト1 v)?> then\n    if <(y移動) > [0]> then\n        repeat until <not <touching (スプライト1 v)?>>\n            change y by (1)\n        end\n        set [着いてるかの判定 v] to [0]\n    else\n        repeat until <not <touching (スプライト1 v)?>>\n            change y by (-1)\n        end\n        set [y移動 v] to [0]\n    end\n    set [y移動 v] to [0]\nelse\n    change [y移動 v] by (1)\n    set [着いてるかの判定 v] to [1]\nend\n\ndefine ジャンプ\nif <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(着いてるかの判定) = [0]> then\n        change [y移動 v] by (-15)\n    end\nend\n\ndefine 左右移動\nset rotation style [left-right v]\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <not <touching (スプライト1 v)?>>> then\n    point in direction (90)\n    change [ダッシュ v] by (1)\n    if <touching (スプライト1 v)?> then\n        repeat until <not <touching (スプライト1 v)?>>\n            set [ダッシュ v] to [-1]\n            move (ダッシュ) steps\n        end\n    end\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> and <not <touching (スプライト1 v)?>>> then\n    point in direction (-90)\n    change [ダッシュ v] by (-1)\n    if <touching (スプライト1 v)?> then\n        repeat until <not <touching (スプライト1 v)?>>\n            set [ダッシュ v] to [-1]\n            move (ダッシュ) steps\n        end\n    end\nend\nchange x by (ダッシュ)\nset [ダッシュ v] to ((ダッシュ) * (0.9))\n\nwhen I receive [次 v]\npoint in direction (90)\ngo to x: (-204) y: (-65)\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [次 v]\nnext costume\n\nwhen I receive [開始 v]\nswitch costume to (コスチューム1 v)\n\n@針\n\nwhen flag clicked\nbroadcast (開始 v)\nswitch costume to (無 v)\n\nwhen I receive [次 v]\nnext costume\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (-6) y: (4)\nset [ghost v] effect to (100)\n\n
BLOCKS_1 PLATFORMER #Games #Platformer #ALL

Instructions: I created this game for you and ALL\n\nI LIKE THIS GAME\n\nKeys to move. Enjoy the game\nAdded song and updated songs

@Stage\n\n@9e6101ec9990be29bec200001fa19ab6\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [11]> then\n        show\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\n@eeddd97f7b47fd5c02a1d4a26f9a2ebf\n\nwhen flag clicked\nhide\n\n@緑ブロック\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nset [level v] to [1]\ngo to [back v] layer\nforever\n    switch costume to (join (letter (1) of (level)) (letter (2) of (level)))\nend\n\n@スパイキー\n\nwhen flag clicked\nset size to (100) %\ngo to x: (10) y: (-4)\nhide\nforever\n    if <<(level) = [3]> or <<(level) = [4]> or <<(level) = [6]> or <<(level) = [8]> or <(level) = [10]>>>>> then\n        go to [back v] layer\n        if <(level) = [3]> then\n            go to x: (11) y: (-4)\n            show\n            switch costume to (3 v)\n        end\n        if <(level) = [4]> then\n            go to x: (-51) y: (80)\n            show\n            switch costume to (4 v)\n        end\n        if <(level) = [6]> then\n            go to x: (64) y: (0)\n            show\n            switch costume to (6 v)\n        end\n        if <(level) = [8]> then\n            go to x: (64) y: (0)\n            show\n            switch costume to (8 v)\n        end\n        if <(level) = [10]> then\n            go to x: (64) y: (0)\n            show\n            switch costume to (10 v)\n        end\n    else\n        hide\n    end\nend\n\n@Player\n\nwhen flag clicked\nshow\nrstart\nforever\n    sous\nend\n\ndefine rstart\nset size to (80) %\ngo to x: (-200) y: (-70)\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\n\ndefine sous\nchange [y v] by (-1)\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>>> then\n    change [x v] by (1)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n    change [x v] by (-1)\n    point in direction (-90)\nend\nset [x v] to ((X) * (0.88))\nchange x by (X)\nrepeat (8)\n    if <touching (緑ブロック v)?> then\n        change y by (1.1)\n    end\nend\nif <touching (緑ブロック v)?> then\n    change x by (() - (X))\n    change y by (-8.8)\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n        set [y v] to [11]\n        set [x v] to ((7) - ((14) * <[0] < (X)>))\n    end\nend\nchange y by (Y)\nif <touching (緑ブロック v)?> then\n    change y by (() - (Y))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <touching (緑ブロック v)?> then\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n        set [y v] to [13]\n    end\nend\nchange y by (1)\nif <[235] < (x position)> then\n    rstart\n    change [level v] by (1)\nend\nif <<(y position) < [-180]> or <touching color (#b30000)?>> then\n    rstart\nend\n\n@song\n\nwhen flag clicked\nhide\n\n
Grassland || A Platformer #Games #All #Stories #Trending

Instructions: ★How to play★ ____ Very Generic \nArrow keys to move \nAvoid red spikes\nYou can wall jump\nBounce Pad Jumps you higher\nAll Levels are possible!\n\n\n

@Stage\n\n@bounce pads\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nshow\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\n@Spike\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nshow\n\n@ground\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nhide\n\n@Player\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 (ground v)?>>>\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 (water v)?> 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 (bounce pads v)?> then\n    set [yv v] to [22]\nend\nif <touching (spike v)?> then\n    go to x: (-191) y: (-87)\nend\nif <(x position) > [238]> then\n    broadcast (message1 v)\n    go to x: (-191) y: (-87)\nend\n\ndefine Touch Ground <up?>\nrepeat until <not <touching (ground v)?>>\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\nwhen flag clicked\nshow\n\n@Music\n\nwhen flag clicked\nstart sound [Time Lapse v]\n\n
Platformer BT21

Instructions: Use the arrows

@Stage\n\n@Objeto1\n\nwhen I start as a clone\nswitch costume to (disfraz2 v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-9)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    set [x vel v] to [0]\n    set [y vel v] to [0]\n    set [jump v] to [0]\n    go to x: (-210) y: (-55)\n    repeat until <<(x position) > [240]> or <touching (danger v)?>>\n        change [x vel v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\n        set [x vel v] to ((X Vel) * (0.9))\n        create clone of (_myself_ v)\n        change x by (round (X Vel))\n        if <touching (platform v)?> then\n            change x by (round ((X Vel) * (-1)))\n            if <key (up arrow v) pressed?> then\n                if <(X Vel) > [0]> then\n                    set [x vel v] to [-8]\n                else\n                    set [x vel v] to [8]\n                end\n                set [jump v] to [0]\n            else\n                set [x vel v] to [0]\n            end\n        end\n        change [y vel v] by (-1)\n        change y by (Y Vel)\n        if <touching (platform v)?> then\n            change y by ((Y Vel) * (-1))\n            if <(Y Vel) < [0]> then\n                set [jump v] to [0]\n            end\n            set [y vel v] to [0]\n        end\n        if <key (up arrow v) pressed?> then\n            if <(Jump) = [0]> then\n                set [y vel v] to [15]\n                set [jump v] to [1]\n            end\n        end\n    end\n    if <(x position) > [240]> then\n        broadcast (Next level v)\n    end\nend\n\n\n\nwhen flag clicked\nforever\n    play sound [title v] until done\nend\n\n@Danger\n\nwhen flag clicked\nswitch costume to (danger v)\n\nwhen I receive [next level v]\nnext costume\n\n@Platform\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Objeto2\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    wait (pick random (3) to (5)) seconds\n    switch costume to (button3-b v)\n    go to x: (0) y: (105)\n    show\n    go to [front v] layer\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) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\n
Water~a~Platformer

Instructions: WASD or arrow keys to move.\n\nIt can be a bit trickier to play this.

@Stage\n\n@Player\n\nwhen flag clicked\ngo to x: (-216) y: (-4)\nswitch costume to (costume1 v)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.87))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (-6)\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                                    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 (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (level v)?>> then\n        set [y v] to [13.2]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [236]> then\n        broadcast (Next Level v)\n        go to x: (-216) y: (-64)\n    end\n    if <touching (danger v)?> then\n        go to x: (-216) y: (-64)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Magic v] until done\nend\n\n@Level\n\nwhen flag clicked\ngo to x: (2) y: (-4)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Danger\n\nwhen flag clicked\ngo to x: (2) y: (-4)\nforever\n    switch costume to ([costume # v] of [level v])\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n
Christmas A Platformer || #Games #All

Instructions: Christmas Is coming soon, So I make this project!\n\nIf you like it proposed it to be featured!\nAds will be deleted!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Vexento - Sons of Norway v] until done\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\n@Player\n\nwhen flag clicked\npoint in direction (90)\nset [speed x v] to [0]\nset [gravity v] to [-1]\nset [speed y v] to [0]\ngo to x: (-156) y: (50)\nforever\n    if <key (up arrow v) pressed?> then\n        if <(falling) < [15]> then\n            set [speed y v] to [12]\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-1.5)\n        change [camera x v] by (-6)\n        change [speed v] by (-6)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (1.5)\n        change [camera x v] by (6)\n        change [speed v] by (6)\n    end\n    set [speed x v] to ((speed x) * (0.8))\n    change [speed y v] by (GRAVITY)\n    Move in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\nend\n\ndefine Move in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    if <touching color (#ffffff)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#ffffff)?> then\n        set y to (last value)\n        set [speed y v] to [0]\n        set [falling v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        go to x: (-150) y: (50)\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        if <(falling) < [13]> then\n            set [speed y v] to [12]\n        end\n    end\n    if <mouse down?> then\n        change [speed x v] by (1.5)\n    end\nend\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (1) to (5)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (4) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (0.5) to (5)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (6) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n
colours -- a platformer #games #all

Instructions: wasd or arrow keys to move \none of my better ones so pls try it :D\nHELP ME GET THIS ON TRENDING\nput this in all ur studios

@Stage\n\nwhen flag clicked\nforever\n    play sound [Alan Walker, AuRa, Tomine Harket - Darkside v] until done\nend\n\n@guy\n\ndefine move in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last val v] to (x position)\n    change x by ((spd x) / (steps))\n    if <touching (lvl v)?> then\n        set x to (last val)\n        set [spd x v] to [0]\n    end\n    set [last val v] to (y position)\n    change y by ((spd y) / (steps))\n    if <touching (lvl v)?> then\n        set y to (last val)\n        if <(spd y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [spd y v] to [0]\n    end\nend\n\nwhen flag clicked\nbroadcast (lets go bros v)\n\nwhen I receive [lets go bros v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume5 v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (danger v)?> then\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        go to x: (-204) y: (-118)\n        wait (0.3) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) = [-184]> then\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        go to x: (-204) y: (-118)\n        wait (0.3) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [244]> then\n        broadcast (change scene v)\n    end\nend\n\nwhen I receive [go to v]\ngo to x: (-204) y: (-52)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\nset [scene# v] to [1]\nset [acceleration v] to [8]\nset [gravity v] to [-1.15]\nset [jump force v] to [12]\nset [spd y v] to [0]\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\ngo to x: (-204) y: (-52)\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <(falling) < [3]> then\n            set [spd y v] to (jump force)\n        end\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        set [spd x v] to [-8]\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        set [spd x v] to [8]\n    end\n    set [spd x v] to ((spd x) * (0.8))\n    change [spd y v] by (gravity)\n    move in steps (([abs v] of (spd x) ) + ([abs v] of (spd y) ))\nend\n\n@lvl\n\nwhen flag clicked\nswitch costume to (scene1 v)\n\nwhen I receive [change scene v]\nnext costume\nbroadcast (go to v)\n\n@tb\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@danger\n\nwhen flag clicked\nshow\npoint in direction (90)\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen I receive [change scene v]\nnext costume\n\n@text\n\nwhen flag clicked\nhide\n\nwhen I receive [change scene v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\n
Scratch Cat: A Platformer v1.0

Instructions: The first version of SCRATCH CAT: A PLATFORMER\nMore versions will be released soon..\nArrow keys or WASD to move.\n:D\nv2.0(Part-2): https://scratch.mit.edu/projects/623989804

@Stage\n\n@Player\n\nwhen flag clicked\nset [gravity v] to [-1.5]\nset [jump force v] to [13]\nset [acceleration v] to [1.5]\nset [resistance v] to [0.8]\nset [speed y v] to [0]\ngo to x: (-150) y: (50)\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(falling) < [3]> then\n            set [speed y v] to [13]\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [speed x v] by ((0) - (acceleration))\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [speed x v] by (acceleration)\n    end\n    set [speed x v] to ((SPEED X) * (RESISTANCE))\n    change [speed y v] by (GRAVITY)\n    Move- in steps (([abs v] of (speed y) ) + ([abs v] of (SPEED X) ))\nend\n\ndefine Move- in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((SPEED X) / (steps))\n    if <touching color (#9300ff)?> then\n        set x to (Last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#9300ff)?> then\n        set y to (Last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\n@Poop On Me\n\nwhen flag clicked\nhide\n\n