Explorer || A Mobile Friendly Platformer #Games #Trending

Instructions: I Spent 2.5 days Long making this project!\nplease ❤️ and ⭐ to show your support and show you liked this.\nIf this can get 50 ❤️ I will make a part two.\nStory:\nYou have joined someone on an adventure to faraway lands. You must face many dangers on the way but the reward will be worth it.\n

@Stage\n\n@Thumbnail\n\nwhen [timer v] > (timer)\nshow\nrepeat until <(round (x position)) = [0]>\n    change x by (((0) - (x position)) / (5))\nend\nset x to (0)\n\nwhen flag clicked\nreset timer\nhide\ngo to x: (-480) y: (0)\nforever\n    set [timer v] to ((timer) + (0.1))\nend\n\n@Ground\n\nwhen flag clicked\nswitch costume to (de ground v)\n\nwhen I receive [next level v]\nnext costume\n\n@Player\n\nwhen flag clicked\nbroadcast (Restart v)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> 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 (ground v)?> 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?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\nend\n\nwhen I receive [restart v]\ngo to x: (-211) y: (7)\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <(x position) > [230]> then\n        broadcast (Restart v)\n        change [level v] by (1)\n        broadcast (Clone Refresh v)\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <(y position) < [-175]>> then\n        broadcast (Restart v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (1.5)\n        end\n        if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n            change [y v] by (-1.5)\n        end\n        change [y v] by (1.5)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to ([costume # v] of [ground v])\nend\n\n@Trampoline\n\nwhen flag clicked\nwait (0.01) seconds\nforever\n    if <(Level) = [11]> then\n        show\n        go to x: (-17) y: (13)\n    end\nend\n\nwhen I receive [clone refresh v]\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.01) seconds\nforever\n    if <(Level) = [12]> then\n        show\n        go to x: (-120) y: (13)\n    end\nend\n\nwhen I start as a clone\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        repeat (7)\n            next costume\n        end\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I start as a clone\n\nwhen flag clicked\nwait (0.01) seconds\nforever\n    if <(Level) = [13]> then\n        hide\n    end\nend\n\n@Water\n\nwhen I start as a clone\nforever\n    show\n    go to x: (0) y: (0)\n    switch costume to ([costume # v] of [ground v])\n    set [ghost v] effect to ((Clone ID) * (10))\n    set y to (((([sin v] of (((timer) + (Clone ID)) * (300)) ) * (8)) - ((Clone ID) * (5))) * (1.2))\nend\n\nwhen flag clicked\nwait (0.01) seconds\nSetup Water Clones\ngo to [back v] layer\n\ndefine Setup Water Clones\nshow\nswitch costume to (costume1 v)\nclear graphic effects\nset [clone id v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change [clone id v] by (1)\n    change [color v] effect by (2)\nend\nhide\n\n@Text \n\nwhen flag clicked\nforever\n    switch costume to ([costume # v] of [ground v])\nend\n\n@Button Skip\n\nwhen this sprite clicked\nif <(Level) < [16]> then\n    change [cloning help v] by (1)\n    broadcast (Clone Refresh v)\n    broadcast (Restart v)\n    broadcast (Next Level v)\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [touch skip v] to [1]\n    else\n        set [touch skip v] to [0]\n    end\nend\n\n@Help UI\n\nwhen flag clicked\nset [ghost v] effect to (50)\nset size to (50) %\nforever\n    if <(Touch Skip) = [1]> then\n        switch costume to (costume1 v)\n        show\n    else\n        if <(Touch Retry) = [1]> then\n            switch costume to (costume2 v)\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\nend\n\n@Button Restart\n\nwhen this sprite clicked\nif <(Level) < [16]> then\n    broadcast (Restart v)\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [touch retry v] to [1]\n    else\n        set [touch retry v] to [0]\n    end\nend\n\n