Winter Platformer　　　　　　　　　　　#all #games
@Stage\n\nwhen I receive [let's go v]\nforever\n    play sound [Butter Sugar Cream \(Off Vocal\) - Tomggg2　vanilaice918 v] until done\nend\n\n@Player\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    switch costume to (5 v)\n    repeat (10)\n        change size by (-5)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    switch costume to (4 v)\n    repeat (10)\n        change size by (-5)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [let's go v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [let's go v]\nset [ghost v] effect to (100)\ngo to x: (-180) y: (-60)\npoint in direction (90)\nset [スタート v] to [1]\nset [動くやつ2 v] to [0]\nset [動くやつ v] to [0]\nswitch costume to (1 v)\nswitch backdrop to (背景1 v)\nshow\nset size to (100) %\nset [x v] to [0]\nset [y2 v] to [0]\nshow\nforever\n    if <(スタート) = [1]> then\n        set rotation style [left-right v]\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>> then\n            point in direction (-90)\n            change [x v] by (-0.8)\n            if <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < [-130]>>>> then\n                switch costume to (2 v)\n            else\n                switch costume to (1 v)\n            end\n        else\n            if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> then\n                point in direction (90)\n                change [x v] by (0.8)\n                if <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < [-130]>>>> then\n            end\n        end\n        if <<key (down arrow v) pressed?> or <<key (s v) pressed?> or <<mouse down?> and <(mouse y) < [-130]>>>> then\n            switch costume to (2 v)\n        else\n            switch costume to (1 v)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\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                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                    if <(x) > [0]> then\n                                        set [x v] to [-7]\n                                    else\n                                        set [x v] to [7]\n                                    end\n                                    set [y2 v] to [15]\n                                else\n                                    set [x v] to [0.0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\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 x by ((x) * (-1))\n                    change y by (-5)\n                    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                        change y by (1)\n                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                            change y by (1)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                change y by (1)\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                    change y by (1)\n                                end\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                    change y by (1)\n                                    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                        change y by (1)\n                                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                            change y by (1)\n                                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                                change y by (1)\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (-1)\n        if <<touching (地面 v)?> or <touching (地面 v)?>> then\n            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                set [y2 v] to [15]\n            end\n        end\n        change [y2 v] by (-1)\n        change y by (Y2)\n        change y by (1)\n        if <<touching (地面 v)?> or <touching (地面 v)?>> then\n            change y by ((Y2) * (-1))\n            set [y2 v] to [0]\n        end\n        if <(x position) > [237]> then\n            set [動くやつ2 v] to [0]\n            set [動くやつ v] to [0]\n            set [x v] to [0]\n            set [y2 v] to [0]\n            broadcast (Next Stage v)\n            broadcast (次 v)\n            go to x: (-180) y: (-55)\n        end\n        if <<<<touching (針 v)?> or <touching (マグマ v)?>> or <key (space v) pressed?>> or <(y position) < [-175]>> then\n            switch costume to (3 v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            set [動くやつ2 v] to [0]\n            set [動くやつ v] to [0]\n            set [x v] to [0]\n            set [y2 v] to [0]\n            go to x: (-180) y: (-55)\n            switch costume to (1 v)\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n        end\n        if <touching (バネ v)?> then\n            set [y2 v] to [15]\n            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                set [y2 v] to [20]\n            end\n        end\n    end\nend\n\n@針\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (1 v)\n\nwhen I receive [次 v]\nnext costume\n\n@マグマ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (1 v)\n\nwhen I receive [次 v]\nnext costume\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\n    set y to (([sin v] of ((timer) * (300)) ) * (5))\nend\n\n@バネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (1 v)\n\nwhen I receive [次 v]\nnext costume\n\n@スプライト1\n\nwhen flag clicked\nhide\nswitch costume to (backdrop　-glistr v)\ngo to [back v] layer\n\nwhen I receive [let's go v]\nshow\nnext costume\n\n@雪\n\nwhen I start as a clone\nshow\nset size to (pick random (40) to (80)) %\ngo to x: (0) y: (300)\nchange x by (pick random (-300) to (300))\nrepeat until <(y position) < [-175]>\n    change y by (pick random (-1) to (-3))\n    turn right (pick random (-50) to (50)) degrees\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [let's go v]\nforever\n    go to [front v] layer\n    wait (0.05) seconds\n    create clone of (_myself_ v)\nend\n\n@Intro || yoanz\n\ndefine CL. (t) (c) (g) (l) (n)\nwait until <(timer) > (t)>\nset [brightness v] effect to (l)\nset [ghost v] effect to (g)\nswitch costume to (c)\nset [番号 v] to (n)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide variable [time v]\nhide variable [stage v]\nhide\nswitch backdrop to (あるふぁ v)\nswitch costume to (透明 v)\nset size to (100) %\ngo to x: (0) y: (0)\nstart sound (pick random (1) to (2))\nset [thx v] to [0]\nreset timer\nCL. [0] [切り替え1] [0] [0] [1]\nCL. [0.5] [切り替え2] [0] [0] [1]\nCL. [1] [切り替え3] [0] [0] [1]\nCL. [1] [丸] [0] [100] [2]\nCL. [1.25] [logo1] [0] [0] [3]\nCL. [2] [logo1] [80] [0] [4]\nP\nCL. [2.3] [バック] [50] [0] [5]\nCL. [] [バック] [50] [0] [6]\nCL. [2.55] [text] [0] [100] [7]\nCL. [3.25] [logo3] [90] [0] [8]\nCL. [] [丸] [0] [0] [9]\nCL. [] [丸] [0] [0] [10]\nCL. [3.6] [logo9] [0] [100] [11]\nCL. [] [logo10] [0] [100] [12]\nCL. [] [logo1] [80] [100] [13]\nwait (0.1) seconds\nP\nCL. [4.2] [text2] [0] [0] [15]\nCL. [4.5] [text4] [0] [0] [15]\nCL. [4.8] [text6] [0] [0] [15]\nCL. [5.1] [text7] [0] [0] [15]\nCL. [5.4] [text8] [0] [0] [15]\nCL. [5.65] [text9] [0] [0] [14]\nCL. [] [text] [80] [0] [16]\nCL. [5.8] [丸] [０] [0] [17]\nCL. [6.5] [logo2] [50] [0] [22]\nCL. [7] [バック] [０] [0] [18]\nCL. [] [バック] [０] [0] [19]\nCL. [] [バック] [０] [0] [20]\nCL. [] [バック] [０] [0] [21]\nbroadcast (Let's go v)\n\nwhen I start as a clone\nshow\nif <(costume [name v]) = [パーティクル]> then\n    set [intro || yoanz: a v] to (pick random (15) to (25))\n    set size to (pick random (10) to (20)) %\n    point in direction (pick random (-180) to (180))\n    repeat (5)\n        move (Intro || yoanz: a) steps\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (-5))\n    end\n    repeat until <(size) = [1]>\n        switch costume to (バック v)\n        move (Intro || yoanz: a) steps\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (-5))\n        change size by (-1)\n        switch costume to (パーティクル v)\n    end\n    delete this clone\nend\nif <(番号) = [1]> then\n    go to x: (0) y: (-360)\n    set [intro || yoanz: a v] to [3]\n    repeat (12)\n        change y by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat until <(timer) > [3]>\n        change y by (((0) - (y position)) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [2]> then\n    set size to (0) %\n    set [intro || yoanz: a v] to [3]\n    repeat (10)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n    end\n    repeat (8)\n        switch costume to (透明 v)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n        switch costume to (丸 v)\n    end\n    repeat until <(timer) > [5]>\n        switch costume to (透明 v)\n        change size by (((800) - (size)) / (4))\n        switch costume to (丸 v)\n    end\n    delete this clone\nend\nif <(番号) = [3]> then\n    set size to (0) %\n    repeat until <(timer) > [2]>\n        change size by (((100) - (size)) / (4))\n    end\n    repeat until <(timer) > [2.3]>\n        change size by (((120) - (size)) / (4))\n    end\n    set [intro || yoanz: a v] to [3]\n    repeat (50)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n        change x by (Intro || yoanz: a)\n        turn right ((Intro || yoanz: a) / (3)) degrees\n    end\n    delete this clone\nend\nif <(番号) = [4]> then\n    set size to (0) %\n    repeat until <(timer) > [2.3]>\n        change size by (((300) - (size)) / (4))\n    end\n    set [intro || yoanz: a v] to [3]\n    repeat (50)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n        change x by ((Intro || yoanz: a) * (-1))\n        turn left ((Intro || yoanz: a) / (3)) degrees\n    end\n    delete this clone\nend\nif <(番号) = [5]> then\n    go to x: (0) y: (-360)\n    set [intro || yoanz: a v] to [3]\n    repeat (12)\n        change y by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat until <(timer) > [3.25]>\n        change y by (((0) - (y position)) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [6]> then\n    go to x: (0) y: (360)\n    set [intro || yoanz: a v] to [3]\n    repeat (12)\n        change y by ((Intro || yoanz: a) * (-1))\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat until <(timer) > [3.25]>\n        change y by (((0) - (y position)) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [7]> then\n    set size to (0) %\n    repeat until <(timer) > [3.25]>\n        change size by (((100) - (size)) / (4))\n    end\n    set [brightness v] effect to (0)\n    repeat until <(timer) > [5]>\n        change size by (((80) - (size)) / (8))\n    end\n    delete this clone\nend\nif <(番号) = [8]> then\n    point in direction (80)\n    go [backward v] (1) layers\n    set size to (120) %\n    repeat until <(timer) > [5]>\n        move (-0.5) steps\n    end\n    delete this clone\nend\nif <(番号) = [9]> then\n    go to x: (-240) y: (0)\n    set size to (0) %\n    set [intro || yoanz: a v] to [3]\n    repeat (10)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat (8)\n        switch costume to (透明 v)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n        switch costume to (丸 v)\n    end\n    repeat until <(timer) > [5]>\n        switch costume to (透明 v)\n        change size by (((800) - (size)) / (4))\n        switch costume to (丸 v)\n    end\n    delete this clone\nend\nif <(番号) = [10]> then\n    go to x: (240) y: (0)\n    set size to (0) %\n    set [intro || yoanz: a v] to [3]\n    repeat (10)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat (8)\n        switch costume to (透明 v)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n        switch costume to (丸 v)\n    end\n    repeat until <(timer) > [5]>\n        switch costume to (透明 v)\n        change size by (((800) - (size)) / (4))\n        switch costume to (丸 v)\n    end\n    delete this clone\nend\nif <(番号) = [11]> then\n    go to x: (-240) y: (0)\n    repeat until <(timer) > [5]>\n        change x by (((0) - (x position)) / (3))\n    end\n    delete this clone\nend\nif <(番号) = [12]> then\n    go to x: (240) y: (0)\n    repeat until <(timer) > [5]>\n        change x by (((0) - (x position)) / (3))\n    end\n    delete this clone\nend\nif <(番号) = [13]> then\n    set size to (0) %\n    repeat until <(timer) > [5]>\n        change size by (((300) - (size)) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [14]> then\n    set size to (130) %\n    repeat until <(timer) > [6]>\n        change size by (((100) - (size)) / (8))\n    end\n    set [intro || yoanz: a v] to [10]\n    repeat (10)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by (-1)\n        go to [front v] layer\n    end\n    set [intro || yoanz: a v] to [1]\n    repeat until <(timer) > [7.4]>\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (10))\n        change size by ((Intro || yoanz: a) * (-1))\n        go to [front v] layer\n    end\n    P\n    delete this clone\nend\nif <(番号) = [15]> then\n    wait until <(timer) > [5.65]>\n    set [brightness v] effect to (100)\n    wait until <(timer) > [7]>\n    delete this clone\nend\nif <(番号) = [16]> then\n    switch costume to (透明 v)\n    set size to (800) %\n    switch costume to (text v)\n    go [backward v] (1) layers\n    go to x: (750) y: (0)\n    repeat until <(timer) > [7]>\n        change x by (-5)\n    end\n    delete this clone\nend\nif <(番号) = [17]> then\n    set size to (0) %\n    go to x: (0) y: (-180)\n    set [intro || yoanz: a v] to [3]\n    go to [front v] layer\n    go [backward v] (2) layers\n    repeat (10)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n    end\n    repeat until <(timer) > [7]>\n        switch costume to (透明 v)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (3))\n        switch costume to (丸 v)\n    end\n    delete this clone\nend\nif <(番号) = [18]> then\n    go to x: (240) y: (0)\n    set [intro || yoanz: a v] to [2]\n    repeat until <(timer) > [10]>\n        change x by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [19]> then\n    go to x: (-240) y: (0)\n    set [intro || yoanz: a v] to [2]\n    repeat until <(timer) > [10]>\n        change x by ((Intro || yoanz: a) * (-1))\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [20]> then\n    go to x: (0) y: (180)\n    set [intro || yoanz: a v] to [2]\n    repeat until <(timer) > [10]>\n        change y by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [21]> then\n    go to x: (0) y: (-180)\n    set [intro || yoanz: a v] to [2]\n    repeat until <(timer) > [10]>\n        change y by ((Intro || yoanz: a) * (-1))\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n    end\n    delete this clone\nend\nif <(番号) = [22]> then\n    go to x: (0) y: (0)\n    set [intro || yoanz: a v] to [2]\n    set size to (150) %\n    repeat until <(timer) > [10]>\n        switch costume to (透明 v)\n        change size by (Intro || yoanz: a)\n        change [intro || yoanz: a v] by ((Intro || yoanz: a) / (4))\n        switch costume to (logo2 v)\n        go to [front v] layer\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine P\nswitch costume to (パーティクル v)\nset [ghost v] effect to (0)\nshow\nrepeat (30)\n    create clone of (_myself_ v)\nend\nhide\n\nwhen I receive [let's go v]\n\nwhen flag clicked\nset [time v] to [0]\nshow variable [stage v]\nwait (12) seconds\nforever\n    if <(Stage) = [10]> then\n        show variable [time v]\n    else\n        hide variable [time v]\n        wait (1) seconds\n        change [time v] by (1)\n    end\nend\n\n@地面\n\nwhen I receive [次 v]\nnext costume\nchange [stage v] by (1)\n\nwhen I receive [let's go v]\nset [stage v] to [1]\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [let's go v]\nforever\n    if <(costume [number v]) = [10]> then\n        set [stage v] to [10]\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n
❄... * ᴡɪɴᴛᴇʀ ᴘʟᴀᴛғᴏʀᴍᴇʀ * ... ❄\n\n最近、札幌の方で雪が降ってるらしいですね！\nもう冬の季節か〜、早いね！\n\n\nここは雪の世界...！\nゴールを目指そう！\n\n【操作】\n移動：矢印キー\n\n【説明】\nバネ　：高く跳べる\nトゲ　：ﾀﾋぬ\nマグマ：ﾀﾋぬ\n\nおすすめ⇩\nhttps://scratch.mit.edu/projects/779400262/\n\n*Tags*\n#all #games #fun #snow #winter #platformer #az229