Jumber Jump - A Platformer
@Stage\n\nwhen flag clicked\nbroadcast (game start v)\nswitch backdrop to (start screen v)\nforever\n    play sound [bensound-house.mp3 v] until done\nend\n\nwhen backdrop switches to [level 16 v]\nbroadcast (coin move v)\n\nwhen backdrop switches to [level 23 v]\nbroadcast (bouncers v)\n\nwhen backdrop switches to [level 24 v]\nbroadcast (hide bouncers v)\n\nwhen backdrop switches to [level 25 v]\nbroadcast (bouncers v)\n\nwhen backdrop switches to [level 29 v]\nbroadcast (back to ground coin v)\n\nwhen backdrop switches to [level 30 v]\nbroadcast (coin move v)\n\nwhen backdrop switches to [level 35 v]\nbroadcast (sliding platform v)\n\nwhen backdrop switches to [level 39 v]\nbroadcast (back to ground coin v)\n\nwhen I receive [close parachute v]\nnext backdrop\n\nwhen backdrop switches to [level 45 v]\nbroadcast (caves v)\n\nwhen I receive [intocaves v]\nnext backdrop\n\nwhen backdrop switches to [rocket ride v]\nbroadcast (rocket v)\n\nwhen backdrop switches to [level 46 v]\nbroadcast (coinmove2 v)\n\nwhen backdrop switches to [level 49 v]\nbroadcast (back to ground coin v)\n\nwhen backdrop switches to [end \(for now\) v]\nbroadcast (goaway v)\n\nwhen backdrop switches to [end \(for now\) v]\n\nwhen backdrop switches to [level 52 v]\nbroadcast (coinmove2 v)\n\nwhen backdrop switches to [level 55 v]\nbroadcast (coin move v)\n\nwhen backdrop switches to [level 56 v]\nbroadcast (coinmove2 v)\n\nwhen backdrop switches to [level 54 v]\nbroadcast (back to ground coin v)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\n\nwhen I receive [game start v]\nswitch costume to (costume1 v)\ngo to x: (-222) y: (0)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <touching (null v)?> then\n                                change x by (Change)\n                            end\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 y by (Yv)\n    if <touching color (#000008)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (null v)?> then\n        change x by (Change)\n    end\n    if <touching color (#000008)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [game start v]\nforever\n    if <touching (sprite1 v)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-220) y: (0)\n    end\nend\n\nwhen I receive [death v]\ngo to x: (-220) y: (0)\n\nwhen I receive [game start v]\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (death v)\n    end\nend\n\nwhen I receive [rocket v]\nforever\n    if <touching (spaceship v)?> then\n        broadcast (rocket move v)\n    end\nend\n\nwhen backdrop switches to [level 44 v]\nbroadcast (parachute v)\n\nwhen I receive [parachute v]\nrepeat (3)\n    switch costume to (costume2 v)\n    go to x: (4) y: (160)\n    glide (5) secs to x: (6) y: (-180)\nend\nbroadcast (close parachute v)\nstop [this script v]\n\nwhen I receive [close parachute v]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\n\nwhen I receive [game start v]\nforever\n    if <touching color (#ce0000)?> then\n        go to x: (-222) y: (0)\n        broadcast (death v)\n    end\nend\n\nwhen I receive [goaway v]\nhide\n\nwhen [r v] key pressed\ngo to x: (-222) y: (0)\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (210) y: (-139)\nhide\n\nwhen I receive [message1 v]\nshow\n\nwhen I receive [coin move v]\ngo to x: (172) y: (100)\n\nwhen I receive [back to ground coin v]\ngo to x: (210) y: (-139)\n\nwhen I receive [parachute v]\nhide\n\nwhen I receive [close parachute v]\nshow\n\nwhen backdrop switches to [level 29 v]\nshow\n\nwhen I receive [coinmove2 v]\ngo to x: (228) y: (27)\n\nwhen I receive [goaway v]\nhide\n\n@Sprite3\n\nwhen this sprite clicked\nhide\nswitch backdrop to (level 1 v)\nbroadcast (message1 v)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch backdrop to (start screen v)\n\n@Sprite4\n\nwhen flag clicked\nhide\ngo to x: (-71) y: (-113)\nswitch costume to (costume2 v)\n\nwhen I receive [bouncers v]\nshow\nswitch costume to (costume1 v)\nforever\n    glide (0.5) secs to x: (-70) y: (-80)\n    glide (0.5) secs to x: (-71) y: (-113)\nend\n\nwhen I receive [hide bouncers v]\nhide\nstop [other scripts in sprite v]\n\nwhen backdrop switches to [level 26 v]\nhide\nstop [other scripts in sprite v]\n\n@Spaceship\n\nwhen backdrop switches to [rocket ride v]\ngo to x: (-54) y: (-27)\nshow\nswitch costume to (spaceship-a v)\n\nwhen flag clicked\nhide\nswitch costume to (spaceship-a v)\n\nwhen I receive [rocket move v]\nnext costume\nglide (1) secs to x: <touching (_edge_ v)?> y: (180)\n\nwhen backdrop switches to [level 29 v]\nhide\nswitch costume to (spaceship-a2 v)\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        switch backdrop to (level 29 v)\n    end\nend\n\nwhen backdrop switches to [level 29 v]\nstop [other scripts in sprite v]\n\nwhen I receive [rocket v]\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (rocket move v)\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\ngo to x: (-146) y: (-80)\nswitch costume to (costume2 v)\n\nwhen I receive [sliding platform v]\nshow\nswitch costume to (costume1 v)\nforever\n    glide (0.7) secs to x: (-146) y: (-80)\n    glide (0.7) secs to x: (6) y: (-80)\nend\n\nwhen backdrop switches to [level 36 v]\nhide\nswitch costume to (costume2 v)\n\n
Arrow keys to move. This game was created September 29, 2018. R to restart level.\nYou can remix and create a new level and if I like it I may put it in the game\nPropose this to be featured here: https://scratch.mit.edu/studios/4228481/\n\n\n