Dry | Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nforever\n    play sound [4 v] until done\nend\n\nforever\n    play sound [4 v] until done\nend\n\nforever\n    play sound [4 v] until done\nend\n\nwhen flag clicked\nstop all sounds\nforever\n    play sound [4 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (thumb_drop v)\nwait (4) seconds\nnext backdrop\n\n@Cube\n\nwhen flag clicked\nset rotation style [left-right v]\nset [y velocity v] to [0]\nforever\n    change [y velocity v] by (-2)\n    change y by (y velocity)\n    change [in air v] by (1)\n    handle ground <(y velocity) > [0]>\nend\n\nwhen flag clicked\nforever\n    if <not <touching (water v)?>> then\n        if <key (left arrow v) pressed?> then\n            point in direction (-90)\n            walk [-6]\n        end\n        if <key (right arrow v) pressed?> then\n            point in direction (90)\n            walk [6]\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(y position) < [-170]> then\n        switch costume to (costume2 v)\n        set [y velocity v] to [0]\n        play sound [Crunch v] until done\n        wait (0.2) seconds\n        go to x: (-201) y: (-50)\n        switch costume to (costume1 v)\n    end\nend\n\ndefine handle ground <moving up>\nrepeat until <not <touching (ground v)?>>\n    if <moving up> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [in air v] to [0]\n    end\n    set [y velocity v] to [0]\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching (ground v)?>> or <(ground lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(ground lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nforever\n    if <not <touching (water v)?>> then\n        if <<key (up arrow v) pressed?> and <(in air) < [8]>> then\n            set [y velocity v] to [14]\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-201) y: (-50)\nforever\n    if <touching (water v)?> then\n        switch costume to (costume2 v)\n        set [y velocity v] to [0]\n        play sound [Crunch v] until done\n        set volume to (0) %\n        wait (0.2) seconds\n        go to x: (-201) y: (-50)\n        switch costume to (costume1 v)\n        wait (0.5) seconds\n        set volume to (100) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) < [8]> and <(x position) > [228]>> then\n        broadcast (level v)\n        go to x: (-201) y: (-50)\n    end\n    if <(backdrop [number v]) = [8]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\nforever\n    if <touching (bounce v)?> then\n        set [y velocity v] to [26]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(y position) > [179]> and <touching (ground v)?>> then\n        go to x: (-201) y: (-50)\n    end\nend\n\nhide\n\nset [ghost v] effect to (100)\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [level v]\nnext costume\nnext backdrop\n\ngo to [front v] layer\ngo to [back v] layer\n\n@water\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [level v]\nnext costume\n\ngo [backward v] (1) layers\n\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.4)\nshow\n\nwhen flag clicked\nhide variable [high score time v]\nset [timer v] to [0]\nrepeat until <(backdrop [number v]) = [8]>\n    change [timer v] by (0.1)\n    wait (0.1) seconds\nend\n\nshow\n\n@background cover\n\nwhen flag clicked\nset [ghost_background v] to [20]\nset [ghost v] effect to (20)\ngo to [back v] layer\n\nwhen I receive [level v]\nchange [ghost v] effect by (10)\nchange [ghost_background v] by (10)\n\n@Stamp\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nforever\n    create clone of (_myself_ v)\nend\n\nwait (0.1) seconds\n\nwhen I start as a clone\nset size to (40) %\ngo to [back v] layer\nset [ghost v] effect to (0)\ngo to (cube v)\nrepeat until <(size) < [15]>\n    change [ghost v] effect by (5)\n    change size by (-3)\nend\ndelete this clone\n\nhide\n\nrepeat (20)\nend\n\n@Bounce\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [level v]\nnext costume\n\nhide\n\n@logo\n\nwhen flag clicked\ngo to [front v] layer\nclear graphic effects\ngo to x: (0) y: (0)\nwait (1) seconds\nrepeat (50)\n    change [pixelate v] effect by (2)\n    change [ghost v] effect by (2)\nend\n\n
Very easy and simple platformer. Got lots of inspiration from Lava by @SaltyCreeper67. Green pads make you bounce. Arrow keys to move. Water makes you harden and sink...\n\n♡, ☆, Follow please.\n\nIf you search "platformer" this game is on the first trending page.\n\n#games #platformer #fun #nonmobile #hopefullytrending