Code Blocks | Platformer | #All #Art #Animations #Games #Music #Stories 

Instructions: Hello!\n\nI'm @-BlazingWind- back with an platformer, "Code Blocks" . In part 1 of this platformer, we choose "Motion Blocks" . \n\nHope you like it :) \n\nIf you're a real champ,  ❤️ + ⭐️ this! After doing, comment "Real champ is here who loved and faved!\n-------------------------------------------------------------------------\nI'll add online mode and offline if this gets 500 loves and 450 favorites :)\n-------------------------------------------------------------------------\nThanks And Scratch On!

@Stage\n\nwhen flag clicked\nforever\n    play sound [New Life v] until done\nend\n\nwhen flag clicked\nset volume to (150) %\nswitch backdrop to (1 v)\n\nswitch backdrop to (背景2 v)\n\n@Player\n\nwhen flag clicked\nhide\nhide variable [x v]\nhide variable [y v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (player3 v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10.0000000000000000000000000000000000000000000000000000000000000000000000000777777777777777777777777777777777777777777777)\nend\ndelete this clone\n\nwhen I receive [スタート v]\npoint in direction (90)\nswitch costume to (player2 v)\nset rotation style [left-right v]\ngo to x: (-180) y: (-50)\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nclear graphic effects\nset [ステージ v] to [1]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (player v)\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [10]\n                                else\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\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 <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <touching (level v)?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [219]> then\n        set size to (100) %\n        go to x: (-207) y: (-77)\n        broadcast (Next v)\n    end\n    if <<touching (danger v)?> or <(y position) < [-182]>> then\n        if <not <(ステージ) = [15]>> then\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            set size to (100) %\n            point in direction (90)\n            set [ghost v] effect to (0)\n            go to x: (-207) y: (-77)\n        end\n        if <(ステージ) = [15]> then\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            set size to (100) %\n            point in direction (90)\n            set [ghost v] effect to (0)\n            go to x: (-96) y: (135)\n        end\n    end\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\nwhen I receive [裏ステージ v]\ngo to x: (-96) y: (135)\n\nhide\n\nwhen flag clicked\nswitch costume to (player v)\n\nwhen flag clicked\nchange [☁ who viewed this? v] by (1)\n\n@Level\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nshow\n\nhide\n\n@Danger\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nshow\n\nhide\n\n@2\n\n@TB\n\nwhen flag clicked\nforever\n    change [ghost v] effect by (25)\n    go to x: (3) y: (18)\n    go to [front v] layer\nend\n\n@Motion2\n\n@splash\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nhide\nforever\n    if <mouse down?> then\n        create clone of (_myself_ v)\n        wait until <not <mouse down?>>\n    end\nend\n\nwhen I start as a clone\nshow\ngo to (mouse-pointer v)\nset size to (0) %\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (((130) - (size)) * (0.1))\nend\ndelete this clone\n\n