ICE platformer アイスプラットフォーマー　#games #game

Instructions: https://scratch.mit.edu/projects/934711746/\n新作↑\n\n矢印キーまたはタップで操作\n\n傾向載れぇぇ\n2p！

@Stage\n\n@ああああああああ\n\nwhen flag clicked\nshow\nswitch costume to (あああああああ v)\nset [y v] to [0]\nset [x v] to [0]\nstart sound [Open Secrets v]\npoint in direction (90)\ngo to x: (-200) y: (0)\nforever\n    if <<<mouse down?> and <(mouse x) > (x position)>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        set [x v] to ((x) * (.94))\n    else\n        set [x v] to ((x) * (.90))\n    end\n    change y by (1)\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 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 y by (-10)\n                                                change x by (() - (x))\n                                                if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n                                                    start sound [Jump v]\n                                                    if <(x) > [0]> then\n                                                        set [x v] to [-7]\n                                                    else\n                                                        set [x v] to [7]\n                                                    end\n                                                    set [y v] to [12]\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 by (-1)\n                        if <touching (地面 v)?> then\n                            if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n                                start sound [Jump v]\n                                set [y v] to [15]\n                            end\n                        end\n                        create clone of (_myself_ v)\n                        change y by (1)\n                        change [y v] by (-1)\n                        change y by (y)\n                        if <touching (地面 v)?> then\n                            落下\n                            change y by ((y) * (-1))\n                            set [y v] to [0]\n                        end\n                        if <(x position) > [240]> then\n                            broadcast (次のステージ v)\n                            go to x: (-200) y: (0)\n                            wait (1) seconds\n                            set [x v] to [0]\n                            set [y v] to [0]\n                        end\n                        if <touching (棘 v)?> then\n                            go to x: (-200) y: (0)\n                            play sound [Teleport2 v] until done\n                            set [x v] to [0]\n                            set [y v] to [0]\n                        end\n                        if <not <(y position) > [-180]>> then\n                            go to x: (-200) y: (0)\n                            play sound [Teleport2 v] until done\n                            set [x v] to [0]\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\n    create clone of (_myself_ v)\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        落下\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [240]> then\n        broadcast (次のステージ v)\n        go to x: (-200) y: (0)\n        wait (1) seconds\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching (棘 v)?> then\n        go to x: (-200) y: (0)\n        play sound [Teleport2 v] until done\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <not <(y position) > [-180]>> then\n        go to x: (-200) y: (0)\n        play sound [Teleport2 v] until done\n        set [x v] to [0]\n        set [y v] to [0]\n    end\nend\n\nwhen I start as a clone\nswitch costume to (あああああああ v)\nrepeat (4)\n    change size by (-4)\nend\ndelete this clone\n\ndefine 落下\nif <[0] < (y)> then\n    repeat until <not <touching (地面 v)?>>\n        change y by (-1)\n    end\nelse\n    repeat until <not <touching (地面 v)?>>\n        change y by (1)\n    end\nend\nset [y v] to [0]\n\n@地面\n\nwhen I receive [次のステージ v]\nchange [ステージ v] by (1)\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nset [ステージ v] to [0]\n\nwhen flag clicked\nforever\n    見やすさ\nend\n\ndefine 見やすさ\nswitch costume to (コスチューム1 v)\nrepeat ((ステージ) + (見やすさ))\n    next costume\nend\n\n@棘\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [次のステージ v]\nnext costume\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nwhen I receive [バグ v]\nswitch costume to (バグ v)\nstop [all v]\n\n@スプライト1\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nset [見やすさ v] to [0]\nforever\n    if <(costume [number v]) = [1]> then\n        set [見やすさ v] to [0]\n    else\n        set [見やすさ v] to [9]\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\n@タイム\n\nwhen flag clicked\nshow\n\n@タイム2\n\nwhen I start as a clone\nchange x by (((タイム) - (1)) * (20))\nif <(タイム) = [1]> then\n    wait until <[100] < (timer)>\n    if <(ゴール) = [0]> then\n        show\n        repeat until <[1000] < (timer)>\n            if <(ゴール) = [0]> then\n                switch costume to ((letter (1) of (timer)) - (1))\n            end\n        end\n    end\nelse\n    if <(タイム) = [2]> then\n        wait until <[10] < (timer)>\n        show\n        repeat until <[100] < (timer)>\n            if <(ゴール) = [0]> then\n                switch costume to ((letter (1) of (timer)) - (1))\n            end\n        end\n        repeat until <[1000] < (timer)>\n            if <(ゴール) = [0]> then\n                switch costume to ((letter (2) of (timer)) - (1))\n            end\n        end\n    else\n        show\n        if <(タイム) = [3]> then\n            repeat until <[10] < (timer)>\n                if <(ゴール) = [0]> then\n                    switch costume to ((letter (1) of (timer)) - (1))\n                end\n            end\n            repeat until <[100] < (timer)>\n                if <(ゴール) = [0]> then\n                    switch costume to ((letter (2) of (timer)) - (1))\n                end\n            end\n            repeat until <[1000] < (timer)>\n                if <(ゴール) = [0]> then\n                    switch costume to ((letter (3) of (timer)) - (1))\n                end\n            end\n        else\n            if <(タイム) = [4]> then\n                repeat until <[10] < (timer)>\n                    if <(ゴール) = [0]> then\n                        switch costume to ((letter (3) of (timer)) - (1))\n                    end\n                end\n                repeat until <[100] < (timer)>\n                    if <(ゴール) = [0]> then\n                        switch costume to ((letter (4) of (timer)) - (1))\n                    end\n                end\n                repeat until <[1000] < (timer)>\n                    if <(ゴール) = [0]> then\n                        switch costume to ((letter (5) of (timer)) - (1))\n                    end\n                end\n            else\n                if <(タイム) = [5]> then\n                    repeat until <[10] < (timer)>\n                        if <(ゴール) = [0]> then\n                            switch costume to ((letter (4) of (timer)) - (1))\n                        end\n                    end\n                    repeat until <[100] < (timer)>\n                        if <(ゴール) = [0]> then\n                            switch costume to ((letter (5) of (timer)) - (1))\n                        end\n                    end\n                    repeat until <[1000] < (timer)>\n                        if <(ゴール) = [0]> then\n                            switch costume to ((letter (6) of (timer)) - (1))\n                        end\n                    end\n                else\n                    if <(タイム) = [6]> then\n                        repeat until <[10] < (timer)>\n                            if <(ゴール) = [0]> then\n                                switch costume to ((letter (5) of (timer)) - (1))\n                            end\n                        end\n                        repeat until <[100] < (timer)>\n                            if <(ゴール) = [0]> then\n                                switch costume to ((letter (6) of (timer)) - (1))\n                            end\n                        end\n                        repeat until <[1000] < (timer)>\n                            if <(ゴール) = [0]> then\n                                switch costume to ((letter (7) of (timer)) - (1))\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nswitch costume to (コスチューム8 v)\n\nwhen flag clicked\nhide\nreset timer\nset [タイム v] to [0]\ngo to x: (110) y: (142)\nrepeat (6)\n    change [タイム v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nset [ゴール v] to [0]\nforever\n    if <([costume # v] of [地面 v]) = [9]> then\n        set [ゴール v] to [1]\n    end\n    if <([costume # v] of [地面 v]) = [18]> then\n        set [ゴール v] to [1]\n    end\nend\n\nwhen I start as a clone\nif <(タイム) = [6]> then\n    if <(costume [number v]) = [4]> then\n        if <(costume [number v]) = [4]> then\n            if <(costume [number v]) = [4]> then\n                if <(costume [number v]) = [4]> then\n                    if <(costume [number v]) = [4]> then\n                        if <(costume [number v]) = [4]> then\n                            if <(costume [number v]) = [4]> then\n                                wait (0.1) seconds\n                                if <(costume [number v]) = [4]> then\n                                    broadcast (バグ v)\n                                    delete this clone\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n