Magma  -Survival Platformer-     #all #games remix

Instructions: \n【参加型・景品あり】究極の福笑いGX⇓\n https://scratch.mit.edu/projects/778964167/\n\n\n    　　*･゜･*:.｡.｡:*･' Magma Platformer '･*:.｡. ｡:*･゜･*\n\n日本語は⤵\n\n↓English\nThis"Magma"platformer , you can clear the stage by going up!\nLava is approaching from below, so hurry up!\n➤Wasd , Arrow key\nTry to get the time world record!\n\n※Don't comment "Too hard" .\n@az229 will be sad .\n\n↓日本語\nステージのうえに行くと次のステージへ行けます！\nしたから溶岩が迫ってくるので急ごう！\n➤wasd キー、矢印キー\nタイムもあります！目指せ世界記録！\nたまーにバグります。ご了承ください！\n\n※「ムズい」「難しい」などはやめて(´°̥̥̥̥̥̥̥̥ω°̥̥̥̥̥̥̥̥｀)\n@az229が悲しむ()\n\n-----Credit-----\nIntro / @sochanpiko\nMuzic / TFR\nClowd / @RRR-scratch\nUpdraft/ / @Pinosuke_c5\n\nThank you for reading to here!\nここまで読んでくれてありがとう！\n\n　　　　　　　　　　楽しめ！\n\n更新情報\n2/17　マグマのバグ修正！\n\n@ziroutouzyou　❤⭐！？\n@daihiro1031　 ❤⭐！？\n@-Lafary-　　　 ❤⭐！？\n\nTags\n#all #games #art #music #fun #cool #platformer #az229\n#all #games #art #music #fun #cool #platformer #az229\n#all #games #art #music #fun #cool #platformer #az229\n#all #games #art #music #fun #cool #platformer #az229

@Stage\n\nwhen I receive [終わり v]\nforever\n    play sound [FR Xenogenesis v] until done\nend\n\n@プレーヤー\n\nwhen I receive [メッセージ3 v]\ngo to x: (-200) y: (25)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [終わり v]\ngo to [front v] layer\nshow\ngo [backward v] (2) layers\nshow\nswitch costume to (1 v)\nset size to (65) %\ngo to x: (-200) y: (25)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow variable [stage v]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        point in direction (90)\n        change [x v] by (1.75)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-1.75)\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <(y position) > [179]> then\n        broadcast (メッセージ1 v)\n        hide\n        repeat until <(NEXT終わり) = [2]>\n            go to x: (-200) y: (25)\n        end\n    end\n    if <<<touching (障害物 v)?> or <(y position) = [-179]>> or <touching (スプライト2 v)?>> then\n        broadcast (ﾀﾋ v)\n        go to x: (-200) y: (25)\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <touching (ジャンプ台 v)?> then\n        set [y v] to [17]\n    end\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            set [x v] to [0]\n                            if <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [15]\n                                else\n                                    set [x v] to [-15]\n                                end\n                                set [y v] to [14.5]\n                            else\n                                set [x v] to [0]\n                            end\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 (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#1db500)?> and <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<key (d v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (土ぼこりと飛び散った草 v)\n    end\n    if <<<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> or <<(y position) < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        set [y v] to [14]\n    end\n    change y by (1)\nend\n\nwhen [timer v] > (0.01)\nhide variable [☁ world record v]\nhide\n\n@地面\n\nwhen flag clicked\nset [stage v] to [1]\nhide\n\nwhen I receive [終わり v]\nshow\nswitch costume to (1 v)\nset [time v] to [0]\nforever\n    if <(NEXT終わり) = [1]> then\n        set [stage v] to ((costume [number v]) + (1))\n        repeat until <(NEXT終わり) = [2]>\n            switch costume to (Stage)\n        end\n    end\n    if <(Stage) = [13]> then\n        broadcast (ステージクリア v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Stage) = [10]> then\n        show variable [time v]\n        if <(☁ World record) > (Time)> then\n            set [☁ world record v] to (Time)\n        end\n    else\n        hide variable [time v]\n        wait (1) seconds\n        change [time v] by (1)\n    end\nend\n\n@NEXT\n\nwhen flag clicked\nhide\nset [next終わり v] to [0]\n\nwhen I receive [メッセージ1 v]\nset [nextx v] to [-155]\nset [next終わり v] to [0]\nrepeat (3)\n    switch costume to (コスチューム4 v)\n    repeat (4)\n        create clone of (_myself_ v)\n        next costume\n    end\n    change [nextx v] by (174)\nend\nset [nextx v] to [0]\nswitch costume to (コスチューム5 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <not <(costume [number v]) = [5]>> then\n    go to [front v] layer\n    go to x: (NEXTx) y: (345)\n    set [nexty v] to [-86]\n    repeat (30)\n        set [nexty v] to ((NEXTy) * (0.8))\n        change y by (NEXTy)\n    end\n    set [next終わり v] to [1]\n    set [nexty v] to [86]\n    repeat (30)\n        set [nexty v] to ((NEXTy) * (0.8))\n        change y by (NEXTy)\n    end\n    delete this clone\nelse\n    go to [front v] layer\n    go to x: (0) y: (345)\n    set [nexty v] to [-60]\n    repeat (30)\n        set [nexty v] to ((NEXTy) * (0.8))\n        change y by (NEXTy)\n    end\n    wait (0.1) seconds\n    set [nexty v] to [60]\n    repeat (30)\n        set [nexty v] to ((NEXTy) * (0.8))\n        change y by (NEXTy)\n    end\n    set [next終わり v] to [2]\n    broadcast (メッセージ3 v)\n    delete this clone\nend\n\nbroadcast (メッセージ1 v)\n\n@障害物\n\nwhen flag clicked\nhide\n\nwhen I receive [終わり v]\nshow\nset [障害物コスチューム v] to [1]\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <(NEXT終わり) = [1]> then\n        set [障害物コスチューム v] to ((costume [number v]) + (1))\n        repeat until <(NEXT終わり) = [2]>\n            switch costume to (障害物コスチューム)\n        end\n    end\nend\n\nchange [stage v] by (-1)\n\nbroadcast (メッセージ1 v)\n\n@紙吹雪   Pinosuke_c5\n\nwhen flag clicked\nhide\nset [なにか笑 v] to [0]\nforever\n    if <(なにか笑) = [0]> then\nend\n\nwhen I start as a clone\nset y to (-180)\nshow\nrepeat until <(y position) = [180]>\n    change x by (0)\n    change y by (5)\n    change [ghost v] effect by (1)\nend\ndelete this clone\n\nwhen I receive [メッセージ3 v]\nset [なにか笑 v] to [1]\n\nwait (1) seconds\n\n@空の雲     RRR-Scratch\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nglide (pick random (3) to (10)) secs to x: (-276) y: (y position)\nhide\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    switch costume to (pick random (1) to (3))\n    set [ghost v] effect to (pick random (10) to (30))\n    wait (pick random (2) to (0.7)) seconds\n    create clone of (_myself_ v)\n    go to x: (276) y: (pick random (100) to (150))\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (300) y: (300)\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (Timer)\ngo to [front v] layer\nrepeat until <<(round (x position)) = [0]> and <(round (y position)) = [0]>>\n    go to [front v] layer\n    show\n    change x by (((0) - (x position)) / (10))\n    change y by (((0) - (y position)) / (10))\nend\ngo to [front v] layer\nwait (0.1) seconds\ngo to [front v] layer\n\n@スプライト2\n\nwhen flag clicked\nset x to (0)\nhide\n\nwhen I receive [終わり v]\nshow\nset y to (-500)\nforever\n    change y by (1)\nend\n\nwhen I receive [ﾀﾋ v]\nshow\nset y to (-500)\nforever\n    change y by (0.2)\nend\n\nwhen I receive [ステージクリア v]\nshow\nset y to (-500)\nforever\n    change y by (0.2)\nend\n\nwhen [timer v] > (Timer)\nhide\n\n@Intro || sochanpiko\n\nwhen I start as a clone\npoint in direction (90)\nshow\nif <(costume [number v]) = [1]> then\n    set size to (0) %\n    point in direction (0)\n    hide\n    wait (((((x position) + (240)) / (240)) + (((y position) + (180)) / (180))) / (5)) seconds\n    show\n    repeat (30)\n        change size by (((105) - (size)) / (4))\n        turn right (((90) - (direction)) / (4)) degrees\n    end\n    wait until <[5] < (timer)>\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        go to x: (0) y: (0)\n        set size to (0) %\n        set [variable v] to [0]\n        repeat (55)\n            set [variable v] to (((variable) * (0.75)) + (((100) - (size)) / (3)))\n            change size by (variable)\n        end\n        point in direction (180)\n        change x by (150)\n        repeat (20)\n            turn right (((90) - (direction)) / (3)) degrees\n            change x by (((0) - (x position)) / (3))\n        end\n        wait until <[4.5] < (timer)>\n        hide\n        go to x: (0) y: (500)\n        go to [front v] layer\n        wait until <[7] < (timer)>\n        show\n        set [variable v] to [0]\n        repeat (60)\n            set [variable v] to (((variable) * (0.75)) + (((25) - (y position)) / (3)))\n            change y by (variable)\n        end\n        wait until <[11] < (timer)>\n        delete this clone\n    else\n        if <(costume [number v]) = [3]> then\n            go to [front v] layer\n            if <(variable) = [3.14]> then\n                go to x: (0) y: (-500)\n                repeat (50)\n                    change y by (((0) - (y position)) / (6))\n                end\n                wait until <[11] < (timer)>\n                delete this clone\n            else\n                go to x: (0) y: (-500)\n                repeat (50)\n                    change y by (((0) - (y position)) / (6))\n                end\n                wait until <[12] < (timer)>\n                repeat (20)\n                    change [ghost v] effect by (5)\n                end\n                delete this clone\n            end\n        else\n            if <(costume [number v]) = [4]> then\n                go to [front v] layer\n                go to x: (0) y: (0)\n                set size to (0) %\n                repeat (50)\n                    change size by (((100) - (size)) / (6))\n                end\n                wait until <[7] < (timer)>\n                set [variable v] to [0]\n                repeat (60)\n                    set [variable v] to (((variable) * (0.75)) + (((-100) - (y position)) / (3)))\n                    change y by (variable)\n                end\n                wait until <[11] < (timer)>\n                delete this clone\n            else\n                if <<[4] < (costume [number v])> and <[10] > (costume [number v])>> then\n                    if <(variable) = [1]> then\n                        go to x: (0) y: (0)\n                        set size to (pick random (80) to (150)) %\n                        set [ghost v] effect to (pick random (0) to (30))\n                        set [variable v] to (pick random (-20) to (20))\n                        set [?/? v] to (pick random (1) to (360))\n                        set [? v] to [0]\n                        repeat (60)\n                            go to [front v] layer\n                            point in direction (?/?)\n                            move (variable) steps\n                            change [? v] by (variable)\n                            point in direction ((?) + (?/?))\n                            if <touching (_edge_ v)?> then\n                                if on edge, bounce\n                                set [?/? v] to (direction)\n                            end\n                            set [variable v] to ((variable) * (0.95))\n                            change [ghost v] effect by (3.4)\n                        end\n                        delete this clone\n                    else\n                        go to (random position v)\n                        set size to (pick random (80) to (150)) %\n                        set [ghost v] effect to (100)\n                        point in direction (pick random (1) to (360))\n                        repeat until <[6] < (timer)>\n                            move (0.2) steps\n                            if <(pick random (1) to (2)) = [1]> then\n                                turn right (2) degrees\n                            else\n                                turn left (2) degrees\n                            end\n                            change [ghost v] effect by (-4)\n                        end\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine ◇\ngo to x: (-240) y: (180)\nswitch costume to (正方形 v)\nrepeat (11)\n    repeat (13)\n        create clone of (_myself_ v)\n        change x by (40)\n    end\n    set x to (-240)\n    change y by (-36)\nend\n\ndefine Dust\nset [variable v] to [1]\nrepeat (20)\n    switch costume to (pick random (5) to (9))\n    create clone of (_myself_ v)\nend\n\ndefine Back Dust\nset [variable v] to [29]\nrepeat (40)\n    switch costume to (pick random (5) to (9))\n    create clone of (_myself_ v)\nend\n\nwhen I receive [intro v]\n\nwhen flag clicked\nreset timer\nstart sound [Lensko - Cetus \[NCS Release\] v]\n◇\nwait until <[1.8] < (timer)>\nBack Dust\nset [brightness v] effect to (-100)\nDust\nclear graphic effects\nswitch costume to (icon v)\ncreate clone of (_myself_ v)\nwait until <[4] < (timer)>\nset [variable v] to [3.14]\nswitch costume to ( v)\nrepeat (3)\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-25)\n    wait (0.1) seconds\nend\nwait until <[5.25] < (timer)>\nclear graphic effects\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nDust\nDust\nwait until <[9] < (timer)>\nset [variable v] to [8.97]\nswitch costume to ( v)\nrepeat (3)\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-25)\n    wait (0.1) seconds\nend\nbroadcast (終わり v)\n\n