Flowing || A multiplayer Platformer
@Stage\n\n@Border\n\nwhen I receive [message1 v]\nwait (0.01) seconds\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen flag clicked\nforever\n    play sound [Ocean deep v] until done\nend\n\nwhen I receive [the end v]\nhide\n\n@Explorer\n\nwhen I receive [message1 v]\ndetect floor\nset size to (50) %\nswitch backdrop to (backdrop3 v)\nshow\nshow\nset [scroll-xway v] to [60]\ngo to x: (0) y: (0)\nforever\n    if <key (left arrow v) pressed?> then\n        change [scroll-xway v] by (5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [scroll-xway v] by (-5)\n    end\nend\n\nwhen I receive [message1 v]\nshow\nforever\n    if <not <<(y position) > [160]> or <(y position) = [160]>>> then\n        if <key (up arrow v) pressed?> then\n            set [y pull v] to [5]\n        end\n    end\n    if <<(y position) > [160]> or <(y position) = [160]>> then\n        set y to (159)\n    end\nend\n\nwhen I receive [message1 v]\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (-1 life v)\n    end\n    if <touching color (#212226)?> then\n        broadcast (-1 life v)\n    end\nend\n\nswitch backdrop to (backdrop2 v)\n\nhide\nhide\n\ndefine detect floor\nrepeat until <not <touching color (#c1c04d)?>>\n    change y by (1)\n    set [y pull v] to [0]\nend\nrepeat until <not <touching color (#c1c04d)?>>\n    change y by (1)\n    set [y pull v] to [0]\nend\n\nwhen I receive [death v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen [down arrow v] key pressed\nswitch costume to (crawling v)\n\nwhen I receive [message1 v]\nswitch costume to (submarine v)\nwait (1) seconds\nswitch costume to (walking v)\n\nwhen I receive [message1 v]\nforever\n    change [y pull v] by (-1)\n    change y by (Y pull)\n    detect floor\nend\n\nwhen I receive [message1 v]\nforever\n    if <<touching color (#7ae519)?> or <<touching color (#75cb25)?> or <touching color (#76cc39)?>>> then\n        broadcast (TRASH! v)\n    end\nend\n\nwhen [e v] key pressed\nshow\n\nwhen [down arrow v] key pressed\nswitch costume to (crawling v)\nplay sound [Water Drop v] until done\n\nwhen [up arrow v] key pressed\nplay sound [Water Drop v] until done\n\nwhen I receive [message1 v]\nplay sound [Plunge v] until done\n\nwhen flag clicked\nforever\n    play sound [Beach Waves-SoundBible.com-1024681188 v] until done\nend\n\nwhen [up arrow v] key pressed\nswitch costume to (walking v)\n\nwhen I receive [message1 v]\ngo to [front v] layer\nforever\n    if <touching color (#02c700)?> then\n        broadcast (THE END v)\n        play sound [Win v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n        play sound [Space Noise v] until done\n    end\nend\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [all lives gone v]\nswitch backdrop to (backdrop2 v)\nhide\n\nwhen I receive [all lives gone v]\n\n@Play\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (message1 v)\nhide\n\nwhen I receive [the end v]\nhide\n\n@Ground1\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (0)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground2\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (1)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground3\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (2)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Fish!\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\ngo to [front v] layer\ngo [backward v] (1) layers\nset size to (50) %\ngo to x: (264) y: (15)\nforever\n    wait (pick random (15) to (30)) seconds\n    show\n    glide (2) secs to x: (-190) y: (15)\n    hide\n    go to x: (264) y: (15)\nend\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\nwhen I receive [death v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground4\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (3)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground5\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (4)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground6\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (2) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (5)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Trash :(\n\nwhen flag clicked\nhide\n\nwhen I receive [trash! v]\ngo to x: (82) y: (-125)\ngo to [front v] layer\nshow\n\nwhen this sprite clicked\nhide\nplay sound [Magic Spell v] until done\nnext costume\n\n@Ground7\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (6)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@DEATH\n\nwhen flag clicked\nhide\n\nplay sound [Lose v] until done\n\nwhen I receive [all lives gone v]\nshow\nstop [all v]\n\nwhen I receive [the end v]\nhide\n\nplay sound [Lose v] until done\n\n@Ground8\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (7)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground9\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (8)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground10\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (9)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground11\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (10)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@hole in the ship\n\nwhen I receive [message1 v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nforever\n    set x to ((SCROLL-xway) + ((480) * (10)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [death v]\nhide\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\nplay sound [Ship Bell v] until done\n\nwhen I receive [the end v]\nhide\n\n@Ground12\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (11)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground13\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (3) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (12)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground14\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (2) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (13)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground15\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (14)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@Ground16\n\nwhen I receive [message1 v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (1) layers\nforever\n    set x to ((SCROLL-xway) + ((480) * (15)))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nhide\n\nwhen I receive [death v]\nhide\n\n@data\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nswitch costume to (costume1 v)\nshow\ngo to x: (0) y: (0)\n\nwhen [space v] key pressed\nnext costume\n\n@Lives\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [message1 v]\nshow\ngo to x: (130) y: (-90)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [message1 v]\nset [current costume v] to [3]\n\nwhen I receive [-1 life v]\nwait (.01) seconds\nchange [current costume v] by (-1)\nplay sound [B Trumpet v] until done\nwait (2) seconds\n\nswitch costume to ((costume [number v]) - (1))\n\nswitch costume to (3 lives remaining v)\n\nwhen I receive [message1 v]\nshow\nforever\n    if <(Current costume) = [3]> then\n        switch costume to (3 lives remaining v)\n    end\n    if <(Current costume) = [2]> then\n        switch costume to (2 lives remaining v)\n    end\n    if <(Current costume) = [1]> then\n        switch costume to (1 life remaining v)\n    end\n    if <(Current costume) = [0]> then\n        switch costume to (0 lives remaining v)\n        broadcast (All lives gone v)\n    end\nend\n\nstop [this script v]\n\nif <(Current costume) = [3]> then\n    switch costume to (3 lives remaining v)\nend\nif <(Current costume) = [2]> then\n    switch costume to (2 lives remaining v)\nend\nif <(Current costume) = [1]> then\n    switch costume to (1 life remaining v)\nend\nif <(Current costume) = [0]> then\n    switch costume to (0 lives remaining v)\n    broadcast (All lives gone v)\nend\n\n
[English]\nThis time the platformer is\n"Survival Platformer"!\nSurviving longer becomes more important.\nThere are 5 types of levels and 20 types of gimmicks! ?\nHow long can you survive?\nHow to use: Cross key operation\nMobile compatible\n\n[日本語]\n今回のプラットフォーマーは\n「サバイバルプラットフォーマー」！\nより長く生き残ることが重要になっていきます。\nレベルは全5種類、ギミックは全20種類！？\n果たして君はどれだけ生き残れるかな？\n使い方：十字キー操作\n　　　　一応モバイル対応