✅||Rainbow || A Platformer || Mobile Friendly ||✅

Instructions: " Oh No, Your Village Has Been Attacked By Bad Guys \nand they Are Coming For You. Now You Have To Escape\nFrom Them. Can You Help Our Player From Escaping From Bad Guys "\n\nLove And Fave The Project And Follow Me For More Games\n\nGive More Ideas In Comment Section I will add them.\n\n100+ Likes for Part 2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWrite " Rainbow OP " in Comments\n2021 ©COPYRIGHT ( Made By @BOSSandLOVELYBEAST)

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Alan Walker Force v] until done\nend\n\nwhen flag clicked\nswitch costume to (backdrop1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\n\n@00\n\nwhen flag clicked\nset [levels v] to [1]\ngo to x: (-219) y: (-122)\nshow\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n        switch costume to (3 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (2 v)\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((X Velocity) * (0.9))\n    change x by (X Velocity)\n    if <touching (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((X Velocity) * (-1))\n                            change y by (-5)\n                            if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X Velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [8]\n                                end\n                                set [y velocity v] to [12]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (levels v)?> then\n        change y by ((Y Velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y velocity v] to [13]\n        end\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (4 v)\n        else\n            switch costume to (0 v)\n        end\n    end\n    if <key (r v) pressed?> then\n        go to x: (-219) y: (-122)\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    change [color v] effect by (10)\nend\n\nwhen flag clicked\nset size to (60) %\nforever\n    create clone of (_myself_ v)\n    wait (0.004) seconds\nend\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (0 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-219) y: (-122)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-219) y: (-122)\n    end\n    if <touching (saw v)?> then\n        go to x: (-219) y: (-122)\n    end\nend\n\ndefine CheckFallOffScreen\nif <(y position) < [-170]> then\n    go to x: (-219) y: (-122)\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [240]> then\n        go to x: (-219) y: (-122)\n        broadcast (Next Level v)\n    end\n    if <touching (lava v)?> then\n        go to x: (-219) y: (-122)\n    end\nend\n\nchange [levels v] by (1)\n\nchange [y velocity v] by (-1)\n\n@Thum\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nset [ghost effect v] to [0]\nset [ghost v] effect to (Ghost Effect)\nwait (2) seconds\nrepeat until <(Ghost Effect) = [100]>\n    change [ghost effect v] by (10)\n    set [ghost v] effect to (Ghost Effect)\nend\nhide\nset [ghost v] effect to (0)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset [stop timer v] to [0.1]\nforever\n    set [stop timer v] to ((timer) + (0.1))\nend\n\nwhen [timer v] > (Stop Timer)\ngo to x: (0) y: (300)\nshow\nglide (0.5) secs to x: (0) y: (0)\n\n@Levels\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\nchange [levels v] by (1)\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Saw\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    if <(Levels) = [1]> then\n        go to x: (12) y: (-127)\n        hide\n    end\n    if <(Levels) = [6]> then\n        show\n        set size to (100) %\n        point in direction (90)\n        glide (0.5) secs to x: (-69) y: (-124)\n        wait (0.5) seconds\n        glide (0.5) secs to x: (83) y: (-127)\n        wait (0.5) seconds\n    end\n    if <(Levels) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    turn right (12) degrees\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Lava\n\nwhen flag clicked\nforever\n    set [lava v] to [0]\n    repeat (10)\n        change [lava v] by (-1)\n    end\n    repeat (20)\n        change [lava v] by (1)\n    end\n    repeat (10)\n        change [lava v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (Lava)\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite1\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (Next Level v)\n\nwhen flag clicked\nforever\n    if <(Levels) = [9]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (0.5) seconds\n    set [ghost v] effect to (0)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    wait (0.5) seconds\nend\n\n