Greenland A Platformer || Mobile Friendly #All #Games #

Instructions: Greenland || A Platformer by @clemJ72\nMobil friendly !\n\n#9 French Popular scratch.mit.edu/explore/projects/all/popular\n\nPlease ❤️⭐️ & Follow me For More ☻  \n \n_Instructions_\n\nUse ⬆⬅➡ and don't touch the spikes, and don't swim in the lava !\n11 levels 100 % Possible \nHave Fun !\n-----Notes-----\nLast update : 02/12/2020 \n------Tags------ \n#clemJ72 #Games #All #Cool #green\n\n---Other---\n1 week of work \n \n*Credits*\n@SonicBoom777 for the amazing intro !\n@345969 \n@SuperCookii\n\n

@Stage\n\n@spikes\n\nwhen flag clicked\nforever\n    glide (0.6) secs to x: (0) y: (15)\n    glide (0.6) secs to x: (0) y: (0)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\ngo to x: (36) y: (27)\n\nforever\nend\n\n@levels\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nhide variable [level v]\nswitch costume to (1 v)\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        broadcast (End v)\n    end\nend\n\nshow variable [level v]\n\n@Platform guy\n\nwhen flag clicked\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nforever\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 (costume1 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 (costume2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels 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 <(y position) < (mouse y)>>> 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 (levels 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 [15]\n        else\n            set [y v] to [0]\n        end\n    end\nend\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: (-218) y: (-90)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (levels 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 (levels 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 <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-223) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <<touching (sprite1 v)?> or <touching (danger v)?>>> then\n        go to x: (-223) y: (-100)\n        play sound [Death v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (levels v)?> then\n        set [y v] to [21]\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    play sound [Ahxello - Frisbee v] until done\nend\n\nwhen I receive [someone pressed s key v]\nchange [level v] by (1)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\nhide\nwait (10) seconds\nshow\ngo to x: (-218) y: (-90)\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-218) y: (-106)\n\nchange [pixelate v] effect by (25)\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nshow\ngo to x: (-200) y: (0)\n\n@thumnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go to x: (1) y: (0)\nend\n\nturn right (90) degrees\n\ngo to (random position v)\n\ngo to x: (36) y: (28)\n\n@skip\n\nwhen flag clicked\nshow\nset size to (100) %\nset [zine v] to [0]\ngo to x: (217) y: (157)\nforever\n    change [zine v] by (1)\n    point in direction ((90) + (([sin v] of ((zine) * (8)) ) * (3)))\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (4))\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        repeat until <<not <touching (mouse-pointer v)?>> or <not <mouse down?>>>\n            change [zine v] by (1)\n            point in direction ((90) + (([sin v] of ((zine) * (5)) ) * (3)))\n            change size by (((90) - (size)) / (2))\n        end\n        set size to (100) %\n        wait (0) seconds\n        if <<touching (mouse-pointer v)?> and <not <([costume # v] of [levels v]) = [15]>>> then\n            broadcast (someone pressed skip button v)\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (guy v)\nset [level v] to [1]\n\nwhen I receive [someone pressed skip button v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        forever\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\nwait (9) seconds\n\nshow\n\nwhen flag clicked\nshow\nset size to (100) %\nset [zine v] to [0]\ngo to x: (217) y: (157)\n\nwhen I receive [end v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [11]> then\n        show\n    end\n    if <(level) = [3]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    change [ghost v] effect by (25)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [4]> then\n        show\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (platform guy v)?> then\n        change [ghost v] effect by (10)\n        wait () seconds\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [5]> then\n        hide\n    end\nend\n\n@Sprite3\n\n