Blobs Journey || A Mobile friendly platformer #Games #All
@Stage\n\n@Blob\n\nwhen flag clicked\n\ndefine Reset\ngo to x: (-230) y: (-64)\n\nwhen I receive [message1 v]\nshow\nReset\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > [0]> and <mouse down?>>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<[0] > (mouse x)> and <mouse down?>>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (grass v)?> then\n        change y by (1)\n    end\n    if <touching (grass v)?> then\n        change y by (1)\n    end\n    if <touching (grass v)?> then\n        change y by (1)\n    end\n    if <touching (grass v)?> then\n        change y by (1)\n        if <touching (grass v)?> then\n            change x by ((Xv) * (-1))\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n                if <(Xv) > [0]> then\n                    set [xv v] to [-10]\n                else\n                    set [xv v] to [10]\n                end\n                set [yv v] to [15]\n            else\n                set [xv v] to [0]\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (grass v)?> then\n        change y by ((Yv) - ((Yv) * (2)))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (grass v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        Reset\n    end\n    if <touching (sprite2 v)?> then\n        Reset\n    end\n    if <touching (saw2 v)?> then\n        Reset\n    end\n    if <touching (saw v)?> then\n        Reset\n    end\n    if <(x position) > [238]> then\n        change [level v] by (1)\n        Reset\n    end\nend\n\n@Grass\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Clouds\n\nwhen flag clicked\nset size to (50) %\nhide\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [front v] layer\nshow\ngo to x: (300) y: (pick random (80) to (160))\npoint in direction (-90)\nset [ghost v] effect to (150)\nrepeat (5)\n    change [ghost v] effect by (-15)\nend\nrepeat until <(x position) < [-220]>\n    move (2.5) steps\nend\ndelete this clone\n\nwhen I receive [message1 v]\nforever\n    wait (3) seconds\n    create clone of (_myself_ v)\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@Advertiser\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Loved) = [1]> and <(Faved) = [1]>>> then\n        wait (pick random (20) to (25)) seconds\n        switch costume to (costume1 v)\n        go to x: (100) y: (-300)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (4)\n        end\n        repeat (5)\n            change y by (-3)\n        end\n        repeat (5)\n            change y by (1)\n        end\n        wait (4) seconds\n        repeat (10)\n            change y by (-7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\n@decor\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\ngo to [back v] layer\n\n@saw\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    turn right (15) degrees\nend\n\ngo to [back v] layer\n\n@saw2\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    turn right (15) degrees\nend\n\ngo to [back v] layer\n\n@Music\n\nwhen flag clicked\nforever\n    play sound [01-01- Windfall.mp3 v] until done\nend\n\n@Thumbnail\n\nwhen flag clicked\nbroadcast (message1 v)\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n
<-----------------------> A Blobs Journey <----------------------->\nWelcome to the game called "A Blobs Journey" \n========================================\n- In this game you have to use W.A.S.D or the arrow keys to move\n- Use the W or the Up Arrow key to jump\n-Avoid contact with any spikes or lava\n----------------------------------------------------------------------------(Update Log)\nUpdate 1.0 : 2 more levels and some spikes\nUpdate 1.1 : New Advertiser (Pops up every 20 - 25 seconds)\nUpdate 1.2 : 3 new levels and some lava\nUpdate 1.3 : A Thumbnail and 1 more level\nUpdate 1.4 : Added Tall grass\nUpdate 1.5 : New look for the grass\nUpdate 1.6 : 3 more levels and a Saw\nUpdate 1.7 : 1 more level and a new Thumbnail