Ocean - A Platformer 2 (MOBILE FRIENDLY) #games #all #platformers #trending

Instructions: sheesh a 10 year old like me getting 84000+ views? lol\nREAD FIRST:\nOCEAN 2 YAY!\n(oh wow it got on the what the community is loving page again dayummm)\nuhh it kinda sucks more than the previous one ._.\noriginal made by @bold-remix\nW, A, S, D, arrow keys or mobile to move\nLIKE AND FAV TO GET A MYSTERY SKIN!(random)\nNEW PLATFORMER: https://scratch.mit.edu/projects/950695101/

@Stage\n\nwhen flag clicked\nforever\n    play sound [Pokémon Sword & Shield - Slumbering Weald Theme v] until done\nend\n\n@Player\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset rotation style [left-right v]\ngo to x: (-180) y: (-50)\nset [level v] to [1]\nset [x v] to [0]\nset [y v] to [15]\npoint in direction (90)\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        point in direction (-90)\n        change [x v] by (-0.8)\n        create clone of (_myself_ v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (0.8)\n        create clone of (_myself_ v)\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 (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\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 ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y v] to [15]\n        create clone of (_myself_ v)\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y v] to [0]\n    end\n    if <(x position) > [205]> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-180) y: (-50)\n        set [y v] to [15]\n    end\n    if <<touching (water/spikes v)?> or <touching (fish v)?>> then\n        go to x: (-180) y: (-50)\n        set [y v] to [15]\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [17]\n    end\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [skin v]\nswitch costume to (pick random (3) to (5))\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Text\n\nwhen flag clicked\ngo to x: (0) y: (119)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Water/Spikes\n\nwhen flag clicked\ngo to x: (36) y: (38)\nswitch costume to (costume1 v)\ngo to [back v] layer\nforever\n    repeat (5)\n        change y by (2)\n        wait (0.05) seconds\n    end\n    repeat (5)\n        change y by (-2)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Trampoline\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (-123) y: (-68)\n\nwhen I receive [next level v]\nnext costume\n\n@Follow Thingy\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    wait (pick random (15) to (20)) seconds\n    switch costume to (reminder v)\n    go to x: (0) y: (105)\n    show\n    go to [front v] layer\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\n@Thumb\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Actions \(love/fave\)) = [2]> then\n        broadcast (Skin v)\n        set [actions \(love/fave\) v] to [1]\n    end\nend\n\n@Effect\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (10)\n\n@Fish\n\nwhen flag clicked\ngo to x: (84) y: (-52)\nset rotation style [left-right v]\nswitch costume to (costume1 v)\nforever\n    point in direction (90)\n    glide (0.5) secs to x: (1) y: (-65)\n    wait (1) seconds\n    point in direction (-90)\n    glide (0.5) secs to x: (84) y: (-65)\n    wait (1) seconds\nend\n\nwhen I receive [next level v]\nnext costume\n\n