Blue A Platformer 

Instructions: Welcome to Blue A platformer. Enjoy! There are 4 levels \nUse arrow keys to move.\nAvoid lava and spikes \nGet to the portal for the next level\n—————————————————————————\nMake sure to leave a like and follow for more games.

@Stage\n\n@Thumbnail \n\nwhen flag clicked\nshow\nwait (0.3) seconds\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Cube\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\nwait (0.4) seconds\nshow\n\nwhen flag clicked\ngo to x: (-201) y: (-142)\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        move (-5) steps\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [I'm Blue v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching (spike 1 v)?> then\n        go to x: (-201) y: (-142)\n        play sound [Pew v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        switch backdrop to (backdrop2 v)\n        go to x: (-201) y: (-142)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        repeat (10)\n            change y by (10)\n        end\n        wait (0.1) seconds\n        repeat (10)\n            change y by (-10)\n        end\n        set y to (-142)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-201) y: (-142)\n        play sound [Pew v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (coin  v)?> then\n        play sound [Collect v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 2 v)?> then\n        switch backdrop to (backdrop3 v)\n        go to x: (-201) y: (-142)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        go to x: (-201) y: (-142)\n        play sound [Pew v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        switch backdrop to (backdrop4 v)\n        go to x: (-201) y: (-142)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        move (5) steps\n        switch costume to (costume1 v)\n    end\nend\n\n@Spike 1\n\nwhen flag clicked\nhide\nwait (0.4) seconds\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@Portal\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\nwait (0.4) seconds\nshow\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        play sound [Teleport2 v] until done\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@Coin \n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\nwait (0.4) seconds\nshow\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        hide\n        play sound [Collect v] until done\n    end\nend\n\n@PORTAL 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (222) y: (-136)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        play sound [Teleport2 v] until done\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        play sound [Teleport2 v] until done\n    end\nend\n\nwhen flag clicked\ngo to x: (213) y: (-128)\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\n@Coin 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        hide\n        play sound [Collect v] until done\n    end\nend\n\nwhen flag clicked\ngo to x: (121) y: (-138)\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (203) y: (-131)\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (cube v)?> then\n        switch backdrop to (backdrop5 v)\n    end\nend\n\n@Particles\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\ngo to x: (pick random (-300) to (240)) y: (300)\nset size to (pick random (1) to (5)) %\nrepeat until <<touching color (#005fff)?> or <(y position) < [-150]>>\n    change y by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nhide\nwait (0.4) seconds\nshow\n\n