Soda - A Platformer #All #Games
@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    set [color v] effect to (effect)\nend\n\nwhen flag clicked\nset [effect v] to [0]\nforever\n    change [effect v] by (1)\nend\n\nwhen flag clicked\nset volume to (70) %\nforever\n    play sound [Nightcore - Faded v] until done\nend\n\n@Bubbles\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (pick random (-240) to (240)) y: (-180)\nswitch costume to (pick random (1) to (2))\npoint in direction (90)\nshow\nif <(costume [number v]) = [1]> then\n    go to [back v] layer\n    repeat until <(y position) = [180]>\n        change y by (5)\n    end\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        go to [back v] layer\n        go [forward v] (1) layers\n        repeat until <(y position) = [180]>\n            change y by (10)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    set [color v] effect to (effect)\nend\n\n@Platforms\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (effect)\nend\n\n@Player\n\nwhen flag clicked\nbroadcast (Start Game / Reset v)\nshow\n\ndefine Platformer Engine\nchange [y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [x v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x v] by (2)\nend\nset [x v] to ((x) * (0.7))\nchange x by (x)\nif <touching (platforms v)?> then\n    change y by (1)\n    if <touching (platforms v)?> then\n        change y by (1)\n        if <touching (platforms v)?> then\n            change y by (1)\n            if <touching (platforms v)?> then\n                change y by (1)\n                if <touching (platforms v)?> then\n                    change y by (1)\n                    if <touching (platforms v)?> then\n                        change y by (1)\n                        if <touching (platforms v)?> then\n                            change y by (1)\n                            if <touching (platforms v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (platforms v)?> then\n    change y by (-8)\n    repeat until <not <touching (platforms v)?>>\n        change x by ((x) * (-1))\n    end\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 [16]\n        else\n            set [x v] to [-16]\n        end\n    else\n        set [x v] to [0]\n    end\nend\nchange y by (y)\nif <touching (platforms v)?> then\n    repeat until <not <touching (platforms v)?>>\n        change y by ((y) * (-1))\n    end\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (platforms v)?>> then\n    set [y v] to [14]\nend\nchange y by (1)\n\nwhen I receive [start game / reset v]\nset [y v] to [0]\nset [x v] to [0]\nif <(level) = [13]> then\n    go to x: (-200) y: (-50)\nelse\n    go to x: (-200) y: (-25)\nend\nset rotation style [left-right v]\nforever\n    Platformer Engine\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        set [ghost v] effect to (100)\n        create clone of (_myself_ v)\n        wait (0.5) seconds\n        broadcast (Start Game / Reset v)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (_edge_ v)?> and <[200] < (x position)>> then\n        if <not <(level) = [21]>> then\n            hide\n            broadcast (Next Level! v) and wait\n            broadcast (Start Game / Reset v)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <<<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> or <<key (d v) pressed?> and <key (w v) pressed?>>> then\n            switch costume to (up - right v)\n        else\n            if <<<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> or <<key (a v) pressed?> and <key (w v) pressed?>>> then\n                switch costume to (up - left v)\n            else\n                switch costume to (up v)\n            end\n        end\n    else\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            switch costume to (right v)\n        else\n            if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n                switch costume to (left v)\n            else\n                switch costume to (- v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (effect)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    set [color v] effect to (effect)\nend\n\nwhen flag clicked\nforever\n    if <(y position) = [-184]> then\n        broadcast (Start Game / Reset v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jump pads v)?> then\n        set [y v] to [21]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <<(username) = [CoolestStudios]> and <key (space v) pressed?>> then\n        wait until <not <key (space v) pressed?>>\n        change [level v] by (1)\n        broadcast (Start Game / Reset v)\n    end\nend\n\n@Texts\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [18]> or <(level) = [20]>> then\n        set [color v] effect to (effect)\n    else\n        set [color v] effect to (0)\n    end\nend\n\n@Next Level!\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next level! v]\nif <(level) = [20]> then\n    switch costume to (kostüm 2 v)\nelse\n    switch costume to (kostüm 1 v)\nend\nset [ghost v] effect to (100)\nshow\ngo to x: (0) y: (0)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nchange [level v] by (1)\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nhide\nforever\n    set [color v] effect to (effect)\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (effect)\nend\n\n@jump pads\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    set [color v] effect to (effect)\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (timer)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen [timer v] > (timer)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n
SODA || A PLATFORMER\n▶ Arrow keys or WASD to move.\n▶ Avoid spikes, dont fall.\n▶ Touch jump-pad to jump higher.\n▶ You can do walljump.\n▶ Pass all levels to win!\n\nCREDITS\n▶ %100 by me.\n▶ %0 by another scratcher :P\n▶ Thanks @DincProductions because he found a BIG BUG.\n▶ Music: Nightcore - Faded\n\nDONT FORGET\n▶ If you like it, dont forget to like, favourite and follow me! :P\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games #All #Games 