Eruption - Up/Down Platformer #Games #All
@Stage\n\n@lagbegone\n\n@Platforms\n\nwhen I receive [finish v]\nnext costume\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (costume3 v)\n\nwhen I receive [finish v]\nif <(costume [number v]) = [2]> then\n    broadcast (2 v)\nend\nif <(costume [number v]) = [3]> then\n    broadcast (3 v)\nend\nif <(costume [number v]) = [4]> then\n    broadcast (4 v)\nend\nif <(costume [number v]) = [5]> then\n    broadcast (End v)\nend\n\nwhen I receive [end v]\nforever\n    stop [other scripts in sprite v]\nend\n\n@StratfordJames\n\nwhen flag clicked\nforever\n    if <<key (p v) pressed?> and <not <(LEVEL) = [15]>>> then\n        wait until <not <key (p v) pressed?>>\n        broadcast (someone pressed S key v)\n        go to x: (-223) y: (-80)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (platforms v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (platforms v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (platforms v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) > [175]> then\n        broadcast (FINISH v)\n        go to x: (-195) y: (-80)\n    end\n    if <touching (heart and start v)?> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<<<touching (spikes v)?> or <touching (falling rocks v)?>> or <<touching (rising lava v)?> or <touching (lava blobs v)?>>> or > or <touching (lava blob horizontal v)?>> then\n        broadcast (die v)\n        go to x: (-195) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bounce pad v)?> then\n        set [y v] to [21]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Inferno2 v] until done\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-195) y: (-80)\n    end\nend\n\nwhen I receive [someone pressed s key v]\nchange [level v] by (1)\n\nwhen I receive [finish v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-195) y: (-80)\n\nwhen flag clicked\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-195) y: (-80)\nforever\n    create clone of (_myself_ v)\n    change [y v] by (-1)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        switch costume to (costume2 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        switch costume to (costume1 v)\n    end\n    set [x v] to ((x) * (0.85))\n    change x by (x)\n    if <touching (platforms v)?> then\n        fast\n        if <touching (platforms v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (platforms v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [10]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bounce pad v)?> then\n        play sound [Boing v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (n v) pressed?> then\n        wait until <not <key (n v) pressed?>>\n        broadcast (FINISH v)\n        go to x: (-195) y: (-80)\n    end\nend\n\nwhen I start as a clone\nrepeat (5)\n    change [ghost v] effect by (20)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [someone pressed skip button v]\nbroadcast (FINISH v)\ngo to x: (-195) y: (-80)\n\n@Rising Lava\n\nwhen flag clicked\ngo to x: (0) y: (20)\nforever\n    go to [front v] layer\n    change y by (0.25)\nend\n\nwhen I receive [die v]\ngo to x: (0) y: (20)\n\nwhen I receive [finish v]\ngo to x: (0) y: (20)\n\n@Falling Rocks\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [clone y v] to [0]\nset x to (pick random (230) to (-230))\nset y to (180)\nset [ghost v] effect to (0)\nswitch costume to (pick random (1) to (3))\nforever\n    turn right (pick random (2) to (10)) degrees\n    change y by (-7)\n    if <(y position) < [-160]> then\n        delete this clone\n    end\nend\n\nwhen I receive [die v]\ndelete this clone\n\nchange [clone y v] by (1)\nchange y by (clone y)\n\n@Text\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [finish v]\nnext costume\n\n@Spikes\n\nwhen I receive [finish v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume2 v)\n\nwhen I receive [finish v]\nif <(costume [number v]) = [9]> then\n    broadcast (End v)\nend\n\nwhen I receive [end v]\nforever\n    stop [other scripts in sprite v]\nend\n\ngo to [front v] layer\n\n@Background\n\nwhen flag clicked\nforever\n    show\n    go to [back v] layer\n    set [ghost v] effect to (50)\nend\n\nhide\n\n@Lava Shooters\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [4 v]\nhide\n\n@Lava Blobs\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nshow\nswitch costume to (costume1 v)\ngo to [back v] layer\ngo to x: (36) y: (-8)\nforever\n    glide (0.5) secs to x: (36) y: (87)\n    hide\n    wait (0.5) seconds\n    show\n    glide (0.5) secs to x: (36) y: (-8)\n    hide\n    wait (0.5) seconds\n    show\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [4 v]\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\n@Lava Blob Horizontal\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nshow\nswitch costume to (costume1 v)\ngo to [back v] layer\ngo to x: (239) y: (95)\nforever\n    glide (1) secs to x: (-230) y: (95)\n    go to x: (239) y: (95)\n    wait (1) seconds\nend\n\nhide\n\nwhen I receive [4 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n
Love and Fave and Follow\nN to skip\nUse arrow keys to move,\nMobile friendly.\nDodge the rocks falling down.\nDon't get caught by the lava!\n\nAdvertising Will be reported!!!\n\nStory: You were for some reason in a volcano when it started erupting. You must get up and out of there as soon as possible.\n