GPT007/Scratch-platformers-10k huggingface dataset:
Glow | A Platformer #games #all

Instructions: ɴᴇᴏɴ ɢʟᴏᴡ | ᴀ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ\n-\nʙʏ @TheFallenArise\n\nᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ɴᴇᴏɴ ɢʟᴏᴡ ʙʏ ᴛʜᴇꜰᴀʟʟᴇɴᴀʀɪꜱᴇ, ᴀ ɢᴇɴᴜɪɴᴇ Qᴜᴀʟɪᴛʏ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ. ᴍᴀᴅᴇ ꜰᴏʀ ᴛʜᴇ ꜱᴄʀᴀᴛᴄʜᴛᴏʙᴇʀ ꜱᴛᴜᴅɪᴏ. ᴍᴏᴠᴇ ᴡɪᴛʜ ᴀʀʀᴏᴡ ᴋᴇʏꜱ. ᴀᴠᴏɪᴅ ꜱᴘɪᴋᴇꜱ! ɪꜰ ʏᴏᴜ ʟɪᴋᴇ ɪᴛ, ᴄᴏɴꜱɪᴅᴇʀ ᴅʀᴏᴘᴘɪɴɢ ᴀ ꜰᴏʟʟᴏᴡ, ᴀ ꜱᴛᴀʀ, ᴀɴᴅ ᴀ ʜᴇᴀʀᴛ.\n\nʜᴀᴠᴇ ᴀ ɢᴏᴏᴅ ᴅᴀʏ! \n\n-ᴛʜᴇꜰᴀʟʟᴇɴᴀʀɪꜱᴇ\n\n#scratch #platformer #glow #quality\n

@Stage\n\n@Character\n\nwhen flag clicked\nGame Loop\n\ndefine Game Loop\nSet Variables\nwait (3) seconds\nset [brightness v] effect to (0)\nswitch costume to (square1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-230) y: (180)\nset [y vel v] to [0]\nforever\n    go to [front v] layer\n    if <<key (up arrow v) pressed?> and <[1] > (on ground)>> then\n        set [on ground v] to [no]\n        set [y vel v] to (jump height)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (x speed)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by ((x speed) - ((x speed) * (2)))\n    end\n    change [y vel v] by (gravity)\n    Move Vertically (y vel)\n    set [x vel v] to ((x vel) * (0.9))\n    Move Horizontally (x vel)\n    Sense\n    create clone of (_myself_ v)\nend\n\ndefine Move Vertically (y)\nchange [on ground v] by (1)\nrepeat (10)\n    set [original y v] to (y position)\n    change y by ((y) / (10))\n    if <touching (ground v)?> then\n        set y to (original y)\n        if <(y vel) < [0]> then\n            set [on ground v] to [0]\n            set [y vel v] to [0]\n        else\n            set [y vel v] to [0]\n        end\n    end\nend\n\ndefine Move Horizontally (x)\nrepeat (10)\n    set [original x v] to (x position)\n    change x by ((x) / (10))\n    if <touching (ground v)?> then\n        set x to (original x)\n        set [x vel v] to [0]\n    end\nend\n\ndefine Set Variables\nset [friction v] to [0.9]\nset [gravity v] to [-1]\nset [x speed v] to [1]\nset [jump height v] to [15]\nset [level v] to [1]\n\ndefine Reset (direction)\nset y to (180)\nif <(direction) = [reset]> then\n    set x to (-230)\nelse\n    set x to (230)\nend\n\ndefine Sense\nif <[230] < (x position)> then\n    change [level v] by (1)\n    Reset [reset]\nend\nif <(y position) < [-170]> then\n    Reset [reset]\nend\nif <touching (danger v)?> then\n    Reset [reset]\nend\n\nwhen I start as a clone\nswitch costume to (square2 v)\ngo to [back v] layer\nset [ghost v] effect to (85)\nrepeat (100)\n    change [ghost v] effect by (1)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nshow\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@Glow\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (LEVEL)\n    set [ghost v] effect to (Ghost)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nset [ghost v] to [60]\n\n@Thumb\n\nwhen flag clicked\ngo to [front v] layer\nclear graphic effects\nshow\nwait (1) seconds\nrepeat (100)\n    go to [front v] layer\n    change [ghost v] effect by (1)\nend\nhide\n\nwhen [space v] key pressed\ngo to [front v] layer\n\n
No Jumping Platformer #Games #All

Instructions: Arrow Keys To Move. Story: After Your Last Adventure You Doze Off Into Deep Sleep. Then, You Suddenly Wake Up. "Where Am I?" You Say. You Seem To Be In Another Dimension. You Suddenly Realize You Are Not Far From Your Village. You Have Been To This Area Before. There Was Only A Few Obstacles To Pass... 

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [enable backdrop v]\nnext backdrop\n\n@Player\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        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    end\n    if <(x position) > [240]> then\n        broadcast (Next Level v)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-9)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwait (10) seconds\n\nwhen flag clicked\nforever\n    if <touching (speed right v)?> then\n        change [x vel v] by (5)\n    end\nend\n\n\n\nset [x vel v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (speed left v)?> then\n        change [x vel v] by (-00.9)\n    end\nend\n\nmove (10) steps\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nforever\n    if <touching (jump pad v)?> then\n        change [y vel v] by (15)\n    end\nend\n\nwhen I receive [move to start v]\ngo to x: (-210) y: (-55)\n\nwait (3) seconds\n\n@Platform\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    play sound [Vexento - Tevo \(Original Mix\) v] until done\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (Enable Backdrop v)\n        stop [this script v]\n    end\nend\n\n@Danger\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Jump Pad\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Skip Button\n\nwhen this sprite clicked\nbroadcast (Next Level v)\nbroadcast (Move To Start v)\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-12) y: (2)\nforever\n    change [color v] effect by (1)\nend\n\n@Thumbnail \n\nwhen flag clicked\nforever\n    go to [front v] layer\n    reset timer\n    hide\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\ngo to x: (-8) y: (4)\nset [ghost v] effect to (100)\nshow\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\n
X'mas platformer クリスマスプラットフォーマー #game #platformer #X'mas


@Stage\n\nwhen flag clicked\nswitch backdrop to (tokyo-famous1 v)\nforever\n    play sound [https___scratch v] until done\nend\n\n@player\n\ndefine 初期設定\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\ngo to x: (-173) y: (-70)\nset size to (40) %\nswitch costume to (前 v)\n\nwhen flag clicked\nshow\n初期設定\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        switch costume to (前 v)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (d v) pressed?>>> then\n        switch costume to (後ろ v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.89))\n    change x by (x)\n    if <touching (stage v)?> then\n        change y by (1)\n        if <touching (stage v)?> then\n            change y by (1)\n            if <touching (stage v)?> then\n                change y by (1)\n                if <touching (stage v)?> then\n                    change y by (1)\n                    if <touching (stage v)?> then\n                        change y by (1)\n                        if <touching (stage v)?> then\n                            change y by (-5)\n                            if <(x) < [0]> then\n                                set [x v] to [10]\n                            else\n                                set [x v] to [-10]\n                            end\n                            set [y v] to [15]\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 (stage v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        if <touching (stage v)?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[240] < (x position)> then\n        broadcast (new stage v)\n        初期設定\n    end\n    if <touching (障害物 v)?> then\n        初期設定\n    end\n    if <(y position) = [-193]> then\n        初期設定\n    end\nend\n\n@Stage\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [new stage v]\nnext costume\n\n@障害物\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [new stage v]\nnext costume\n\n@サムネ\n\nwhen flag clicked\nforever\n    change [ghost v] effect by (5)\nend\n\n
The Adventurer | A Platformer

Instructions: The adventure a platform \nArrow keys to move\nThis is my first platform I have ever made so if its not good im sorry \nHey i recently fixed it up so it looks a lot cleaner and it harder\nI might make more in the the future but this took forever to code \nyou are free to remix\nAnyways i hope you enjoy

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\n\n\n@player\n\nwhen flag clicked\nset [gravity v] to [-1.5]\nset [jump force v] to [16]\nset [acceleration v] to [1.5]\nset [resistance v] to [0.8]\nset [speed why v] to [0]\ngo to x: (-150) y: (50)\nforever\n    if <key (up arrow v) pressed?> then\n        if <(falling) < [3]> then\n            set [speed why v] to (JUMP FORCE)\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by ((0) - (ACCELERATION))\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (ACCELERATION)\n    end\n    set [speed x v] to ((speed x) * (RESISTANCE))\n    change [speed why v] by (GRAVITY)\n    Move - in steps (([abs v] of (speed x) ) + ([abs v] of (speed why) ))\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 (#ff0000)?> 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 why) / (steps))\n    if <touching color (#ff0000)?> then\n        set y to (last value)\n        if <(speed why) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed why v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        next backdrop\n        set x to (-150)\n        set y to (-30)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ff6b)?> then\n        set x to (-150)\n        set y to (-30)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\n@player2\n\nwhen flag clicked\nhide\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 (#ff0000)?> 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 why) / (steps))\n    if <touching color (#ff0000)?> then\n        set y to (last value)\n        if <(speed why) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed why v] to [0]\n    end\nend\n\nwhen flag clicked\n\n
Scrolling Platformer Tutorial Part 1

Instructions:           ~ Scrolling Platformer Tutorial~\n---------------------------------------------------------------------------------\n❤️+⭐= Cookies XD\n      ~Rules~\n-----------------------------\nThis is a really helpful scrolling platformer tutorial for beginners. I use this code for my platformers too. There is going to be more tutorials of platformers coming out soon! If you want a tutorial you can ask me for one :)\nYou need to press see inside to see the code and to use it in your platformer that you are making.\n\nNext up: Tile scrolling platformer XD

@Stage\n\n@Thumbnail\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\n@Slide Engine\n\nwhen flag clicked\nSlide Engine by @-CloudCodes- | # of slides [14]\n\ndefine Slide Engine by @-CloudCodes- | # of slides (slides)\nhide\nset [scroll x v] to [0]\nClones (slides)\nforever\n    Scroll ((<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> * <not <(scroll x) = (((slides) - (1)) * (480))>>) - (<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <[0] > (mouse x)>>> * <not <(scroll x) = [0]>>)) (scroll x)\nend\n\ndefine Clones (#)\nswitch costume to (slide 1 v)\nrepeat (#)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nforever\n    show\n    POSITION ((((costume [number v]) - (1)) * (480)) - (scroll x))\nend\n\ndefine POSITION (x)\ngo to x: (x) y: (0)\nif <(x) = (x position)> then\n    show\nelse\n    hide\nend\n\ndefine Scroll (r/l) (x)\nif <(r/l) = [0]> then\n\nshow\n\n
NINJA - A PLATFORMER

Instructions: -Arrow Keys to move\n-Dodge the spikes \nHope you enjoy :)\n❤️+⭐️ if you did

@Stage\n\nwhen flag clicked\nforever\n    play sound [Ninja music GREAT! v] until done\nend\n\n@LEVEL\n\nwhen I receive [new_level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nforever\nend\n\nforever\nend\n\n@NINJA\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\npoint in direction (90)\nset rotation style [left-right v]\nforever\n    go to x: ([x position v] of [hitbox v]) y: ([y position v] of [hitbox v])\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        point in direction (X-VELOCITY-P1)\n    end\nend\n\nrepeat until \n    change y by (1)\nend\n\n@HITBOX\n\nwhen flag clicked\nbroadcast (START v)\nbroadcast (NEW_LEVEL v)\n\ndefine SenseFloor <touchingceiling?>\nrepeat until <not <touching (level v)?>>\n    if <touchingceiling?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [ground-touch v] to [0]\n    end\n    set [gravity-p1 v] to [0]\nend\n\ndefine WALL_DETECTION\nrepeat until <not <touching (level v)?>>\n    change x by ((X-VELOCITY-P1) * (-1))\nend\n\nwhen I receive [start v]\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (-175) y: (-100)\nforever\n    change [gravity-p1 v] by (-1)\n    change y by (GRAVITY-P1)\n    set [ground-touch v] to [1]\n    SenseFloor <(GRAVITY-P1) > [0]>\n    change [gravity-p1 v] by (((<(GROUND-TOUCH) = [0]> * (1)) * <key (up arrow v) pressed?>) * (15))\n    set [x-velocity-p1 v] to ((<key (right arrow v) pressed?> - <key (left arrow v) pressed?>) * (5))\n    change x by (X-VELOCITY-P1)\n    if <touching (level v)?> then\n        WALL_DETECTION\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    wait until <touching (ninja v)?>\n    broadcast (START v)\n    broadcast (NEW_LEVEL v)\nend\n\n@DANGER\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [new_level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <touching (ninja v)?> then\n        broadcast (START v)\n    end\nend\n\n@Sprite2\n\n@Sprite3\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\n
Google a platformer #all#trending#games#music#animations#art

Instructions: Use arrow keys to Move\nAvoid the spikes\n1000 hearts lets gooo\n50000 views!!!\n\n#12 on games\ngot featured letss gooo

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen flag clicked\nforever\n    play sound [nagagutsudeodekake v] until done\nend\n\n@Google G1\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nshow\nshow\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 (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> 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 [13]\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 (#000008)?> 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 (#000008)?>> then\n        set [y v] to [17]\n    end\n    change y by (1)\n    if <touching color (#003fff)?> then\n        set [y v] to [22]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-214) y: (-108)\n        play sound [uuhhh v] until done\n    end\nend\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nshow\nshow\n\nwhen flag clicked\nset size to (40) %\ngo to x: (-216) y: (-108)\n\nwhen flag clicked\nforever\n    if <touching (end v)?> then\n        go to x: (-216) y: (-108)\n        next backdrop\n        wait (0.1) seconds\n        broadcast (message1 v)\n    end\nend\n\n@End\n\nwhen flag clicked\nshow\ngo to x: (208) y: (-117)\n\n@thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (-9) y: (-6)\nforever\n    set [checktimer v] to (timer)\nend\n\nwhen [timer v] > (Checktimer)\nrepeat (30)\n    change [ghost v] effect by (0)\n    change x by (((0) - (x position)) / (3))\nend\n\n
Platformer

Instructions: Part 2 https://scratch.mit.edu/projects/808760423/

@Stage\n\nwhen I receive [3 v]\nswitch backdrop to (тло2 v)\n\nwhen flag clicked\nswitch backdrop to (тло1 v)\n\n@Спрайт1\n\nwhen flag clicked\nset [моя змінна v] to [0]\nshow\ngo to x: (-200) y: (-97)\n\nwhen [right arrow v] key pressed\nrepeat until <not <key (right arrow v) pressed?>>\n    change x by (8)\nend\n\nwhen [left arrow v] key pressed\nrepeat until <not <key (left arrow v) pressed?>>\n    change x by (-8)\nend\n\nwhen [up arrow v] key pressed\nrepeat until <not <key (up arrow v) pressed?>>\n    repeat (15)\n        change y by (8)\n    end\n    repeat (15)\n        change y by (-8)\n    end\nend\n\nwhen I receive [1 v]\ngo to x: (-200) y: (-97)\nstop [other scripts in sprite v]\n\nwhen I receive [2 v]\ngo to x: (-200) y: (-97)\nstop [other scripts in sprite v]\n\nwhen I receive [3 v]\nhide\n\nwhen [w v] key pressed\nrepeat until <not <key (w v) pressed?>>\n    repeat (15)\n        change y by (8)\n    end\n    repeat (15)\n        change y by (-8)\n    end\nend\n\nwhen [d v] key pressed\nrepeat until <not <key (d v) pressed?>>\n    change x by (8)\nend\n\nwhen [a v] key pressed\nrepeat until <not <key (a v) pressed?>>\n    change x by (-8)\nend\n\n@Спрайт2\n\nwhen flag clicked\nshow\n\nwhen I receive [3 v]\nhide\n\n@Спрайт3\n\nwhen flag clicked\nshow\nforever\n    if <touching (спрайт1 v)?> then\n        broadcast (1 v)\n    end\nend\n\nwhen I receive [3 v]\nhide\n\n@Спрайт4\n\nwhen flag clicked\nshow\nswitch costume to (образ1 v)\nforever\n    if <touching (спрайт1 v)?> then\n        broadcast (2 v)\n    end\n    if <(costume [number v]) = [9]> then\n        broadcast (3 v)\n    end\nend\n\nwhen I receive [1 v]\nnext costume\n\nwhen I receive [3 v]\nhide\n\n@Спрайт5\n\nwhen flag clicked\nhide\n\n@Спрайт6\n\nwhen flag clicked\ngo to x: (-200) y: (-97)\nforever\n    go to (спрайт1 v)\nend\n\nwhen flag clicked\nshow\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (0.5) seconds\ndelete this clone\n\nwhen I start as a clone\nset size to (100) %\nforever\n    change [ghost v] effect by (8)\n    change size by (-3)\nend\n\nwhen I receive [3 v]\nhide\n\n
Minecraft Platformer _ マイクラプラットフォーマー 

Instructions: \n⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇\nhttps://scratch.mit.edu/projects/816762963\n⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

@Stage\n\nwhen flag clicked\nforever\n    play sound [Minecraft v] until done\nend\n\n@Player\n\ndefine 初期化\nset [yy v] to [0]\nset [xx v] to [0]\ngo to x: (-200) y: (-59)\n\nwhen flag clicked\nshow\nset [xx v] to [0]\nset [yy v] to [0]\n初期化\nforever\n    change [yy v] by (-1)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n        change [xx v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n        change [xx v] by (-1)\n    end\n    set [xx v] to ((xx) * (0.9))\n    change x by (xx)\n    if <touching (stage v)?> then\n        change y by (6)\n    end\n    if <touching (stage v)?> then\n        change y by (-6)\n        change x by (() - (xx))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [yy v] to [15]\n            if <(xx) > [0]> then\n                set [xx v] to [-10]\n            else\n                set [xx v] to [10]\n            end\n        else\n            set [xx v] to [0]\n        end\n    end\n    change y by (yy)\n    if <touching (stage v)?> then\n        change y by ((-1) * (yy))\n        set [yy v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [yy v] to [15]\n        end\n    end\n    if <touching (laba  v)?> then\n        初期化\n    end\n    if <(x position) > [230]> then\n        change [ステージ v] by (1)\n        初期化\n    end\nend\n\nwhen I receive [終わり v]\nhide\n\nwhen I receive [終わり v]\nstop [this script v]\n\nwhen I receive [♥と★ v]\nsay [Thanks for the ⭐ and ❤!] for (2) seconds\n\n@Stage\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\n@Laba \n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\n@サムネ\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@Detector\n\nwhen flag clicked\nhide\nset [★ v] to [0]\nset [♥ v] to [0]\nset [どっち v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [どっち v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(♥) = [1]> and <(★) = [1]>>\nbroadcast (♥と★ v)\n\nwhen I start as a clone\nif <(どっち) = [0]> then\n    go to x: (-15) y: (0)\n    set [♥ v] to [0]\n    switch costume to (love v)\n    forever\n        set [♥? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [♥ v] to [1]\n        end\n    end\nend\nif <(どっち) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [★ v] to [0]\n    forever\n        set [星? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [★ v] to [1]\n        end\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\n\n