(1.0.3) Oceania - A Platformer #Platformer #Games #TeamSeas

Instructions: Your boss has sent you on a quest to find cyan pearls so he can locate Oceania, a fabled sanctuary for sea creatures. Make it through the fun levels to find Oceania.\nControls (Important):\nUp Arrow - Jump | Left/Right Arrow - Move\nDown Arrow - Crouch | Space - Uncrouch

@Stage\n\nwhen I receive [1 v]\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [2 v]\nswitch backdrop to (backdrop4 v)\n\nwhen I receive [3 v]\nswitch backdrop to (backdrop5 v)\n\nwhen I receive [4 v]\nswitch backdrop to (backdrop6 v)\n\n@Player\n\nReset Player Position\n\ndefine touch\nif <touching color (#00fff9)?> then\n    broadcast (Complete level v) and wait\n    Reset Player Position\nend\nif <touching color (#7971ff)?> then\n    set [player speed y v] to [24]\nend\nif <touching color (#b9b9b9)?> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    Reset Player Position\nend\n\nwhen flag clicked\ngo to x: (-200) y: (-65)\nswitch backdrop to (backdrop1 v)\nset [force walk v] to [3]\nset [force gravity v] to [-1.5]\nset [force jump v] to [17]\nset [player speed x v] to [0]\nset [player speed y v] to [0]\nReset Player Position\nforever\n    Check Player Walk\n    touch\nend\n\ndefine Check Player Walk\nchange [player speed y v] by (-1)\npoint in direction (90)\nif <key (left arrow v) pressed?> then\n    set [player speed x v] to [-6.3]\nelse\n    if <key (right arrow v) pressed?> then\n        set [player speed x v] to [6.3]\n    else\n        set [player speed x v] to [0]\n    end\nend\nchange x by (Player Speed X)\nif <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n    change y by (2)\nend\nif <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n    change y by (1)\n    if <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n        change y by (1)\n        if <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n            change y by (1)\n            if <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n                change y by (-4)\n                change x by ((Player Speed X) * (-1))\n            end\n        end\n    end\nend\nchange y by (Player Speed Y)\nif <<touching color (#ccc03f)?> or <touching color (#ffef50)?>> then\n    change y by ((Player Speed Y) - ((Player Speed Y) * (2)))\n    set [player speed y v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <<touching color (#ccc03f)?> or <touching color (#ffef50)?>>> then\n    set [player speed y v] to [15]\nend\nchange y by (1)\n\ndefine Reset Player Position\nclear graphic effects\ngo to x: (-200) y: (-10)\n\nwhen flag clicked\nswitch costume to (player v)\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (player_crouch v)\n    end\n    if <key (space v) pressed?> then\n        switch costume to (player v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nbroadcast (1 v)\nswitch costume to (costume1 v)\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (2 v)\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (3 v)\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (4 v)\n    end\nend\n\nwhen I receive [complete level v]\nnext costume\n\n@Sprite2\n\nwhen flag clicked\nshow\ngo to [front v] layer\nwait (1) seconds\nhide\nforever\n    go to [front v] layer\nend\n\n@Intro\n\nwhen I start as a clone\nif <(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 [clone v] to [Particles]\nrepeat (50)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(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\nwait (1) seconds\nreset timer\nhide\nstart sound [Prismo - Stronger v]\nset volume to (100) %\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [clone v] to [Square]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [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 <(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 <(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 [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 [clone v] to [Rect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(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 <(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 [clone v] to [Circle]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [clone v] to [Circle 2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(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\n@Not mine\n\nwhen flag clicked\nhide\nforever\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [D piano v]\n    repeat (2)\n        start sound [C2 piano v]\n        wait (1) seconds\n        start sound [A piano v]\n        wait (1) seconds\n        start sound [D piano v]\n        wait (1) seconds\n        start sound [E piano v]\n        wait (1) seconds\n        start sound [A piano v]\n        wait (1) seconds\n        start sound [B piano v]\n        wait (1) seconds\n        repeat (2)\n            start sound [C2 piano v]\n            wait (1) seconds\n            start sound [A piano v]\n            wait (1) seconds\n            start sound [G piano v]\n            wait (1) seconds\n        end\n    end\n    start sound [C2 piano v]\n    repeat (10)\n        wait (1) seconds\n        start sound [B piano v]\n        wait (1) seconds\n        start sound [A piano v]\n        wait (1) seconds\n        start sound [G piano v]\n        wait (1) seconds\n        start sound [F piano v]\n        wait (1) seconds\n        start sound [E piano v]\n        wait (1) seconds\n        start sound [D piano v]\n        wait (1) seconds\n        start sound [C piano v]\n        wait (1) seconds\n        start sound [A piano v]\n    end\n    start sound [F piano v]\n    wait (1) seconds\n    start sound [G piano v]\n    repeat (5)\n        wait (1) seconds\n        start sound [C2 piano v]\n    end\n    wait (1) seconds\n    start sound [A piano v]\n    wait (1) seconds\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [A piano v]\n    repeat (5)\n        wait (1) seconds\n        start sound [E piano v]\n        start sound [A piano v]\n        start sound [C piano v]\n    end\n    wait (1) seconds\n    start sound [B piano v]\n    wait (1) seconds\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [C2 piano v]\n    wait (1) seconds\n    start sound [E piano v]\n    wait (1) seconds\n    start sound [A piano v]\n    wait (1) seconds\n    start sound [D piano v]\n    wait (1) seconds\n    start sound [F piano v]\n    wait (1) seconds\n    start sound [E piano v]\n    wait (1) seconds\n    start sound [G piano v]\n    wait (1) seconds\n    start sound [C2 piano v]\n    wait (1) seconds\n    start sound [G piano v]\n    wait (1) seconds\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [B piano v]\n    wait (1) seconds\n    start sound [C2 piano v]\n    wait (1) seconds\n    start sound [D piano v]\n    wait (1) seconds\n    start sound [C2 piano v]\n    wait (1) seconds\n    start sound [E piano v]\n    wait (1) seconds\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [C piano v]\n    wait (1) seconds\n    start sound [C piano v]\nend\n\n