PORTAL||platformer
@Stage\n\nwhen I receive [\[intro\]end v]\nforever\n    play sound [Nebula v] until done\nend\n\n@スプライト1\n\n@ステージやで！\n\nwhen flag clicked\nhide\n\nwhen I receive [\[intro\]end v]\nshow\nset [ステージ v] to [1]\n\nwhen I receive [\[intro\]size v]\nhide\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nforever\n    go to x: (35) y: (29)\nend\n\ngo to x: (204) y: (-88)\n\nwhen I receive [\[intro\]end v]\nset [time v] to [0]\nrepeat until <<(ステージ) = [75]> or <(ステージ) = [266]>>\n    change [time v] by (0.1)\n    wait (0.1) seconds\nend\nshow variable [time v]\n\nwhen flag clicked\nhide variable [time v]\n\nset [ステージ v] to [1659]\n\nwhen flag clicked\nhide variable [ステージ v]\n\nwhen I receive [\[intro\]end v]\nshow variable [ステージ v]\n\nwhen flag clicked\nrepeat (10)\n    set [ステージ v] to [1]\nend\n\nwhen flag clicked\nforever\n    if <<(ステージ) = [75]> or <(ステージ) = [266]>> then\n        if <([y position v] of [スプライト3 v]) = [184]> then\n            set [ステージ v] to [999]\n            broadcast (206 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [999]> then\n        switch costume to (コスチューム最後3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [266]> then\n        switch costume to (コスチューム最後2 v)\n    end\nend\n\n@スプライト3\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nchange [color v] effect by (25)\n\nwhen flag clicked\nforever\n    if <touching color (#05ffa1)?> then\n        switch backdrop to (背景13 v)\n    end\nend\n\nwhen I receive [otugi v]\nshow\nset [動くの禁止！！ v] to [0]\n\nwhen I receive [otugi v]\nnext backdrop\n\nif <touching color (#ff0000)?> then\n    go to x: (-209) y: (-110)\nend\nif <(x position) > [237]> then\n    broadcast (次 v)\n    hide\nend\nif <touching (スプライト8 v)?> then\n    create clone of (_myself_ v)\n    change [color v] effect by (1)\n    set [y v] to [17]\nend\n\nwhen flag clicked\nforever\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 ((変数) * (-1.2))\n                            change y by (-5)\n                        end\n                    end\n                    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                        if <(変数) > [0]> then\n                            set [変数 v] to [-6]\n                        else\n                            set [変数 v] to [6]\n                        end\n                        set [y v] to [10]\n                    else\n                        set [変数 v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n        if <touching (ステージやで！ v)?> then\n            start sound [Jump v]\n            set [y v] to [14]\n        end\n        create clone of (_myself_ v)\n    end\n    change y by (y)\n    change [y v] by (-1)\n    if <touching (ステージやで！ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-209) y: (‐190)\nset [変数 v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n        change [変数 v] by (1)\n        point in direction (90)\n        change [color v] effect by (0.000001)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n        change [変数 v] by (-1)\n        point in direction (-90)\n        change [color v] effect by (0.0000001)\n    end\n    change x by (変数)\n    set [変数 v] to ((変数) * (0.9))\nend\n\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nforever\n    if <(x position) = [244]> then\n        next backdrop\n        go to x: (-209) y: (‐190)\n        change [ステージ v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-209) y: (‐190)\n    end\nend\n\nwhen flag clicked\nrepeat (10)\n    switch backdrop to (背景1 v)\nend\n\nwhen flag clicked\nrepeat (10)\n    set [ステージ v] to [1]\nend\n\nwhen I receive [\[intro\]size v]\nhide\nrepeat (125)\n    go to x: (-209) y: (-111)\nend\n\nwhen I receive [\[intro\]end v]\nshow\ngo to x: (-209) y: (-111)\n\nwhen flag clicked\nforever\n    if <touching color (#9e0000)?> then\n        go to x: (-209) y: (-190)\n    end\n    if <touching color (#c20000)?> then\n        go to x: (-209) y: (-190)\n    end\n    if <touching color (#0027ff)?> then\n        go to x: (-209) y: (-190)\n    end\nend\n\nwhen I receive [\[intro\]spin v]\nhide\n\nwhen flag clicked\nwait (1.3) seconds\nhide\n\nwhen flag clicked\nforever\n    if <(y position) = [-184]> then\n        go to x: (-209) y: (‐190)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00c1ff)?> then\n        next backdrop\n        go to x: (-209) y: (‐190)\n        change [ステージ v] by (1)\n    end\nend\n\nwhen I receive [\[intro\]end v]\nrepeat (20)\n    go to x: (-193) y: (60)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffaf1d)?> then\n        next backdrop\n        go to x: (-209) y: (‐190)\n        set [ステージ v] to [266]\n    end\nend\n\nwhen I receive [206 v]\ngo to x: (-206) y: (-99)\n\nset [ステージ v] to [75]\n\n@intro\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (logo v)\n    repeat until <[101] > (size)>\n        switch costume to (bit v)\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (logo v)\n    end\n    repeat until <[66] > (size)>\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n    end\n    set [clone_dir v] to [0.5]\n    repeat until <(size) > [100]>\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n    end\n    repeat (7)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n        switch costume to (logo v)\n    end\n    hide\n    switch costume to (square1 v)\n    set [cloneid v] to [square2]\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    set [cloneid v] to [square3]\n    create clone of (_myself_ v)\n    set [cloneid v] to [kirbyzaz]\n    create clone of (_myself_ v)\n    set [cloneid v] to [back3]\n    create clone of (_myself_ v)\n    repeat (8)\n        set [clone_size v] to [50]\n        set [cloneid v] to [square1]\n        create clone of (_myself_ v)\n        set [cloneid v] to [back2]\n        create clone of (_myself_ v)\n        broadcast (\[INTRO\]size v)\n        switch costume to (square1 v)\n        wait (0.561) seconds\n    end\n    broadcast (\[INTRO\]spin v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (blackbar1 v)\n    repeat until <[175] > (size)>\n        switch costume to (bit v)\n        change size by (((174) - (size)) / (6.9))\n        change [clone_dir v] by (((65) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (back v)\n    end\n    set [clone_dir v] to [0.5]\n    repeat (15)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        switch costume to (back v)\n        turn right ((clone_dir) / (12)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [b1]> then\n    switch costume to (blackbar1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((125) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((-1) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    broadcast (\[INTRO\]end v)\nend\n\nwhen I start as a clone\nif <(cloneID) = [b2]> then\n    switch costume to (blackbar2 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((-125) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((1) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nreset timer\nstart sound [Foxsky - Kirby Smash v]\nwait (0.7) seconds\nhide\nset [cloneid v] to [b1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [b2]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [cloneid v] to [back]\ncreate clone of (_myself_ v)\nset [cloneid v] to [logo]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [square1]> then\n    go to [back v] layer\n    go [forward v] (3) layers\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((clone_size) - (size)) / (5))\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by (((clone_size) - (size)) / (5))\n        switch costume to (clone_cos)\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back2]> then\n    switch costume to (back2 v)\n    clear graphic effects\n    set [ghost v] effect to (50)\n    show\n    go to [front v] layer\n    repeat (25)\n        change [ghost v] effect by (2)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (back3 v)\n    set [s v] to [90]\n    show\n    set [clone_dir v] to [90]\n    \n        switch costume to (bit v)\n        set size to (100) %\n        go to [back v] layer\n        change [clone_dir v] by (((s) - (clone_dir)) / (5))\n        point in direction (clone_dir)\n        switch costume to (back3 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [square3]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [square2]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\]size v]\nif < (cloneID) contains [square]?> then\n    if <[350] < (clone_dir)> then\n        set [clone_dir v] to [0]\n    end\n    change [clone_size v] by ((clone_size) * (1.5))\n    change [clone_dir v] by (22.5)\nend\nif <(cloneID) = [back3]> then\n    change [s v] by (90)\nend\n\nwhen I receive [\[intro\]spin v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [kirbyzaz]> then\n    set [clone_cos v] to (pick random (5) to (10))\n    change size by (30)\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [kirbyzaz]> then\n    show\n    set [clone_dir v] to [90]\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (bit v)\n    set size to (200) %\n    switch costume to (yourname v)\n    \n        switch costume to (bit v)\n        change size by (((120) - (size)) / (5))\n        switch costume to (yourname v)\n        go to [front v] layer\n        go [backward v] (2) layers\n    end\nend\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [b1]> then\n    set [clone_cos v] to [2]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\nif <(cloneID) = [b2]> then\n    set [clone_cos v] to [-5]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I receive [\[intro\]end v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n    wait (1) seconds\n    if <(cloneID) = [b1]> then\n        change y by (1.5)\n        repeat until <(y position) > [200]>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar1 v)\n        end\n    else\n        change y by (-1.5)\n        repeat until <[-200] > (y position)>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar2 v)\n        end\n    end\n    delete this clone\nelse\n    hide\n    delete this clone\nend\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (-13) y: (-6)\nrepeat (10)\n    hide\nend\n\nwhen I receive [\[intro\]end v]\nhide\n\nwhen I receive [\[intro\]size v]\nhide\n\nwhen flag clicked\nforever\n    if <[3] = (ステージ)> then\n        show\n        switch costume to (コスチューム4 v)\n    end\n    if <[4] = (ステージ)> then\n        show\n        switch costume to (コスチューム4 v)\n    end\n    if <[5] = (ステージ)> then\n        show\n        switch costume to (コスチューム2 v)\n    end\n    if <[5] = (ステージ)> then\n        show\n        switch costume to (コスチューム2 v)\n    end\n    if <[6] = (ステージ)> then\n        hide\n    end\n    if <[7] = (ステージ)> then\n        show\n        switch costume to (コスチューム5 v)\n        go to x: (210) y: (-9)\n    end\n    if <[8] = (ステージ)> then\n        switch costume to (コスチューム5 v)\n        go to x: (210) y: (-9)\n        hide\n    end\n    if <[10] = (ステージ)> then\n        show\n        switch costume to (コスチューム3 v)\n        go to x: (168) y: (120)\n    end\n    if <[11] = (ステージ)> then\n        switch costume to (コスチューム6 v)\n        go to x: (3) y: (-1)\n    end\n    if <[12] = (ステージ)> then\n        hide\n    end\n    if <[13] = (ステージ)> then\n        hide\n    end\n    if <[14] = (ステージ)> then\n        show\n        go to x: (-41) y: (2)\n        switch costume to (コスチューム4 v)\n    end\n    if <[15] = (ステージ)> then\n        show\n        switch costume to (コスチューム7 v)\n        go to x: (-36) y: (68)\n    end\n    if <[16] = (ステージ)> then\n        hide\n    end\n    if <[44] = (ステージ)> then\n        switch costume to (コスチューム6 v)\n        show\n        go to x: (24) y: (6)\n    end\n    if <[45] = (ステージ)> then\n        hide\n    end\n    if <[47] = (ステージ)> then\n        switch costume to (コスチューム4 v)\n        show\n        go to x: (100) y: (-27)\n    end\n    if <[48] = (ステージ)> then\n        hide\n    end\n    if <[52] = (ステージ)> then\n        switch costume to (コスチューム9 v)\n        go to x: (37) y: (54)\n        show\n    end\n    if <[53] = (ステージ)> then\n        switch costume to (コスチューム1 v)\n        go to x: (80) y: (18)\n        show\n    end\n    if <[54] = (ステージ)> then\n        switch costume to (コスチューム1 v)\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\n\ngo to x: (30) y: (90)\n\n@Screenshot 2022-09-18 03\n\nwhen flag clicked\ngo to [front v] layer\nshow\nwait (1) seconds\nhide\n\nwhen I receive [\[intro\]end v]\nhide\n\nwhen I receive [\[intro\]size v]\nhide\n\nchange [color v] effect by (25)\n\n@演出\n\nwhen I start as a clone\nshow\nset [動く v] to [0]\ngo to x: (pick random (-220) to (220)) y: (180)\nswitch costume to (コスチューム1 v)\nforever\n    repeat until <(動く) = [2]>\n        change [動く v] by (0.5)\n    end\n    repeat until <(動く) = [-2]>\n        change [動く v] by (-0.5)\n    end\nend\n\nwhen I start as a clone\nforever\n    change y by (-5)\n    change x by (動く)\n    turn left (15) degrees\n    change [color v] effect by (10)\n    if <(y position) = [-180]> then\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(ステージ) = [75]> or <<(ステージ) = [266]> or <(ステージ) = [999]>>> then\n        wait (1) seconds\n        set [ghost v] effect to (50)\n        forever\n            create clone of (_myself_ v)\n            wait (0.05) seconds\n        end\n    end\nend\n\n@コスチューム18\n\nwhen [x v] key pressed\nshow\nstart sound [Dun Dun Dunnn v]\nwait (3) seconds\nhide\n\n
New levels coming soon. All level are possible\n\nINSTRUCTIONS\nArrow keys to move.\n\nMY YT Channel\nhttps://www.youtube.com/channel/UCgidyiUnT3sJkP6w7SfFTLA/?sub_confirmation=1