WaterFall - The Platformer (ADDn Version)
@Stage\n\n@Oyuncu\n\nwhen flag clicked\nset size to (75) %\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (-50)\nset [level v] to [1]\nset [x v] to [0]\nset [y2 v] to [0]\npoint in direction (90)\nforever\n    change [y2 v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (costume2 v)\n        change [x v] by (-0.7)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume1 v)\n        change [x v] by (0.7)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y2 v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y2)\n    if <touching (platform v)?> then\n        change y by ((0) - (y2))\n        set [y2 v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (platform v)?>> then\n        set [y2 v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y2 v] to [0]\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <<key (b v) pressed?> or <touching (engeller v)?>> then\n        go to x: (-180) y: (-50)\n        broadcast (dead v)\n    end\n    if <(x position) > [240]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [level v] by (1)\n    end\n    if <(Level) = [15]> then\n        broadcast (end v)\n        stop [other scripts in sprite v]\n    end\nend\n\n@Engeller\n\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (1 v)\n\n@Platform\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\ngo to x: (36) y: (28)\nshow\ngo to [front v] layer\nswitch costume to (2 v)\n\n@thumb\n\nwhen flag clicked\nhide\nforever\n    change [ghost v] effect by (12)\nend\n\n
currently broken project :(\nfollow @fluffydog1000\nhttps://scratch.mit.edu/projects/647059828/\nYou're controlling an army of ninjas.\nadded new level \nYou know the drill. If you've used scratch before you probably know what you're getting into here. But, in case you haven't, on a computer: use arrow keys or WASD to move. On a phone, I pad, or any other mobile device that doesn't have a keyboard, use your finger.