Explorer ||  A Mobile Friendly Platformer  #games #platformer #fun

Instructions:                                ✿   Explorer  ✿        \n                 ✿  A Mobile Friendly Platformer  ✿\n\nCheck this out: https://scratch.mit.edu/projects/465076493\n\nThis platformer was made on Halloween night, 2020\n\nHAD TO RESHARE BECAUSE THERE WAS GLITCH\n\nIT IS 100% POSSIBLE\n\nThis is my BEST GAME YET, and I spent 15+ hours on this, so if you appreciate my hard work in this please drop a ❤️ or ⭐️!\n\nIf it's laggy, it might be the fact that I used 1,000+ blocks and lots of sprites for this platformer.\n\nNo advertising or saying bad things about this game, or I will report.\n\nENJOY!!!\n\n                            ✦✦ How to play ✦✦\n\n➜ Press the left and right arrow keys to move and up to jump. A and D or tapping in the direction where you want to go woks, too.\n➜ Jump over spikes using the up arrow key. W or tapping above the player works as well.\n➜ Jumping onto trampolines give you a higher jump boost.\n➜ Advance to the next level by touching the edge.\n\n                                ✦✦ Notes ✦✦ \n\n➜10/28/20 Added title and Thumbnail\n➜10/30/20 Made the first 6 levels\n➜10/31/20 Finished the main details of the game\n➜11/2/20 Added sound effects\n➜11/4/20 Changed trampoline style\n➜11/5/20 Made the levels a bit more harder and changed the spike style\n➜11/6/20 Changed the platform style\n➜11/8/20 Added intro\n\n\n                                 ✦✦ Credits ✦✦\n\n➜ Thanks to @ChewingFruitGum for the Player sprite\n➜ Also thanks to @TNTCyclone for the skip and restart button code\n➜ @Soundburst for the game engine \n➜100% ART all by @TrentonTNT\n➜Thanks to @-PickleAnimator- for the Intro\n\n\n#games #games #games #games #games #games #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#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#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#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#games #games #games #games #games #gam

@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [end of intro v]\nswitch backdrop to (1 v)\nbroadcast (START v)\n\n@Platformer Engine\n\nwhen flag clicked\nbroadcast (alright bros let's go v)\n\nwhen I receive [alright bros let's go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (center2 v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [up v]\ngo to x: (-201) y: (-59)\n\nwhen I receive [restart v]\ngo to x: (-201) y: (-59)\n\nwhen I receive [start v]\nwait (0.5) seconds\nset [ghost v] effect to (0)\nshow\nswitch costume to (costume1 v)\nswitch backdrop to (lv1 v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-59)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv 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 <(x position) > (mouse x)>>> then\n        change [xv v] by (-1)\n        switch costume to (costume3 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n        change y by (1)\n        if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n            change y by (1)\n            if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n                change y by (1)\n                if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n                    change y by (1)\n                    if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n                        change y by (1)\n                        if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\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 [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 color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#35ff00)?> or <<touching color (#198000)?> or <<touching color (#7b7b7b)?> or <touching color (#804a00)?>>>> 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 [16]\n        end\n    end\n    if <<<touching color (#ff0000)?> or <touching color (#800000)?>> or <touching color (#8a8a8a)?>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <touching color (#fff700)?> then\n        start sound [Big Boing v]\n        set [yv v] to [20]\n    end\n    if <<(x position) > [-228]> and <(y position) < [-169]>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <(x position) = [248]> then\n        go to x: (-197) y: (-63)\n        broadcast (LEVEL UP! v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Skip\n\nwhen this sprite clicked\nnext backdrop\nbroadcast (up v)\n\nwhen I receive [start v]\nshow\nset [direction v] to [0]\ngo to x: (187) y: (-150)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (165) %\n    else\n        set size to (130) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\n    change [direction v] by (0.04)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [end v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Restart\n\nwhen this sprite clicked\nbroadcast (Restart v)\n\nwhen I receive [start v]\nshow\nset [direction v] to [0]\ngo to x: (108) y: (-149)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (165) %\n    else\n        set size to (130) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\n    change [direction v] by (0.04)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Sound\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [2]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\nwhen flag clicked\nhide\nset volume to (150) %\nset drag mode [not draggable v]\nswitch costume to (on v)\nset [brightness v] effect to (0)\ngo to [front v] layer\n\nwhen I receive [start v]\nshow\nset [direction v] to [0]\ngo to x: (27) y: (-149)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (165) %\n    else\n        set size to (130) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\n    change [direction v] by (0.04)\nend\n\nwhen I receive [end of intro v]\nforever\n    play sound [Plugged \(post mastering\) v] until done\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Love & Fav\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    wait (pick random (17) to (32)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nif <(Costume) > [0]> then\n    hide\n    stop [this script v]\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\ngo to x: (9) y: (-99)\n\nwhen backdrop switches to [5 v]\ngo to x: (-48) y: (-97)\n\nwhen backdrop switches to [6 v]\nhide\n\nwhen backdrop switches to [9 v]\nshow\ngo to x: (-166) y: (-76)\n\nwhen backdrop switches to [10 v]\nhide\n\nwhen backdrop switches to [8 v]\nshow\ngo to x: (-118) y: (-108)\n\n@Spikes\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen backdrop switches to [3 v]\nswitch costume to (costume2 v)\nshow\ngo to x: (13) y: (-9)\n\nwhen backdrop switches to [4 v]\nswitch costume to (costume1 v)\ngo to x: (69) y: (3)\n\nwhen backdrop switches to [5 v]\nswitch costume to (costume3 v)\ngo to x: (8) y: (-6)\n\nwhen backdrop switches to [6 v]\nswitch costume to (costume4 v)\ngo to x: (6) y: (4)\n\nwhen backdrop switches to [7 v]\nswitch costume to (costume5 v)\ngo to x: (0) y: (107)\n\nwhen backdrop switches to [8 v]\nswitch costume to (costume6 v)\ngo to x: (0) y: (107)\n\nwhen backdrop switches to [9 v]\nswitch costume to (costume7 v)\ngo to x: (0) y: (107)\n\nwhen backdrop switches to [10 v]\nswitch costume to (costume8 v)\ngo to x: (-66) y: (10)\n\nwhen backdrop switches to [11 v]\nswitch costume to (costume9 v)\ngo to x: (-36) y: (23)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [12 v]\nhide\n\nwhen backdrop switches to [15 v]\nshow\nswitch costume to (costume10 v)\ngo to x: (20) y: (12)\n\nwhen backdrop switches to [16 v]\nshow\nswitch costume to (costume11 v)\ngo to x: (20) y: (12)\n\n@Level tranzition\n\nwhen flag clicked\nhide\n\nwhen I receive [level up! v]\ngo [forward v] (1) layers\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-15)\nwait (0.6) seconds\nnext backdrop\nrepeat (5)\n    change x by (-80)\nend\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Chainsaw\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [10 v]\ngo to x: (-61) y: (-37)\nshow\nset size to (40) %\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen backdrop switches to [11 v]\ngo to x: (95) y: (-66)\n\nwhen backdrop switches to [12 v]\ngo to x: (128) y: (35)\n\nwhen backdrop switches to [14 v]\nshow\ngo to x: (67) y: (-98)\n\nwhen backdrop switches to [14 v]\nshow\ngo to x: (-16) y: (-88)\n\nwhen backdrop switches to [end v]\nhide\n\nwhen backdrop switches to [13 v]\nhide\n\nwhen backdrop switches to [15 v]\nhide\n\nwhen backdrop switches to [16 v]\nshow\ngo to x: (28) y: (87)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Chainsaw2\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [end v]\nhide\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen backdrop switches to [12 v]\nshow\ngo to x: (-16) y: (-61)\n\nwhen backdrop switches to [13 v]\nhide\n\nwhen backdrop switches to [14 v]\nshow\ngo to x: (-136) y: (82)\n\nwhen backdrop switches to [15 v]\nhide\n\nwhen backdrop switches to [16 v]\nshow\ngo to x: (242) y: (-50)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Chainsaw3\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen backdrop switches to [12 v]\nshow\ngo to x: (128) y: (127)\n\nwhen backdrop switches to [13 v]\nhide\n\nwhen backdrop switches to [14 v]\nshow\ngo to x: (83) y: (83)\n\nwhen backdrop switches to [15 v]\nhide\n\n@Chainsaw4\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen backdrop switches to [12 v]\nshow\ngo to x: (-19) y: (30)\n\nwhen backdrop switches to [13 v]\nhide\n\nwhen backdrop switches to [14 v]\nshow\ngo to x: (188) y: (-86)\n\nwhen backdrop switches to [15 v]\nhide\n\n@Chainsaw5\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen backdrop switches to [12 v]\nshow\ngo to x: (211) y: (-19)\n\nwhen backdrop switches to [13 v]\nhide\n\nwhen backdrop switches to [14 v]\nhide\n\nwhen backdrop switches to [15 v]\nhide\n\n@win banner\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen backdrop switches to [backdrop1 v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Sun\n\nwhen backdrop switches to [16 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [12 v]\nhide\n\nwhen I receive [end of intro v]\nshow\ngo to [back v] layer\nclear graphic effects\nswitch costume to (rays v)\ngo to x: (210) y: (170)\nforever\n    turn right (2) degrees\nend\n\n@Intro2\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Particles]> then\n    switch costume to (pick random (29) to (31))\n    set size to (pick random (50) to (150)) %\n    set [ghost v] effect to (pick random (0.) to (5.))\n    set [brightness v] effect to (pick random (-25.) to (100.))\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [x v] to (pick random (10.) to (12.))\n    set [i v] to (pick random (2.) to (9.))\n    go to [front v] layer\n    show\n    repeat until <touching (_edge_ v)?>\n        move (X) steps\n        change y by (I)\n        change [i v] by (-0.4)\n        set [x v] to ((X) * (0.95))\n    end\n    delete this clone\nend\n\ndefine Particles\nset [intro2: clone v] to [Particles]\nrepeat (50)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Name]> then\n    switch costume to (name v)\n    set size to (50) %\n    clear graphic effects\n    go to [front v] layer\n    go to x: (0) y: (-100)\n    point in direction (0)\n    show\n    repeat (50)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        change y by (((0) - (y position)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (10)\n        go to [front v] layer\n        change size by (I)\n        change [i v] by (join [-] (([abs v] of (I) ) / (2)))\n        turn right (I) degrees\n    end\n    switch costume to (logo v)\n    repeat (40)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (20)\n        go to [front v] layer\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n    end\n    delete this clone\nend\n\nwhen flag clicked\nreset timer\nhide\nstart sound [TIME MACHINE INTRO SONG v]\nset volume to (100) %\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [intro2: clone v] to [Square]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [intro2: clone v] to [Name]\ncreate clone of (_myself_ v)\nwait (0) seconds\nrepeat (2)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (4)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (2)\n    Spiral spline explosion\n    Rect\n    Spiral spline explosion\nend\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Square]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to x: (0) y: (300)\n    point in direction (0)\n    switch costume to (square v)\n    repeat (20)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    point in direction (90)\n    repeat (12)\n        next costume\n    end\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    wait (3) seconds\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((100) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    repeat (12)\n        switch costume to ((costume [number v]) - (1))\n        change size by (-5)\n    end\n    set [i v] to [-1]\n    repeat (20)\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n        change y by ((I) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Bursts]> then\n    switch costume to (lineexplosion1 v)\n    clear graphic effects\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [i v] to (pick random (1) to (3))\n    if <(I) = [1]> then\n        set [brightness v] effect to (100)\n    else\n        if <(I) = [2]> then\n            set [brightness v] effect to (25)\n        else\n            set [brightness v] effect to (-25)\n        end\n    end\n    show\n    set [i v] to [20]\n    Animate   x: [0] y: [0] size: [0] rotate: (pick random (-180) to (180)) speed: [1]\n    repeat (2)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n    end\n    repeat (10)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n        change [ghost v] effect by (10)\n        next costume\n    end\n    delete this clone\nend\n\ndefine Animate   x: (x) y: (y) size: (s) rotate: (r) speed: (s)\nchange x by (((round (x)) - (round (x position))) / (s))\nchange y by (((round (y)) - (round (y position))) / (s))\nchange size by (((round (s)) - (round (size))) / (s))\nturn right (((round (r)) - (round (direction))) / (s)) degrees\n\ndefine Spiral spline explosion\nset [intro2: clone v] to [Bursts]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\ndefine Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Rect\nset [intro2: clone v] to [Rect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Rect]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to (random position v)\n    point in direction (90)\n    switch costume to (background rect v)\n    repeat until <(round (size)) = [300]>\n        change size by (((300) - (size)) / (15))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Circle]> then\n    clear graphic effects\n    set [brightness v] effect to (100)\n    go to [front v] layer\n    go [backward v] (2) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\ndefine Circle\nset [intro2: clone v] to [Circle]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [intro2: clone v] to [Circle 2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Intro2: Clone) = [Circle 2]> then\n    clear graphic effects\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (8.7) seconds\nbroadcast (END OF INTRO v)\n\n