Lavaland - A scrolling platformer #games #all
@Stage\n\nwhen flag clicked\nbroadcast (Begin v)\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [Goodbye v] until done\n    play sound [Jim Yosef - Reverse \[End of Time EP\] v] until done\n    play sound [Vicetone - United We Dance v] until done\n    play sound [vexento-masked-heroes-1-AHM56EBq6 \(1\) v] until done\nend\n\nwhen flag clicked\nbroadcast (Green Flag  v)\n\nwhen [m v] key pressed\nif <(volume) = [100]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\n@Anti - lag\n\n@Anti - lag2\n\n@Anti - lag3\n\n@Anti - lag4\n\n@Anti - lag5\n\n@Anti - lag6\n\n@Player\n\ndefine x coll\nchange x by (x spd)\nif <touching (ground v)?> then\n    set [x spd v] to [0]\nend\nset x to (0)\nchange [scroll x v] by (x position)\n\ndefine y coll <moving up?>\nrepeat until <not <touching (ground v)?>>\n    if <moving up?> then\n        change y by (-2)\n    else\n        change y by (2)\n        set [on ground? v] to <<key (up arrow v) pressed?> or <key (w v) pressed?>>\n    end\n    set [y spd v] to [0]\nend\nif <(on ground?) = [true]> then\n    set [y spd v] to [21]\nend\nchange [scroll y v] by (y position)\nset y to (0)\n\ndefine Physics\nswitch costume to (costume v)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x spd v] by (2)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x spd v] by (-2)\nend\nx coll\nset [x spd v] to ((x spd) * (0.8))\nchange [scroll x v] by (x spd)\nchange [y spd v] by (-2)\nset [on ground? v] to [0]\nchange y by (y spd)\ny coll <(y spd) > [0]>\nif <touching color (#b1b1b1)?> then\n    set [death v] to [True]\nend\nif <(Scroll y) < [-100]> then\n    set [death v] to [True]\nend\n\nwhen I receive [begin v]\nReset\nforever\n    repeat until <(death) = [True]>\n        Physics\n    end\n    Die\nend\n\ndefine Reset\nshow\nset [ghost v] effect to (0)\nset x to (0)\nset y to (0)\nset [x spd v] to [0]\nset [death v] to [False]\nset [y spd v] to [0]\nif <(Checkpoint no) = [0]> then\n    set [scroll y v] to [0]\n    set [scroll x v] to [0]\nelse\n    if <(Checkpoint no) = [1]> then\n        set [scroll y v] to [300]\n        set [scroll x v] to [1600]\n    end\nend\n\ndefine Die\nrepeat (3)\n    repeat (5)\n        change [ghost v] effect by (20)\n    end\n    repeat (5)\n        change [ghost v] effect by (-20)\n    end\nend\nbroadcast (Delete all v)\nbroadcast (Begin v)\nReset\n\nwhen I receive [lvl up!! v]\nReset\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [green flag  v]\nif <(death) = [True]> then\n    broadcast (Green Flag  v)\nend\n\nwhen flag clicked\nset [ci v] to [1]\nforever\n    if <key ((letter (ci) of [pjb]) v) pressed?> then\n        change [ci v] by (1)\n        if <(ci) > (length of [pjb])> then\n            set [scroll x v] to [1906]\n            set [scroll y v] to [286]\n        end\n    end\nend\n\n@Ground\n\ndefine Generate land at x: (x) y: (y) Switch to costume: (costume number)\nswitch costume to (costume number)\nchange [clone y v] by (y)\nchange [clone x v] by (x)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag  v]\nshow\nswitch costume to (level 1 part 1 v)\nset [clone x v] to [175]\nset [clone y v] to [167]\ncreate clone of (_myself_ v)\nif <(Level) = [1]> then\n    Generate land at x: [465] y: [180] Switch to costume: [3]\n    Generate land at x: [466] y: [-15] Switch to costume: [4]\n    Generate land at x: [612] y: [-35] Switch to costume: [5]\n    Generate land at x: [655] y: [-35] Switch to costume: [6]\n    Generate land at x: [600] y: [-35] Switch to costume: [7]\n    Generate land at x: [615] y: [-35] Switch to costume: [8]\nend\nhide\n\nwhen I start as a clone\nforever\n    set size to (400) %\n    go to x: ((CLONE X) - (Scroll x)) y: ((CLONE Y) - (Scroll y))\n    set size to (100) %\n    set [ghost v] effect to (99)\nend\n\nwhen I receive [lvl up!! v]\nchange [level v] by (1)\n\nwhen I receive [green flag  v]\nforever\n    set [x position v] to ((CLONE X) - (Scroll x))\n    set [y position v] to ((CLONE Y) - (Scroll y))\nend\n\n@Screen edge\n\n@Ground(Spikes + Narration)\n\ndefine Generate land at x: (x) y: (y) Switch to costume: (costume number)\nshow\nswitch costume to (costume number)\nchange [clone y v] by (y)\nchange [clone x v] by (x)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag  v]\nshow\nswitch costume to (level 1 part 1 v)\nset [clone x v] to [175]\nset [clone y v] to [167]\ncreate clone of (_myself_ v)\nif <(Level) = [1]> then\n    Generate land at x: [465] y: [180] Switch to costume: [3]\n    Generate land at x: [466] y: [-15] Switch to costume: [4]\n    Generate land at x: [612] y: [-35] Switch to costume: [5]\n    Generate land at x: [655] y: [-35] Switch to costume: [6]\n    Generate land at x: [600] y: [-35] Switch to costume: [7]\n    Generate land at x: [615] y: [-35] Switch to costume: [8]\n    Generate land at x: [614] y: [22] Switch to costume: [9]\nend\nhide\n\nwhen I start as a clone\nforever\n    set size to (400) %\n    go to x: ((CLONE X) - (Scroll x)) y: ((CLONE Y) - (Scroll y))\n    set size to (100) %\nend\n\nwhen I receive [lvl up!! v]\nchange [level v] by (1)\n\nwhen flag clicked\nshow\n\nwhen I receive [green flag  v]\nforever\n    set [x position v] to ((CLONE X) - (Scroll x))\n    set [y position v] to ((CLONE Y) - (Scroll y))\nend\n\n@TN\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (timer)\nset [ghost v] effect to (0)\nforever\n    go [forward v] (99) layers\nend\n\n@BackGround\n\ndefine Generate land at x: (x) y: (y) Switch to costume: (costume number)\nswitch costume to (costume number)\nchange [clone y v] by (y)\nchange [clone x v] by (x)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag  v]\nshow\nswitch costume to (level 1 part 1 v)\nset [clone x v] to [175]\nset [clone y v] to [167]\ncreate clone of (_myself_ v)\nif <(Level) = [1]> then\n    Generate land at x: [465] y: [180] Switch to costume: [3]\n    Generate land at x: [466] y: [-15] Switch to costume: [4]\n    Generate land at x: [612] y: [-35] Switch to costume: [5]\n    Generate land at x: [655] y: [-35] Switch to costume: [6]\n    Generate land at x: [600] y: [-35] Switch to costume: [7]\n    Generate land at x: [615] y: [-35] Switch to costume: [8]\nend\nhide\n\nwhen I start as a clone\nforever\n    set size to (400) %\n    go to x: ((CLONE X) - (Scroll x)) y: ((CLONE Y) - (Scroll y))\n    set size to (100) %\n    go to [back v] layer\nend\n\nwhen I receive [lvl up!! v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    show\nend\n\nwhen I receive [green flag  v]\nforever\n    set [x position v] to ((CLONE X) - (Scroll x))\n    set [y position v] to ((CLONE Y) - (Scroll y))\nend\n\n@Particles\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\npoint in direction (pick random (1) to (359))\nswitch costume to (pick random (1) to (5))\nset [ghost v] effect to (pick random (1) to (123))\nset [fisheye v] effect to (pick random (1) to (5))\nset size to (pick random (1) to (8.9)) %\ngo to x: (pick random (-269) to (269)) y: (80)\nglide (1) secs to x: (pick random (-269) to (269)) y: (28)\nchange y by (pick random (1) to (999))\nwait (0.1) seconds\nturn right (pick random (1) to (359)) degrees\nwait (0.1) seconds\nturn right ((pick random (1) to (359)) * (-1)) degrees\nwait (0.1) seconds\nset [ghost v] effect to (100)\n\n@Particles2\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\npoint in direction (pick random (1) to (359))\nswitch costume to (pick random (1) to (5))\nset [ghost v] effect to (pick random (1) to (123))\nset [fisheye v] effect to (pick random (1) to (5))\nset size to (pick random (1) to (8.9)) %\ngo to x: (pick random (-269) to (269)) y: (80)\nglide (1) secs to x: (pick random (-269) to (269)) y: (28)\nchange y by (pick random (1) to (999))\nwait (0.1) seconds\nturn right (pick random (1) to (359)) degrees\nwait (0.1) seconds\nturn right ((pick random (1) to (359)) * (-1)) degrees\nwait (0.1) seconds\nset [ghost v] effect to (100)\n\n@Checkpoint\n\ndefine Generate land at x: (x) y: (y) Switch to costume: (costume number)\nswitch costume to (costume number)\nchange [clone y v] by (y)\nchange [clone x v] by (x)\ncreate clone of (_myself_ v)\n\nwhen I receive [green flag  v]\nshow\nswitch costume to (blank v)\nset [clone x v] to [175]\nset [clone y v] to [167]\ncreate clone of (_myself_ v)\nif <(Level) = [1]> then\n    Generate land at x: [1400] y: [130] Switch to costume: [1]\nend\nhide\n\nwhen I start as a clone\nforever\n    set size to (400) %\n    go to x: ((CLONE X) - (Scroll x)) y: ((CLONE Y) - (Scroll y))\n    set size to (100) %\n    if <touching (player v)?> then\n        turn right (1) degrees\n        broadcast (Activated v)\n    end\nend\n\nwhen I receive [lvl up!! v]\nchange [level v] by (1)\n\nwhen I receive [green flag  v]\nforever\n    set [x position v] to ((CLONE X) - (Scroll x))\n    set [y position v] to ((CLONE Y) - (Scroll y))\nend\n\nwhen flag clicked\nset [checkpoint no v] to [0]\npoint in direction (90)\nforever\n    if <(Checkpoint no) > [1]> then\n        set [checkpoint no v] to [1]\n    end\nend\n\nwhen I receive [activated v]\nchange [checkpoint no v] by (1)\n\nwhen I receive [activated v]\nplay sound [Connect v] until done\n\n@REMINDER\n\nwhen flag clicked\nforever\n    hide\n    wait (pick random (19) to (27)) seconds\n    show\n    go to [front v] layer\n    set x to (310)\n    set y to (pick random (130) to (144))\n    point in direction (90)\n    repeat until <[120] > (x position)>\n        change x by (((x position) - (118)) / (-5))\n    end\n    wait (0.5) seconds\n    start sound [pop v]\n    repeat until <(x position) > [311]>\n        change x by (((x position) - (118)) / (5))\n    end\n    hide\nend\n\n
I spent abt 30 hours on this..\n~Instructions~\nMovement - WAD/< ^ >\nDo not touch spikes or fall off\nPlease drop a ❤️+⭐ if you enjoyed\nIf you enjoyed this,check out my other games and drop a follow(on my profile lol)\n\n~Shared one day before my birthday!!~\n\nThis project contains:\n➡️276 scripts\n➡️13 sprites\n➡️1 backdrop\n➡️4 songs\n\nIf you all think I did a good job,check this out -\nhttps://scratch.mit.edu/projects/481334337 \n\n#Tags (Ignore)\n#scrolling_platformer #scrolling_platformer #scrolling\n#PrimeGuy_1001 #PrimeGuy_1001 #PrimeGuy_1001\n#all #all #all #all #all #all #all #all #all #all #all #all #all\n#Lava #Lava #Lava #Lava #Lava #Lava #Lava #Lava\n#46 #46 #jramcomet #jramcomet #jramcomet #trending\n#trending #trending #trending #trending #Cool #cool\n#trending #trending #best #best #best  #best #best\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#lava #lava #lava #lava #lava_platformer #lava #platformer #lava #LAVA #scrolling #scrolling_platformer