Mountain / platformer

Instructions: Minefrank Platformer 3 \n\n➊ Use ARROW keys, WASD keys or touchscreen.\n➋ SPACEBAR or ACTION to chop, hit or craft.\n\nTONS of new franks and awesome new gameplay!\n__________________________________________\nMinefrank platformer 1 has a full in game tutorial:\nhttps://scratch.mit.edu/projects/332477974/\n__________________________________________\n\nFirst 100 to love and comment win chance to be added  to the credit crew!\n\n---------- IPad, tablet, and Frank friendly ---------\n\n-----------------------Search Tags-----------------------\n#games #minefrank  #platformer #platform #music #1 #2  #animation #atomicmagicfrank  #episode #mobile #earth #air #fire #ice #water #scrolling #2019 #awesome #cool #ipad   #android #frank\n---------------------------------------------------------------\nPro tip - to thank you for reading this stuff:\n\nHUGE BONUS CHESTS for completing levels FAST!\nMAX of 5 CHEST per level for ULTRA FAT players!\nYes, it is possible to get all the chests... but it is hard - getting even one chest a level is a huge achievement.

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [start game v]\nstop all sounds\nplay sound [Monody By TheFatRat v] until done\n\nwhen flag clicked\nplay sound [Windfall By: TheFatRat v] until done\n\n@Player\n\nwhen flag clicked\nset [deaths v] to [0]\nswitch costume to (smiley v)\nbroadcast (choose emoji v)\n\nwhen I receive [restart level v]\ngo to x: (Original X) y: (Original Y)\n\nwhen I receive [start game v]\nif <(costume [number v]) = [19]> then\n    repeat until <(backdrop [name v]) = [The End]>\n        change [color v] effect by (10)\n        wait (0.02) seconds\n    end\nend\n\nwhen flag clicked\nset [stars v] to [0]\nhide\n\nwhen I receive [choose emoji v]\nset [customize emoji? v] to [Yes]\ngo to x: (-10) y: (-30)\nset size to (420) %\nswitch costume to (smiley v)\nshow\nrepeat until <(Customize Emoji?) = [No]>\n    if <(Customize Emoji?) = [Yes]> then\n        if <key (space v) pressed?> then\n            next costume\n            wait (0.2) seconds\n        end\n    end\nend\n\nwhen this sprite clicked\nif <(Customize Emoji?) = [Yes]> then\n    next costume\n    wait (0.2) seconds\nend\n\nwhen I receive [start game v]\nforever\n    if <key (space v) pressed?> then\n        say (join (Deaths) [ deaths]) for (1.5) seconds\n    end\nend\n\nwhen this sprite clicked\nif <not <(Customize Emoji?) = [Yes]>> then\n    say (join (Deaths) [ deaths]) for (1.5) seconds\nend\n\nwhen I receive [next level v]\nwait (0.2) seconds\nif <(Level) = [11]> then\n    set [original x v] to [-240]\n    set [original y v] to [-80]\nend\nif <(Level) = [4]> then\n    set [original x v] to [-240]\n    set [original y v] to [-40]\nend\nif <(Level) = [14]> then\n    set [original x v] to [-240]\n    set [original y v] to [-70]\nend\nif <(Level) = [15]> then\n    set [original x v] to [-240]\n    set [original y v] to [-70]\nend\nif <(Level) = [10]> then\n    set [original x v] to [-190]\n    set [original y v] to [155]\nend\nif <(Level) = [13]> then\n    set [original x v] to [-240]\n    set [original y v] to [-60]\nend\nif <(Level) = [12]> then\n    set [original x v] to [-240]\n    set [original y v] to [-65]\nend\nif <(Level) = [5]> then\n    set [original x v] to [-240]\n    set [original y v] to [127]\nend\nif <(Level) = [17]> then\n    set [original x v] to [-240]\n    set [original y v] to [-40]\nend\nif <(Level) = [18]> then\n    set [original x v] to [-240]\n    set [original y v] to [-40]\nend\nif <(Level) = [20]> then\n    set [original x v] to [-240]\n    set [original y v] to [-40]\nend\nif <(Level) = [19]> then\n    set [original x v] to [-240]\n    set [original y v] to [-40]\nend\nif <(Level) = [17]> then\n    set [original x v] to [-240]\n    set [original y v] to [-70]\nend\nif <(Level) = [16]> then\n    set [original x v] to [-240]\n    set [original y v] to [-70]\nend\nif <(Level) = [3]> then\n    set [original x v] to [-240]\n    set [original y v] to [66]\nend\nif <(Level) = [2]> then\n    set [original x v] to [-240]\n    set [original y v] to [-43]\nend\nif <(Level) = [16]> then\n    set [original x v] to [-240]\n    set [original y v] to [120]\nend\ngo to x: (Original X) y: (Original Y)\n\nwhen I receive [start game v]\nset [original x v] to [-240]\nset [original y v] to [-40]\ngo to x: (-240) y: (-40)\nset size to (90) %\nshow\nset [x v] to [0]\nset [y v] to [0]\nrepeat until <(backdrop [name v]) = [18]>\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by (1)\n    end\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by (-4)\n        change x by ((X) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (X) ) = (X)> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (Y)\n    if <<touching color (#007b29)?> or <touching color (#000000)?>> then\n        change y by ((Y) - ((Y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<touching color (#007b29)?> or <touching color (#000000)?>>> then\n        if <touching (mini trampoline v)?> then\n            set [y v] to [20]\n        else\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching (death v)?> then\n        go to x: (Original X) y: (Original Y)\n        change [deaths v] by (1)\n    end\n    if <<(y position) = [-177]> or <<[-177] > (y position)> and <not <touching color (#ffff00)?>>>> then\n        go to x: (Original X) y: (Original Y)\n        change [deaths v] by (1)\n    end\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (next level v)\n        wait (0.02) seconds\n        go to x: (Original X) y: (Original Y)\n    end\n    if <touching (mountain v)?> then\n        if <(direction) = [90]> then\n            move (-2) steps\n        end\n    end\nend\n\ngo to x: (112) y: (-177)\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\nset [level v] to (costume [number v])\nwait (1) seconds\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start game v]\nswitch costume to (1 v)\nshow\n\n@Death\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [next level v]\nnext costume\nwait (1) seconds\n\nwhen I receive [start game v]\nswitch costume to (1 v)\nshow\n\n@Switch Emoji Words\n\nwhen flag clicked\nhide\n\nwhen I receive [choose emoji v]\ngo to x: (0) y: (110)\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [which device v]\nhide\n\n@Box\n\nwhen flag clicked\nhide\n\nwhen I receive [choose emoji v]\ngo to x: (0) y: (-50)\nshow\n\nwhen I receive [start game v]\nhide\n\nwhen I receive [start levels v]\nhide\n\n@Star1\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    if <touching (player v)?> then\n        hide\n        change [stars v] by (1)\n    end\nend\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [2]> then\n    go to x: (-10) y: (140)\n    show\nend\nif <(Level) = [17]> then\n    go to x: (100) y: (140)\n    show\nend\nif <(Level) = [15]> then\n    go to x: (45) y: (-70)\n    show\nend\nif <(Level) = [16]> then\n    go to x: (175) y: (150)\n    show\nend\nif <(Level) = [12]> then\n    go to x: (-60) y: (50)\n    show\nend\nif <(Level) = [13]> then\n    go to x: (-80) y: (0)\n    show\nend\nif <(Level) = [14]> then\n    go to x: (20) y: (80)\n    show\nend\nif <(Level) = [6]> then\n    go to x: (-120) y: (-70)\n    show\nend\nif <(Level) = [3]> then\n    go to x: (0) y: (70)\n    show\nend\nif <(Level) = [4]> then\n    go to x: (-15) y: (20)\n    show\nend\nif <(Level) = [5]> then\n    go to x: (-120) y: (-60)\n    show\nend\nif <(Level) = [7]> then\n    go to x: (12) y: (150)\n    show\nend\nif <(Level) = [10]> then\n    go to x: (50) y: (80)\n    show\nend\nif <(Level) = [17]> then\n    go to x: (100) y: (140)\n    show\nend\nif <(Level) = [15]> then\n    go to x: (45) y: (-70)\n    show\nend\nif <(Level) = [16]> then\n    go to x: (175) y: (150)\n    show\nend\nif <(Level) = [12]> then\n    go to x: (-60) y: (50)\n    show\nend\n\n@Star2\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    if <touching (player v)?> then\n        hide\n        change [stars v] by (1)\n    end\nend\n\nwhen backdrop switches to [backdrop12 v]\n\nwhen backdrop switches to [backdrop16 v]\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [14]> then\n    go to x: (120) y: (150)\n    show\nend\nif <(Level) = [13]> then\n    go to x: (80) y: (0)\n    show\nend\nif <(Level) = [12]> then\n    go to x: (70) y: (50)\n    show\nend\nif <(Level) = [16]> then\n    go to x: (-45) y: (50)\n    show\nend\nif <(Level) = [2]> then\n    go to x: (50) y: (100)\n    show\nend\nif <(Level) = [3]> then\n    hide\nend\nif <(Level) = [6]> then\n    go to x: (80) y: (-70)\n    show\nend\nif <(Level) = [10]> then\n    go to x: (-70) y: (80)\n    show\nend\nif <(Level) = [5]> then\n    go to x: (120) y: (-60)\n    show\nend\nif <(Level) = [12]> then\n    hide\nend\nif <(Level) = [6]> then\n    hide\nend\nif <(Level) = [11]> then\n    go to x: (-70) y: (150)\n    show\nend\n\n@Star3\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    if <touching (player v)?> then\n        hide\n        change [stars v] by (1)\n    end\nend\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [2]> then\n    go to x: (115) y: (50)\n    show\nend\nif <(Level) = [3]> then\n    hide\nend\nif <(Level) = [12]> then\n    hide\nend\nif <(Level) = [11]> then\n    go to x: (10) y: (150)\n    show\nend\n\n@Star4\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    if <touching (player v)?> then\n        hide\n        change [stars v] by (1)\n    end\nend\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [3]> then\n    hide\nend\nif <(Level) = [2]> then\n    go to x: (-130) y: (50)\n    show\nend\nif <(Level) = [12]> then\n    hide\nend\nif <(Level) = [11]> then\n    go to x: (90) y: (150)\n    show\nend\n\n@Star5\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nforever\n    if <touching (player v)?> then\n        hide\n        change [stars v] by (1)\n    end\nend\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [12]> then\n    hide\nend\nif <(Level) = [3]> then\n    hide\nend\nif <(Level) = [2]> then\n    go to x: (-70) y: (100)\n    show\nend\nif <(Level) = [11]> then\n    go to x: (170) y: (150)\n    show\nend\n\n@Love, Favorite, Follow\n\nwhen flag clicked\nhide\n\nwhen I receive [credits v]\nhide\n\nwhen I receive [the end v]\ngo to x: (-140) y: (-150)\nshow\n\n@Finished Customizing Button\n\nwhen flag clicked\nhide\n\nwhen I receive [choose emoji v]\ngo to x: (95) y: (-150)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        if <(size) = [100]> then\n            repeat (10)\n                change size by (1)\n            end\n        end\n    else\n        if <not <touching (mouse-pointer v)?>> then\n            if <(size) = [110]> then\n                repeat (10)\n                    change size by (-1)\n                end\n            end\n        end\n    end\nend\n\nwhen this sprite clicked\nstop all sounds\nset [customize emoji? v] to [No]\nwait (0.02) seconds\nbroadcast (start game v)\nhide\n\n@Mountain\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [7]> then\n    show\nelse\n    hide\nend\n\n@Moving Platform\n\nwhen flag clicked\ngo to x: (-120) y: (90)\nhide\n\nwhen I start as a clone\nshow\nif <(Level) = [5]> then\n    go to x: (-70) y: (-100)\n    repeat until <(Level) = [6]>\n        glide (3) secs to x: (130) y: (-100)\n        wait (1) seconds\n        glide (3) secs to x: (-120) y: (-100)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nif <not <(Level) = [5]>> then\n    delete this clone\nend\n\nwhen I receive [next level v]\nwait (0.1) seconds\nif <(Level) = [8]> then\n    hide\nend\nif <(Level) = [5]> then\n    hide\n    create clone of (_myself_ v)\nend\nif <(Level) = [9]> then\n    hide\nend\nif <(Level) = [6]> then\n    hide\nend\nif <(Level) = [9]> then\n    hide\nend\n\n@Screens\n\nwhen flag clicked\nswitch costume to (back screen v)\nhide\n\nwhen I receive [credits v]\nshow\nwait (20) seconds\nstop all sounds\nswitch costume to (like & favorite v)\nplay sound [Time Lapse By: TheFatRat v] until done\n\n@Congrats\n\nwhen flag clicked\nhide variable [stars v]\nhide\n\nwhen I receive [the end v]\nset [stars v] to (join (Stars) [/30])\nshow variable [stars v]\nshow\n\nwhen I receive [credits v]\nhide variable [stars v]\n\n@Choose EMOJI\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [choose emoji v]\nshow\n\nwhen I receive [start game v]\nhide\n\n@Credits\n\nwhen I receive [credits v]\ngo to x: (0) y: (-300)\ngo to [front v] layer\nshow\nglide (20) secs to x: (0) y: (215)\nhide\n\nwhen flag clicked\nhide\n\n@Credits Button\n\nwhen flag clicked\ngo to x: (175) y: (-130)\nhide\n\nwhen backdrop switches to [the end v]\ngo to x: (175) y: (-130)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        if <(size) = [100]> then\n            repeat (10)\n                change size by (1)\n            end\n        end\n    else\n        if <not <touching (mouse-pointer v)?>> then\n            if <(size) = [110]> then\n                repeat (10)\n                    change size by (-1)\n                end\n            end\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (credits v)\nhide\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (pick random (2) to (4))\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Mini Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nwait (0.2) seconds\nif <(Level) = [7]> then\n    hide\nend\n\nwhen I receive [next level v]\nwait (0.5) seconds\nif <(Level) = [6]> then\n    go to x: (-80) y: (-110)\n    set size to (100) %\n    show\nend\n\nwhen I receive [next level v]\nwait (0.5) seconds\nif <(Level) = [8]> then\n    go to x: (-160) y: (-100)\n    set size to (80) %\n    show\nend\n\nwhen I receive [next level v]\nwait (0.5) seconds\nif <(Level) = [17]> then\n    go to x: (-150) y: (-50)\n    set size to (80) %\n    show\nend\n\nwhen I receive [next level v]\nwait (0.5) seconds\nif <(Level) = [11]> then\n    go to x: (-160) y: (-90)\n    go to x: (0) y: (-90)\n    show\nend\n\nwhen I receive [next level v]\nwait (0.2) seconds\nif <(Level) = [9]> then\n    hide\nend\n\n@Updating Screen\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\nforever\n    if <not <(username) = [1TabbyCat]>> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n@Text\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start game v]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n