Jailbreak! (A platformer game)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch backdrop to (backdrop2 v)\n    else\n        switch backdrop to (backdrop1 v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nif on edge, bounce\nset size to (100) %\nforever\n    if <(x position) > [239]> then\n        broadcast (Next level v)\n        go to x: (-222) y: (-5)\n    end\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        say [You can't catch me!]\n    else\n        if <(Level) = [2]> then\n            say [Probably shouldn't touch that]\n        else\n            if <(Level) = [3]> then\n                say [Wow, i am a lot faster than i think]\n            else\n                if <(Level) = [4]> then\n                    say [Is is hot, or is it just me?]\n                else\n                    if <(Level) = [5]> then\n                        say [This kind of reminds me of a game]\n                    else\n                        if <(Level) = [6]> then\n                            say [Parkour Skills!]\n                        else\n                            if <(Level) = [7]> then\n                                say [Hmmmm...]\n                            else\n                                if <(Level) = [8]> then\n                                    say [Is it just me, or is that star in the sky missing? And when did the moon have a slice in it?]\n                                else\n                                    if <(Level) = [9]> then\n                                        say [Where does all this lava even Come From!]\n                                    else\n                                        if <(Level) = [10]> then\n                                            say [Here's the car, I can escape!]\n                                        else\n                                            if <(Level) = [11]> then\n                                                say [Woo Hoo! I escaped]\n                                            else\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite11 v)?> then\n        broadcast (Next level v)\n        go to x: (-222) y: (-5)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-222) y: (-5)\nshow\ngo to [front v] layer\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (obstacles v)?> then\n        change y by (1)\n        if <touching (obstacles v)?> then\n            change y by (1)\n            if <touching (obstacles v)?> then\n                change y by (1)\n                if <touching (obstacles v)?> then\n                    change y by (1)\n                    if <touching (obstacles v)?> then\n                        change y by (1)\n                        if <touching (obstacles v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (obstacles v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (obstacles v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        broadcast (Death v)\n        go to x: (-222) y: (-5)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (-222) y: (-5)\nshow\ngo to [front v] layer\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.8))\n    change x by (Xv)\n    if <touching (obstacles v)?> then\n        change y by (1)\n        if <touching (obstacles v)?> then\n            change y by (1)\n            if <touching (obstacles v)?> then\n                change y by (1)\n                if <touching (obstacles v)?> then\n                    change y by (1)\n                    if <touching (obstacles v)?> then\n                        change y by (1)\n                        if <touching (obstacles v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (obstacles v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (obstacles v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        broadcast (death v)\n        go to x: (-222) y: (-5)\n    end\nend\n\n@Obstacles\n\nwhen flag clicked\ngo to x: (-5) y: (-33)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Lava!\n\nwhen I receive [next level v]\nshow\nswitch costume to (costume3 v)\ngo to x: (-77) y: (-160)\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to x: (46) y: (-58)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) > [2]> then\n        hide\n    end\nend\n\n@Lava2!\n\nwhen flag clicked\ngo to x: (148) y: (-74)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (-24) y: (-97)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (-17) y: (-94)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (137) y: (-88)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (86) y: (-24)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) > [4]> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (-8) y: (1)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) > [6]> then\n        hide\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (2) y: (4)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (74) y: (-5)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite9\n\nwhen flag clicked\ngo to x: (171) y: (1)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite10\n\nwhen flag clicked\ngo to x: (80) y: (-30)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite11\n\nwhen flag clicked\ngo to x: (53) y: (-41)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite12\n\nwhen flag clicked\ngo to x: (-40) y: (32)\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite13\n\nwhen flag clicked\ngo to x: (-211) y: (-12)\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        show\n        say [Hey! Get back here!]\n    else\n        hide\n        say []\n    end\nend\n\n
You just escaped from prison!\nUse the arrow keys or wasd keys to move\nDon't touch the lava and make it to the end before the police catch you!\n\nJAILBREAK 2 IS OUT! MAKE SURE TO CHECK IT OUT!\n1000 views! 46 likes! 36 favorites! This is awesome!