LEGO Platformer
@Stage\n\nwhen I receive [書く v]\nswitch backdrop to (背景2 v)\n\nwhen I receive [上行ってー v]\nswitch backdrop to (背景1 v)\n\nwhen I receive [スタート v]\nswitch backdrop to (背景1 v)\n\nwhen I receive [ずっと鳴らして v]\nset volume to (5) %\nforever\n    play sound [my-song-16 v] until done\nend\n\nwhen flag clicked\nbroadcast (選択 v)\n\nwhen flag clicked\nhide variable [time: v]\n\n@プレイヤー\n\nwhen flag clicked\n\nbroadcast (スタート v)\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-1.5)\nend\ndelete this clone\n\nwhen I receive [書く v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [スタート v]\nset volume to (10) %\nclear graphic effects\nset size to (30) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-0.5)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (0.5)\n        point in direction (90)\n    end\n    if <<(ステージ) = [1]> and <touching color (#9bff59)?>> then\n        set [x v] to ((x) * (0.92))\n    else\n        set [x v] to ((x) * (0.88))\n    end\n    change x by (x)\n    if <touching color (#9bff59)?> then\n        change y by (1)\n        if <touching color (#9bff59)?> then\n            change y by (1)\n            if <touching color (#9bff59)?> then\n                change y by (1)\n                if <touching color (#9bff59)?> then\n                    change y by (1)\n                    if <touching color (#9bff59)?> then\n                        change y by (1)\n                        if <touching color (#9bff59)?> then\n                            change y by (1)\n                            if <touching color (#9bff59)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-5]\n                                    else\n                                        set [x v] to [5]\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    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#9fff58)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching color (#9bff59)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [12]\n    end\n    change y by (1)\n    if <<(y position) < [-175]> or <touching color (#ff5858)?>> then\n        if <(クリあ) = [0]> then\n            start sound [Teleport2 v]\n            repeat (15)\n                change [ghost v] effect by (5)\n                change [brightness v] effect by (5)\n            end\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            show\n        end\n    end\n    if <[239] < (x position)> then\n        if <not <(ステージ) = [2]>> then\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            show\n            broadcast (次 v)\n            broadcast (ステージこうしん v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ばね v)?> then\n        start sound [jump-anime1 v]\n        set [y v] to [22.5]\n    end\nend\n\nbroadcast (選択 v)\n\nwhen I receive [クリア v]\nset [クリあ v] to [1]\n\nwhen flag clicked\nset [クリあ v] to [0]\n\n@スプライト1\n\nwhen I receive [次 v]\nnext costume\nif <(costume [number v]) = [10]> then\n    broadcast (クリア v)\n    start sound [Cheer v]\n    if <(language::translate) = [日本語]> then\n        switch costume to (コスチューム6 v)\n    else\n        switch costume to (コスチューム11 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@スプライト2\n\nwhen I receive [次 v]\nset [今数 v] to [0]\n\nwhen flag clicked\nset [クローン v] to [0]\nerase all\nhide\nset [今数 v] to [0]\nset [全体 v] to [155]\n\ndefine 描画\ngo to x: (0) y: (0)\nbroadcast (消えて v)\nrepeat (([floor v] of (((全体) - (今数)) / (5)) ) + (1))\n    create clone of (_myself_ v)\n    change x by (5)\nend\n\nwhen I receive [書く v]\nforever\n    描画\nend\n\nwhen I receive [上行ってー v]\nif <(クローン) = [はい]> then\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    broadcast (消えろ v)\nend\n\nwhen I start as a clone\nshow\nset [クローン v] to [はい]\n\nwhen I receive [消えて v]\ndelete this clone\n\nwhen I receive [書く v]\nforever\n    set [color v] effect to ((0) - ((今数) / (3)))\n    if <(全体) = (今数)> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwait (1) seconds\n\nwhen I receive [消えろ v]\ndelete this clone\n\n@スプライト3\n\ndefine タップ\nwait until <<mouse down?> and <touching (mouse-pointer v)?>>\nwait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n\nwhen I start as a clone\nset [クローン v] to [はい]\nif <(costume [number v]) = [6]> then\n    forever\n        タップ\n        start sound [ポップ v]\n        erase all\n        set [今数 v] to [0]\n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [スタート v]\nif <(クローン) = [はい]> then\n    delete this clone\nend\n\nif <(costume [number v]) = [3]> then\n    go to x: (0) y: (80)\n    repeat (8)\n        change y by (-10)\n    end\nend\n\nwhen I receive [上行ってー v]\ndelete this clone\n\nwhen I receive [スタート v]\nset [1回目？ v] to [はい]\nset [クローン v] to [0]\ngo to x: (0) y: (0)\nforever\n    set [いま v] to [プレイ中]\n    switch costume to (コスチューム1 v)\n    タップ\n    start sound [ポップ v]\n    go to x: (0) y: (0)\n    repeat (6)\n        change y by (10)\n    end\n    hide\n    wait (0.5) seconds\n    switch costume to (コスチューム5 v)\n    show\n    repeat (6)\n        change y by (-10)\n    end\n    broadcast (書く v)\n    set [いま v] to [編集中]\n    switch costume to (コスチューム3 v)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム6 v)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム2 v)\n    タップ\n    start sound [ポップ v]\n    broadcast (上行ってー v)\n    switch costume to (コスチューム5 v)\n    repeat (6)\n        change y by (10)\n    end\n    hide\n    wait (0.5) seconds\n    show\n    go to x: (0) y: (60)\n    show\n    switch costume to (コスチューム1 v)\n    repeat (6)\n        change y by (-10)\n    end\n    broadcast (スタート v)\nend\n\n@スプライト4\n\nwhen I receive [スタート v]\nhide\nif <(難易度) = [1]> then\n    set [減る量 v] to [1]\nend\nif <(難易度) = [2]> then\n    set [減る量 v] to [4]\nend\nif <(難易度) = [3]> then\n    set [減る量 v] to [10]\nend\n\nwhen I receive [書く v]\nforever\n    hide\n    wait until <mouse down?>\n    go to (mouse-pointer v)\n    show\n    if <touching (スプライト3 v)?> then\n        pen up\n    else\n        if <(今数) > ((全体) - (1))> then\n            pen up\n        else\n            pen down\n            change [今数 v] by (減る量)\n        end\n    end\n    repeat until <not <mouse down?>>\n        point towards (mouse-pointer v)\n        if <(distance to [mouse-pointer v]) > [10]> then\n            move (10) steps\n            if <touching (スプライト3 v)?> then\n                pen up\n            else\n                if <(今数) > ((全体) - (1))> then\n                    pen up\n                    broadcast (もう無理よ v)\n                else\n                    pen down\n                    change [今数 v] by (減る量)\n                end\n            end\n        end\n    end\n    pen up\nend\n\nwhen I receive [上行ってー v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [次 v]\nerase all\n\nwhen flag clicked\nset pen color to (#9eff59)\nset pen size to (10)\n\nwhen I receive [選択 v]\nerase all\n\n@スプライト5\n\ndefine クローン\nshow\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1！ v)\ncreate clone of (_myself_ v)\nrepeat (3)\n    go to [front v] layer\n    next costume\n    create clone of (_myself_ v)\n    change y by (-50)\nend\nhide\n\nwhen I start as a clone\nif < (costume [name v]) contains [b]?> then\n    if <(language::translate) = [日本語]> then\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    start sound [ポップ v]\n    set [難易度 v] to ((costume [number v]) - (1))\n    broadcast (Kaisi v)\n    broadcast (スタート v)\n    broadcast (ずっと鳴らして v)\nend\nif < (costume [name v]) contains [！]?> then\n    if <(language::translate) = [日本語]> then\nend\n\nwhen I receive [スタート v]\ndelete this clone\n\nwhen I receive [選択 v]\nクローン\n\nbroadcast (次 v)\n\nwhen I receive [kaisi v]\nshow variable [time: v]\nreset timer\nforever\n    set [タイム v] to ([floor v] of (timer) )\n    repeat until <(length of (タイム)) = [4]>\n        set [タイム v] to (join [ ] (タイム))\n    end\n    set [time: v] to (タイム)\nend\n\nwhen I receive [クリア v]\nstop [other scripts in sprite v]\n\n@スプライト7\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@スプライト8\n\ngo to [back v] layer\n\nwhen I receive [書く v]\nshow\n\nwhen I receive [スタート v]\nhide\n\nwhen I receive [上行ってー v]\nhide\n\n@スプライト6\n\nwhen I receive [次 v]\nnext costume\n\nstamp\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nset [ghost v] effect to (100)\n\n@紙吹雪・改\n\ndefine 紙吹雪 (大きさ)\nset [color v] effect to (pick random (0) to (199))\nset [ghost v] effect to (pick random (5) to ((125) - (大きさ)))\ngo to x: (pick random (-240) to (240)) y: (180)\nrepeat until <(y position) < [-179]>\n    change x by (pick random ((大きさ) / (-30)) to ((大きさ) / (30)))\n    change y by (pick random ((大きさ) / (30)) to ((大きさ) / (-5)))\n    turn right (pick random (-30) to (30)) degrees\n    set size to (pick random ((大きさ) - (30)) to ((大きさ) + (30))) %\n    change [ghost v] effect by (pick random (1) to (-1))\n    set [brightness v] effect to (pick random ((大きさ) / (-2)) to ((大きさ) / (3)))\nend\n\nwhen I start as a clone\nshow\n紙吹雪 ((pick random (50) to (100)) - (pick random (0) to (15)))\ndelete this clone\n\nwhen I receive [クリア v]\nhide\nrepeat (100)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\nend\n\n
Huge thanks to @Tails-spin01 and @Stormshadow72 for recommending the game to be featured on the forums! I'm really thankful for your support. Make sure to check out their profiles if you want! :D\n\nPRESS R TO RESTART IF A GLITCH HAPPENS!\nThink the game is too hard? Try tail-spinning in the air and fly around.\n\nZ or Space to tailspin to interact with gameplay-elements like palmtrees, watering-cans, soda bottles and more! Be creative and experiment! :D\nControls in game. Though I'd like to add that you can do a double jump while tail-gliding with Felix, and you can run faster by holding the X-button and moving. R to restart.\n\nChicken Little has kidnapped the eggs. Felix the Fox, along with his new friend Robin the Rabbit, needs to go out and save them!