Water~a~Platformer
@Stage\n\n@Player\n\nwhen flag clicked\ngo to x: (-216) y: (-4)\nswitch costume to (costume1 v)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.87))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (-6)\n                                if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (level v)?>> then\n        set [y v] to [13.2]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [236]> then\n        broadcast (Next Level v)\n        go to x: (-216) y: (-64)\n    end\n    if <touching (danger v)?> then\n        go to x: (-216) y: (-64)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Magic v] until done\nend\n\n@Level\n\nwhen flag clicked\ngo to x: (2) y: (-4)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Danger\n\nwhen flag clicked\ngo to x: (2) y: (-4)\nforever\n    switch costume to ([costume # v] of [level v])\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n
WASD or arrow keys to move.\n\nIt can be a bit trickier to play this.