Lava Land - A Platformer (Mobile Friendly) #games #all
@Stage\n\n@player\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    switch costume to (costume7 v)\n    change size by (-5)\n    change [ghost v] effect by (-5)\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (-200) y: (-100)\nset size to (80) %\nswitch costume to (costume1 v)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> 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 (platform v)?> or <touching (moving platforms v)?>> then\n        change y by (1)\n        if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n            change y by (1)\n            if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n                change y by (1)\n                if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n                    change y by (1)\n                    if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n                        change y by (1)\n                        if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> 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 [12]\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 (platform v)?> or <touching (moving platforms v)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (platform v)?> or <touching (moving platforms v)?>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [12]\n        end\n    end\n    if <touching (trampoline v)?> then\n        set [yv v] to [20]\n    end\n    change y by (1)\n    if <key (r v) pressed?> then\n        reset\n    end\n    if <<<(y position) < [-177]> or <<touching (spikes v)?> or <touching (lava v)?>>> or <touching (keeper’s trident v)?>> then\n        broadcast (Dead v)\n        start sound [Death v]\n        reset\n    end\nend\n\ndefine reset\ngo to x: (-200) y: (-100)\n\nwhen I receive [start v]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume1 v)\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n            switch costume to (costume4 v)\n        else\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [start v]\nforever\n    if <(y position) > [165]> then\n        change [level v] by (1)\n        broadcast (Next level! v)\n        reset\n    end\n    if <(level) = [10]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [gg! v]\nhide\nstop [other scripts in sprite v]\n\n@Platform\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (3) layers\nswitch costume to (costume1 v)\n\nwhen I receive [next level! v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (2) layers\nset [ghost v] effect to (0)\nwait (7.98) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (10)\nend\nbroadcast (start v)\n\n@Black screen\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    play sound [Elevate - TheFatRat v] until done\nend\n\nstop [this script v]\n\nwhen I receive [song music v]\n\nwhen I receive [next level! v]\nif <(level) = [10]> then\n    stop all sounds\n    stop [other scripts in sprite v]\n    broadcast (Song Music v)\n    forever\n        play sound [Final Battle v] until done\n    end\nend\n\nwhen I receive [gg! v]\nstop all sounds\nstop [other scripts in sprite v]\nstart sound [trim v]\n\n@Intro text\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nwait (1) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (-10)\nend\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Spikes\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nshow\n\n@Lava\n\nwhen flag clicked\ngo to x: (0) y: (-280)\nset [ghost v] effect to (100)\n\nwhen I receive [start v]\nforever\n    wait (0.25) seconds\n    next costume\nend\n\nwhen I receive [start v]\nbroadcast (Rise lava v)\n\nwhen I receive [next level! v]\nif <(level) = [10]> then\n    broadcast (Final Level v) and wait\nelse\n    go to x: (0) y: (-280)\n    set [ghost v] effect to (100)\n    broadcast (Rise lava v)\nend\n\nwhen I receive [dead v]\nif <(level) = [10]> then\n    broadcast (Final Level v)\nelse\n    go to x: (0) y: (-280)\n    set [ghost v] effect to (100)\n    broadcast (Rise lava v)\nend\n\nwhen I receive [rise lava v]\nwait (1) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (-10)\nend\nrepeat until <(y position) > [30]>\n    wait (0.001) seconds\n    change y by (3.5)\nend\n\nwhen I receive [final level v]\ngo to x: (0) y: (-280)\nset [ghost v] effect to (100)\nstop [other scripts in sprite v]\nwait (5) seconds\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (-10)\nend\nrepeat until <(y position) > [30]>\n    wait (0.001) seconds\n    change y by (1.75)\nend\n\n@Effects\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    wait (pick random (0.1) to (0.3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (pick random (50) to (100)) %\ngo to x: (pick random (-230) to (230)) y: (-180)\ngo to [back v] layer\nshow\nrepeat until <(y position) > [170]>\n    change y by (3)\nend\ndelete this clone\n\n@trampoline\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        switch costume to (1 v)\n        repeat (3)\n            next costume\n            wait (0.001) seconds\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n            wait (0.001) seconds\n        end\n    end\nend\n\nwhen I receive [next level! v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <(level) < [5]> then\n        hide\n    else\n        if <(level) = [5]> then\n            show\n            go to x: (-66) y: (-113)\n        else\n            if <(level) = [6]> then\n                show\n                go to x: (-132) y: (-109)\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [next level! v]\ndelete this clone\n\n@Text\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [next level! v]\nnext costume\n\n@Moving Platforms\n\nwhen I receive [final level v]\n\nwhen flag clicked\ndelete this clone\n\nrepeat (5)\nrepeat (5)\n\nwhen I start as a clone\nshow\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\ndefine Generate\ngo to x: (-156) y: (29)\nrepeat (2)\n    create clone of (_myself_ v)\n    change y by (-90)\nend\ngo to x: (-6) y: (29)\nrepeat (2)\n    create clone of (_myself_ v)\n    change y by (-90)\nend\ngo to x: (144) y: (29)\nrepeat (2)\n    create clone of (_myself_ v)\n    change y by (-90)\nend\n\nwhen I receive [next level! v]\nif <(level) = [10]> then\n    Generate\nend\n\nwhen I start as a clone\nforever\n    wait (pick random (0.5) to (2.5)) seconds\n    hide\n    wait (pick random (0.5) to (2.5)) seconds\n    show\nend\n\n@The Keeper\n\nwhen flag clicked\nhide\n\nwhen I receive [final level v]\nshow\n\n@Keeper’s Trident\n\nwhen flag clicked\nhide\n\nwhen I receive [final level v]\nshow\nforever\n    go to (the keeper v)\n    wait (1) seconds\n    point towards (player v)\n    repeat until <touching (_edge_ v)?>\n        move (8) steps\n    end\nend\n\n@Switch\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [song music v]\nshow\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        change [dead? v] by (1)\n        broadcast (GG??? v)\n        stop [this script v]\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nwait (1) seconds\ngo to [front v] layer\n\nwhen I receive [gg??? v]\nif <(Dead?) = [2]> then\n    broadcast (GG! v)\n    repeat (10)\n        wait (0.01) seconds\n        change [ghost v] effect by (-10)\n    end\nend\n\n@Switch2\n\nwhen flag clicked\nset [dead? v] to [0]\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [final level v]\n\nwhen I receive [song music v]\nshow\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        change [dead? v] by (1)\n        broadcast (GG??? v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [dead v]\n\n
Epic New Game!\nhttps://scratch.mit.edu/projects/511193394/\n\nLava Land - A Mobile Friendly Platformer\n\nYou are paying a visit to lava land, but you have a mission, which is to defeat the deadly demon that calls himself the Keeper of The Lava. To reach him, you must avoid obstacles including rising lava.\n\n—Instructions—\nReach the top of the level to move on to the next one\nArrow keys or WASD to move\nFinal Goal is to defeat the Keeper of The Lava\nTo defeat the boss, hit both the switches that are in either side of him\n\nWhat? #10 on #games ? 10K+ VIEWS???